Bug 1141125
| Summary: | swiftloopback vs swift_loopback in packstack python/puppet | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Marko Myllynen <myllynen> |
| Component: | openstack-packstack | Assignee: | Gaƫl Chamoulaud <gchamoul> |
| Status: | CLOSED ERRATA | QA Contact: | Prasanth Anbalagan <panbalag> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.0 (RHEL 7) | CC: | aberezin, aortega, derekh, gchamoul, ichavero, mmagr, nlevinki, sasha, scohen, slong, yeylon |
| Target Milestone: | z4 | Keywords: | ZStream |
| Target Release: | 5.0 (RHEL 7) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-packstack-2014.1.1-0.45.dev1279.el7ost | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-04-16 14:02:44 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: | |||
can i have qe ack for this bug? Thanks! To verify this bug just check that /srv/node/swiftloopback is not present after an --allinone run. Packstack creates only one loopback device (swiftloopback) for swift instead of two. Hence moving the bug to verified. LOGS ===== [root@lynx13 ~]# packstack --allinone Welcome to Installer setup utility Packstack changed given value to required value /root/.ssh/id_rsa.pub Installing: Clean Up [ DONE ] Setting up ssh keys [ DONE ] Discovering hosts' details [ DONE ] Adding pre install manifest entries [ DONE ] Preparing servers [ DONE ] Adding AMQP manifest entries [ DONE ] Adding MariaDB manifest entries [ DONE ] Adding Keystone manifest entries [ DONE ] Adding Glance Keystone manifest entries [ DONE ] Adding Glance manifest entries [ DONE ] Adding Cinder Keystone manifest entries [ DONE ] Adding Cinder manifest entries [ DONE ] Checking if the Cinder server has a cinder-volumes vg[ DONE ] Adding Nova API manifest entries [ DONE ] Adding Nova Keystone manifest entries [ DONE ] Adding Nova Cert manifest entries [ DONE ] Adding Nova Conductor manifest entries [ DONE ] Creating ssh keys for Nova migration [ DONE ] Gathering ssh host keys for Nova migration [ DONE ] Adding Nova Compute manifest entries [ DONE ] Adding Nova Scheduler manifest entries [ DONE ] Adding Nova VNC Proxy manifest entries [ DONE ] Adding Openstack Network-related Nova manifest entries[ DONE ] Adding Nova Common manifest entries [ DONE ] Adding Neutron API manifest entries [ DONE ] Adding Neutron Keystone manifest entries [ DONE ] Adding Neutron L3 manifest entries [ DONE ] Adding Neutron L2 Agent manifest entries [ DONE ] Adding Neutron DHCP Agent manifest entries [ DONE ] Adding Neutron LBaaS Agent manifest entries [ DONE ] Adding Neutron Metering Agent manifest entries [ DONE ] Adding Neutron Metadata Agent manifest entries [ DONE ] Checking if NetworkManager is enabled and running [ DONE ] Adding OpenStack Client manifest entries [ DONE ] Adding Horizon manifest entries [ DONE ] Adding Swift Keystone manifest entries [ DONE ] Adding Swift builder manifest entries [ DONE ] Adding Swift proxy manifest entries [ DONE ] Adding Swift storage manifest entries [ DONE ] Adding Swift common manifest entries [ DONE ] Adding Provisioning Demo manifest entries [ DONE ] Adding Provisioning Glance manifest entries [ DONE ] Adding MongoDB manifest entries [ DONE ] Adding Ceilometer manifest entries [ DONE ] Adding Ceilometer Keystone manifest entries [ DONE ] Adding Nagios server manifest entries [ DONE ] Adding Nagios host manifest entries [ DONE ] Adding post install manifest entries [ DONE ] Installing Dependencies [ DONE ] ... ..... ...... ....... Applying Puppet manifests [ DONE ] Finalizing [ DONE ] **** Installation completed successfully ****** Additional information: * A new answerfile was created in: /root/packstack-answers-20150331-191513.txt [root@lynx13 node]# yum list installed | grep packstack openstack-packstack.noarch 2014.1.1-0.46.dev1280.el7ost openstack-packstack-puppet.noarch [root@lynx13 node]# pwd /srv/node [root@lynx13 node]# ls -l total 8 drwxr-xr-x. 3 swift swift 4096 Mar 31 20:05 swift drwxr-xr-x. 3 swift swift 4096 Mar 31 20:02 swiftloopback 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. https://rhn.redhat.com/errata/RHSA-2015-0831.html |
Description of problem: After running packstack --allinone I have both /srv/node/swift_loopback and /srv/node/swiftloopback which looks unintentional. grep'ing around, I see: /usr/lib/python2.7/site-packages/packstack/puppet/templates/swift_loopback.pp:swift::storage::loopback { 'swift_loopback': /usr/lib/python2.7/site-packages/packstack/plugins/swift_600.py: 'device_name': 'swiftloopback'}) /usr/lib/python2.7/site-packages/packstack/puppet/templates/swift_loopback.pp:swift::storage::loopback { 'swift_loopback': /usr/lib/python2.7/site-packages/packstack/puppet/templates/swift_loopback.pp: base_dir => '/srv/loopback-device', Version-Release number of selected component (if applicable): openstack-packstack-2014.1.1-0.40.dev1239.el7ost.noarch