Bug 892247
Summary: | Provide --all-in-one parameter to Packstack | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Perry Myers <pmyers> |
Component: | openstack-packstack | Assignee: | Martin Magr <mmagr> |
Status: | CLOSED ERRATA | QA Contact: | Nir Magnezi <nmagnezi> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 2.0 (Folsom) | CC: | aortega, derekh, ykaul |
Target Milestone: | snapshot4 | Keywords: | Improvement, Triaged |
Target Release: | 2.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openstack-packstack-2012.2.3-0.1.dev454 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-03-21 18:22:59 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Perry Myers
2013-01-06 05:19:22 UTC
From an offline email thread: nmagnezi: > IMHO, (and following to our discussion in Bug #890841), I think that we > should use a "real" IP Address instead of 127.0.0.1, Just in case the > user would like to add some more nodes to his openstack system. > > This might be relevant even for PoC setup at some point. > what do you think? I think it should be optional but not required... you might be doing a PoC setup on a machine w/o a real IP address at all. Or on one where eth0 IP address is dynamic and will change from boot to boot. So --all-in-one should default to 127.0.0.1 but maybe --all-in-one also takes an optional argument like: --all-in-one=192.168.1.1 to indicate that you want to use a real ip address instead of loopback New addition submitted upstream https://review.openstack.org/#/c/21894 This commit adds an option to facilitate people trying to install openstack in a single step without first generating an answerfile Users can run the command $ packstack --install-hosts=192.168.0.22,192.168.0.31 If a singe host is supplied then an all in one setup will be installed, if multiple hosts are provided, then the first will be a controler and the others will become nova compute nodes. For all of the other value defaults are used unless supplied in the command line e.g. $ packstack --install-hosts=192.168.0.22,192.168.0.31 --novacompute-privif=eth0 \ --novanetwork-pubif=eth0 --novanetwork-privif=eth0 An answerfile is also generated, this should be used if packstack needs to be run again Verified NVR: openstack-packstack-2012.2.3-0.1.dev454.el6ost.noarch Verified 2 Setups: 1. all-in-one: packstack --install-hosts=<IP Address> --novacompute-privif=eth0 \ --novanetwork-pubif=eth0 --novanetwork-privif=eth1 2. 1 Cloud Controller + 1 Compute Node packstack --install-hosts=1<IP Address #1>,<IP Address #2> --novacompute-privif=eth0 \ --novanetwork-pubif=eth0 --novanetwork-privif=eth1 Both Worked as expected, proper answers file created. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0671.html |