Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better checks and sanitation of the diverse configuration parameters #20

Open
tcrivat opened this issue May 15, 2014 · 1 comment
Open

Comments

@tcrivat
Copy link
Contributor

tcrivat commented May 15, 2014

When installing ConPaaS for the first time, many difficulties are caused by the user entering improper or missing values in the different configuration files. This can be counteracted by a more detailed installation guide. However, I think that a simple script that validates the configurations and suggests the user specific actions in solving the possible problems could be of great use.

Some examples of possible configuration problems that are hard to figure out by the user but can be easily checked by a script:

  • The OCCI URL contains localhost, so it will only be accessible from the director but not from the managers that run on different VMs. For the user, this causes an error ("Connection refused") when actually starting a service, after the manager was already successfully started.
  • The version of OpenNebula that should be used. Version incompatibilities may create different non-suggestive exceptions; the user has no way of figuring out the real problem. This is exacerbated by the fact that the latest version of OpenNebula isn't supported (although it works well if version 3.8 is specified instead).
  • The configurations in conpaas/config.php. If this file is missing, the login page is completely empty. If it is present but contains wrong values, the login page is shown but does not contain the actual login form where the user can enter the credentials.
  • At least one cloud provider is configured in director.cfg etc. (throws array index out of bounds exception).
@gpierre42 gpierre42 added this to the ConPaaS-1.5.0 milestone May 22, 2014
@schevalier schevalier self-assigned this May 25, 2014
@schevalier
Copy link
Contributor

checks to be added on cpscheck, cpsconf, cpsadduser scripts
as libcloud, python versions, virtualenv checks or some small last-minute fixes/patches : add-uuid-column-to-db.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants