Bug 1127915
| Summary: | staypuft neutron network failed with "no implicit conversion of nil to string" | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Ofer Blaut <oblaut> | ||||||||
| Component: | openstack-foreman-installer | Assignee: | Jason Guiditta <jguiditt> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | Ofer Blaut <oblaut> | ||||||||
| Severity: | urgent | Docs Contact: | |||||||||
| Priority: | urgent | ||||||||||
| Version: | 5.0 (RHEL 6) | CC: | ajeain, mburns, morazi, nyechiel, oblaut, racedoro, rhos-maint, yeylon | ||||||||
| Target Milestone: | z2 | ||||||||||
| Target Release: | Installer | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2014-11-04 17:01:53 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: | |||||||||||
| Attachments: |
|
||||||||||
Error: Could not set 'present' on ensure: no implicit conversion of nil into String at 7:/etc/puppet/environments/production/modules/neutron/manifests/plugins/ovs/port.pp Error: Could not set 'present' on ensure: no implicit conversion of nil into String at 7:/etc/puppet/environments/production/modules/neutron/manifests/plugins/ovs/port.pp Wrapped exception: no implicit conversion of nil into String Error: /Stage[main]/Neutron::Agents::Ovs/Neutron::Plugins::Ovs::Port[br-ex:enp4s0f1]/Vs_port[enp4s0f1]/ensure: change from absent to present failed: Could not set 'present' on ensure: no implicit conversion of nil into String at 7:/etc/puppet/environments/production/modules/neutron/manifests/plugins/ovs/port.pp Notice: /Stage[main]/Neutron::Agents::Ovs/Service[neutron-plugin-ovs-service]: Dependency Vs_port[enp4s0f1] has failures: true Warning: /Stage[main]/Neutron::Agents::Ovs/Service[neutron-plugin-ovs-service]: Skipping because of failed dependencies Looks like bad validation/param entry. Can you reproduce and attach the yaml for the offending node please? This may be a dup of the opm bug against vswitch, so it would also be good to see if it reproduces with the lasted (20-2) Created attachment 929493 [details] YAML file of the node with the issue I also found this only when configuring a external NIC for the Networker node. In response to Comment #4 I'm attaching the YAML file of the affected node in my environment. Is this really the same machine used in the report? the names for the nic don't match at all, if so:
ovs_bridge_uplinks:
- br-ex:eno50336512
ui::neutron::compute_tenant_interface: eno33557248
ui::neutron::external_interface_name: eno50336512
ui::neutron::networker_tenant_interface: eno33557248
The enp4s0f1 nic is nowhere to be found. If this is a different setup from that reported, perhaps this is a red herring, otherwise, I don't see how this could work as it. Lastly, can someone please tell me what versions you are using of bot openstack-foreman-installer and openstack-puppet-modules?
No it's not. I just provided mine if that helps as I am hitting the issue reported here. I've no relation with the environment used by the original reporter of the bug. Created attachment 929714 [details]
YAML file of offending node (new deployment with net.ifnames=0)
This is with a different deployment also on VMware Fusion but with net.ifnames=0 so I get eth2 instead of eno5XXXX. I get this:
Error: Could not set 'present' on ensure: no implicit conversion of nil into String at 7:/etc/puppet/environments/production/modules/neutron/manifests/plugins/ovs/port.pp
Error: Could not set 'present' on ensure: no implicit conversion of nil into String at 7:/etc/puppet/environments/production/modules/neutron/manifests/plugins/ovs/port.pp
Wrapped exception:
no implicit conversion of nil into String
Error: /Stage[main]/Neutron::Agents::Ovs/Neutron::Plugins::Ovs::Port[br-ex:eth2]/Vs_port[eth2]/ensure: change from absent to present failed: Could not set 'present' on ensure: no implicit conversion of nil into String at 7:/etc/puppet/environments/production/modules/neutron/manifests/plugins/ovs/port.pp
Notice: /Stage[main]/Quickstack::Neutron::Firewall::Vxlan/Firewall[002 vxlan udp]/ensure: created
Notice: /Stage[main]/Neutron::Agents::Ovs/Service[neutron-plugin-ovs-service]: Dependency Vs_port[eth2] has failures: true
Warning: /Stage[main]/Neutron::Agents::Ovs/Service[neutron-plugin-ovs-service]: Skipping because of failed dependencies
Attached the YAML
Is this still an issue? I just tried it with current versions of ofi and opm, and cannot reproduce Issue is not seen on latest rhel-osp-installer will reopen if encounter it 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/RHBA-2014-1800.html |
Created attachment 925016 [details] logs Description of problem: staypuft neutron network stuck deployment in 60% Error attached , all interfaces are up and running enp4s0f1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 3.3.3.3 netmask 255.255.255.0 broadcast 3.3.3.255 inet6 fe80::82c1:6eff:fe07:d24c prefixlen 64 scopeid 0x20<link> ether 80:c1:6e:07:d2:4c txqueuelen 1000 (Ethernet) RX packets 737452 bytes 47698284 (45.4 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 20 bytes 2916 (2.8 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 This installation is on bare metal Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: