Foreman Installer - Could not set 'present' on ensure
Issue
- When trying to deploy with staypuft / foreman, deployment of network node fails with:
Error: Could not set 'present' on ensure: undefined method `[]' for nil:NilClass at 7:/etc/puppet/environments/production/modules/neutron/manifests/plugins/ovs/port.pp
Error: Could not set 'present' on ensure: undefined method `[]' for nil:NilClass at 7:/etc/puppet/environments/production/modules/neutron/manifests/plugins/ovs/port.pp
Wrapped exception:
undefined method `[]' for nil:NilClass
Error: /Stage[main]/Neutron::Agents::Ovs/Neutron::Plugins::Ovs::Port[br-ex:eth1]/Vs_port[eth1]/ensure: change from absent to present failed: Could not set 'present' on ensure: undefined method `[]' for nil:NilClass at 7:/etc/puppet/environments/production/modules/neutron/manifests/plugins/ovs/port.pp
- Updating to
openstack-puppet-modules-2014.1-18.2still has not resolved the issue.
Environment
- Red Hat Enterprise Linux OpenStack Platform 4.0
openstack-puppet-modules-2014.1-18.2and earlier
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
