[ https://issues.apache.org/jira/browse/CLOUDSTACK-1147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13571679#comment-13571679 ]
Wido den Hollander commented on CLOUDSTACK-1147: ------------------------------------------------ The current shape the scripts are in is horrible, they have all kinds of dead code in them and a bunch of Python dependencies. It could easily be rewritten in BASH to make it all easier. True, but that should be the goal. These scripts should not be mandatory, since a lot of admins will use Puppet or Chef to provision their systems (mainly hypervisors). Wido > cloud-setup-* should be removed > ------------------------------- > > Key: CLOUDSTACK-1147 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1147 > Project: CloudStack > Issue Type: Improvement > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Install and Setup > Affects Versions: 4.0.0 > Reporter: Wido den Hollander > Fix For: 4.2.0 > > > The tools like cloud-setup-databases, cloud-setup-management and > cloud-setup-agent seem to come from the vmops/cloud.com time where CloudStack > used to be a black box appliance. > Now more and more people start using CloudStack I'm seeing all kinds of > criticism on these tools: > - They change files without telling the admin > - They punch wholes through firewalls > Those are two things which make sysadmins cry, especially if they want to > manage their systems with Puppet or Chef. > The steps for setting up an Agent are actually not that big and most of them > are actually already documented. > When a host is added through the GUI we shouldn't run cloud-setup-agent, but > we should just check if the host is ready to be added and bail out if not. > (And tell why) > The same goes for the management server and databases. > The databases is just a matter of importing the correct SQL files into the > databases and populating db.properties with the correct credentials. > Setting up the management server is also just a matter of creating the > correct configuration files, firewalling ports and setting sudo permissions. > We should tell system administrators what it is that he/she has to configure, > not just do things without telling. > Documentation is key here I think. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira