Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1141125 - swiftloopback vs swift_loopback in packstack python/puppet
swiftloopback vs swift_loopback in packstack python/puppet
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack (Show other bugs)
5.0 (RHEL 7)
Unspecified Unspecified
medium Severity high
: z4
: 5.0 (RHEL 7)
Assigned To: Gaël Chamoulaud
Prasanth Anbalagan
: ZStream
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-12 05:21 EDT by Marko Myllynen
Modified: 2015-04-16 10:02 EDT (History)
12 users (show)

See Also:
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 10:02:44 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
OpenStack gerrit 121469 None None None Never
Red Hat Product Errata RHSA-2015:0831 normal SHIPPED_LIVE Important: openstack-packstack and openstack-puppet-modules update 2015-04-16 13:53:33 EDT

  None (edit)
Description Marko Myllynen 2014-09-12 05:21:26 EDT
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
Comment 6 Ivan Chavero 2015-03-25 17:16:13 EDT
can i have qe ack for this bug?

Thanks!
Comment 7 Ivan Chavero 2015-03-25 17:29:48 EDT
To verify this bug just check that /srv/node/swiftloopback is not present after an --allinone run.
Comment 10 Prasanth Anbalagan 2015-03-31 14:55:39 EDT
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
Comment 12 errata-xmlrpc 2015-04-16 10:02:44 EDT
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

Note You need to log in before you can comment on or make changes to this bug.