Hi Patrick, For the Undercloud VM to bridge to your host, it needs to be able to get the IP information off of the host interfaces. It does this by checking your ifcfg files under /etc/sysconfig/network-scripts for the interface you specify for each network. Can you check that enp1s0f1 ifcfg file is not set to dhcp and has IP and NETMASK/PREFIX settings in the file?
Thanks, Tim Rozet Red Hat SDN Team ----- Original Message ----- From: "Francois Guay (A214312)" <[email protected]> To: "Jamo Luhrsen" <[email protected]>, "Patrick Lemay" <[email protected]>, [email protected] Cc: "Jocelyn Poulin (6007251)" <[email protected]> Sent: Friday, November 4, 2016 2:59:14 PM Subject: Re: [opnfv-tech-discuss] [Apex] deployment error Patrick, Jamo, I did the libvirt-python install and it solve the problem. (see attached) Now, we need to add the two missing nodes to get the five required nodes. I will give it a try and let you know. Thanks Jamo. Patrick, I'll let you share with Jamo what you did with the admin_network and public_network stuff. François -----Original Message----- From: Jamo Luhrsen [mailto:[email protected]] Sent: 4 novembre 2016 12:04 To: Lemay, Patrick; [email protected] Cc: Poulin, Jocelyn (6007251); Guay, Francois (A214312) Subject: Re: [opnfv-tech-discuss] [Apex] deployment error Patrick, I've had similar problems trying to get apex baremetal to work on the jumphost I'm working with. I hit the libvirt issue the other day. I think I just did a "yum install libvirt-python" try that. I'm still stuck on what I need to do with the admin_network, public_network stuff that I think you have overcome recently. Can you recap the steps you took? JamO On 11/04/2016 08:47 AM, Lemay, Patrick wrote: > Hi I finally create the br-public by hand instead of script. It work > but now I’m stock to another. «ImportError: No module named libvirt». > I’m using your deployment cd. All the dependencies should be install. I start > to tshoot the problem but I’m sure that you’ve already see that bug. > > > > All python version installed: > > [root@jumphost opnfv-apex]# python > > python python2 python2.7 python3 python3.4 python3.4m > > > > Output from the opnfv-deploy script: > > INFO: virsh networks set: > > Name State Autostart Persistent > > ---------------------------------------------------------- > > admin_network active yes yes > > default active yes yes > > public_network active yes yes > > > > All dependencies installed and running > > 4 Nov 10:58:33 ntpdate[27293]: adjust time server 206.108.0.133 offset > -0.002592 sec > > Volume undercloud exists. Deleting Existing Volume > /var/lib/libvirt/images/undercloud.qcow2 > > Vol undercloud.qcow2 deleted > > > > Vol undercloud.qcow2 created > > > > Traceback (most recent call last): > > File "/usr/libexec/openstack-tripleo/configure-vm", line 8, in > <module> > > import libvirt > > ImportError: No module named libvirt > > > > > > Thanks, > > > > > > > > > > *From:*Lemay, Patrick > *Sent:* November-01-16 11:42 AM > *To:* '[email protected]' > *Cc:* Bernier, Daniel (520165); Guay, Francois (A214312); Poulin, > Jocelyn (6007251) > *Subject:* Bell deployment config > > > > Hi guys, I have some issues regarding opnfv baremetal deployment. I > install a jumphost from opnfv cd. I configure the inventory with IPMI ip mac > and users. > > > > I’m not sure that I configure the network_settings correctly for > public_network. > > > > > > For the deployment I use pod 2 and pod 3 from the drawing. The server > Catherine is use for the jumphost. Interface enp1s0f0 is for pxe and > enp1s0f1 is for public_network . The other 5 servers are for > deployment IPMI ready. All interfaces in vlan > 1020 are pxe ready and disk are configured raid 1. I have a problem deploying > undercloud. > > > > > > I have this error related to the undercloud deployment: > > INFO: Creating Virsh Network: admin_network & OVS Bridge: br-admin > > INFO: Creating Virsh Network: public_network & OVS Bridge: br-public > > INFO: Bridges set: > > br-admin > > br-public > > enp1s0f0 > > INFO: Interface enp1s0f0 bridged to bridge br-admin for enabled > network: admin_network > > /var/opt/opnfv/lib/common-functions.sh: line 18: 5 - ( / 8) : syntax > error: operand expected (error token is "/ 8) ") > > ERROR: IPADDR or NETMASK/PREFIX missing for enp1s0f1 > > ERROR: Unable to bridge interface enp1s0f1 to bridge br-public for > enabled network: public_network > > > > > > Could you help please? There is no vmware at all in the setup only baremetal.. > > > > Regards, > > > > > > > > Patrick Lemay > > Consultant Managed Services Engineering Bell Canada > > 671 de la Gauchetière O. Bur. 610, Montreal, Quebec H3B 2M8 > > Tel: (514) 870-1540 > > > > > > _______________________________________________ > opnfv-tech-discuss mailing list > [email protected] > https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss > _______________________________________________ opnfv-tech-discuss mailing list [email protected] https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss _______________________________________________ opnfv-tech-discuss mailing list [email protected] https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss
