Bug 1304009 - During packstack install Error: Could not set 'present' on ensure: uninitialized constant DEFAULT
Summary: During packstack install Error: Could not set 'present' on ensure: uninitiali...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-puppet-modules
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ga
: 8.0 (Liberty)
Assignee: Lukas Bezdicka
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-02 16:42 UTC by Jason Guiditta
Modified: 2016-04-18 06:57 UTC (History)
7 users (show)

Fixed In Version: openstack-puppet-modules-7.0.6-2.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of: 1302321
Environment:
Last Closed: 2016-04-07 21:27:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 273174 0 None MERGED Fix vs_port usage in Red Hat distros 2020-11-20 11:08:04 UTC
OpenStack gerrit 275100 0 None MERGED Fix vs_port usage in Red Hat distros 2020-11-20 11:08:05 UTC
Red Hat Product Errata RHEA-2016:0603 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 8 Enhancement Advisory 2016-04-08 00:53:53 UTC

Description Jason Guiditta 2016-02-02 16:42:01 UTC
+++ This bug was initially created as a clone of Bug #1302321 +++

Description of problem:
During RDO packstack installation I get this error : 
plying 10.35.187.248_neutron.pp
10.35.187.248_neutron.pp:                            [ DONE ]       
10.35.187.25_neutron.pp:                          [ ERROR ]         
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: 10.35.187.25_neutron.pp
Error: Could not set 'present' on ensure: uninitialized constant DEFAULT at 7:/var/tmp/packstack/7af15bcc59ab44e79c497ed5199991b8/modules/neutron/manifests/plugins/ovs/port.pp
You will find full trace in log /var/tmp/packstack/20160127-070140-1InQxC/manifests/10.35.187.25_neutron.pp.log
Please check log file /var/tmp/packstack/20160127-070140-1InQxC/openstack-setup.log for more information
Additional information:
 * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
 * File /root/keystonerc_admin has been created on OpenStack client host 10.35.187.25. To use the command line tools you need to source the file.
 * To access the OpenStack Dashboard browse to http://10.35.187.25/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
 * To use Nagios, browse to http://10.35.187.25/nagios username: nagiosadmin, password: e3f9ab7d7a2f4a39

[root@rdo-td-mikata-391b42a4-2a4e-40b1-94e0-a8abfbba558b ~]# vi /var/tmp/packstack/7af15bcc59ab44e79c497ed5199991b8/modules/neutron/manifests/plugins/ovs/port.pp
[root@rdo-td-mikata-391b42a4-2a4e-40b1-94e0-a8abfbba558b ~]# vi /var/tmp/packstack/20160127-070140-1InQxC/manifests/10.35.187.25_neutron.pp.log
[root@rdo-td-mikata-391b42a4-2a4e-40b1-94e0-a8abfbba558b ~]# grep -i error /var/tmp/packstack/20160127-070140-1InQxC/manifests/10.35.187.25_neutron.pp.log
Error: NetworkManager is not running.
Error: Could not set 'present' on ensure: uninitialized constant DEFAULT at 7:/var/tmp/packstack/7af15bcc59ab44e79c497ed5199991b8/modules/neutron/manifests/plugins/ovs/port.pp
Error: Could not set 'present' on ensure: uninitialized constant DEFAULT at 7:/var/tmp/packstack/7af15bcc59ab44e79c497ed5199991b8/modules/neutron/manifests/plugins/ovs/port.pp
Error: /Stage[main]/Neutron::Agents::Ml2::Ovs/Neutron::Plugins::Ovs::Port[br-ex:eth1]/Vs_port[eth1]/ensure: change from absent to present failed: Could not set 'present' on ensure: uninitialized constant DEFAULT at 7:/var/tmp/packstack/7af15bcc59ab44e79c497ed5199991b8/modules/neutron/manifests/plugins/ovs/port.pp

After debug the issue found that this commit cause the problem
https://review.openstack.org/265005

Version-Release number of selected component (if applicable):
openstack-packstack-puppet-8.0.0-dev1741.g72faffe.el7.centos.noarch
openstack-puppet-modules-8.0.0a0-11.g927ae19.el7.centos.noarch
puppet-3.6.2-3.el7.noarch
openstack-packstack-8.0.0-dev1741.g72faffe.el7.centos.noarch


How reproducible:

always 
Steps to Reproduce:
1.Install RDO setup with packstack yo will get this error 
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Javier Peña on 2016-01-27 09:53:44 EST ---

The error is happening when running Packstack and setting CONFIG_NEUTRON_OVS_BRIDGE_MAPPINGS and CONFIG_NEUTRON_OVS_BRIDGE_IFACES. After some investigation, it seems to be caused by https://review.openstack.org/265005 (puppet-vswitch change). Reverting that change allows the installation to finish successfully.

--- Additional comment from Javier Peña on 2016-01-27 12:59:31 EST ---

Proposed https://review.openstack.org/273174 with a potential fix.

Comment 4 errata-xmlrpc 2016-04-07 21:27:24 UTC
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/RHEA-2016-0603.html


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