Ask Your Question
0

unable to install OS on hosts while installing OPNFV Brahmaputra?

asked 2016-05-16 19:10:44 -0800

shabari gravatar image

Hai,

We are trying to install OPNFV Brahmaputra with one jumphost and 2 hosts(host1-controller and host2-compute). We are able to run the scripts successfully. As it shows following


 *** TASK COMPLETE ***
+ reboot_hosts
+ '[' -z /home/v435621/compass4nfv/work/deploy/script/ipmitool.sh   ']'
+ /home/v435621/compass4nfv/work/deploy/script/ipmitool.sh
set pxe and reset 10.1.172.3 successsully
+ exit 1
root@VSdeV34:/home/v435621/compass4nfv# set pxe and reset   10.1.172.4 successsully

But, host1 and host2 are unable get OS installed using pxe. We found the following on both host1 and host2 PXE-E51: No DHCP or proxydhcp offers were received.

PLEASE HELP US REGARDING THE ABOVE ISSUE. Some of our other observations during OPNFV Brahmaputra installation:

  1. There is no network with 192.168.122.0 in our configuration. But, seems like a ‘virbr0’ bridge with IP 192.168.122.2 is been created every time we install it. Shed some light on this issue.
  2. According the installation guide, for bare metal installation 3 NIC cards are suggested. One for external, one for pxe, one for IPMI. What network should be given to pxe? If network is given, should we include that in interface file? How should the interfaces file should look like? It would be great if you can provide more details about PXE networking as part of installation.
  3. We are able to install successfully only if we include ISO image manually. Only using export ISOURL=file:///${YOUROWN}/compass.iso. But, not url.Is it same with other people, who tried installing?
  4. In example DHA.yml, shows two MAC addresses. One is IPMI MAC address. What is the other MAC address. What is the IPMI interface? (iLO doesn’t have any interface name!!!)
  5. As part of our execution we found AssertError don’t know if it is major issue or not: AssertionError
    • RET=1
    • sleep 25
    • rename_nics
    • python /home/v435621/compass4nfv/deploy/rename nics.py /home/v435621/myBM/dha.yml /home/v435621/compass4nfv/work/deploy/vm/compass/boot.rsa 10.2.200.2 ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i /home/v435621/compass4nfv/work/deploy/vm/compass/boot.rsa root@10.2.200.2 'cobbler system edit -- name=host1 --interface=eth1 --mac=9c:8e:99:0b:cc:b9' Warning: Permanently added '10.2.200.2' (ECDSA) to the list of known hosts. exception on server: 'internal error, unknown system name host1' ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i /home/v435621/compass4nfv/work/deploy/vm/compass/boot.rsa root@10.2.200.2 'cobbler system edit -- name=host2 --interface=eth1 --mac=80:c1:6e:24:79:63' Warning: Permanently added '10.2.200.2' (ECDSA) to the list of known hosts. exception on server: 'internal error, unknown system name host2' ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i /home/v435621/compass4nfv/work/deploy/vm/compass/boot.rsa root@10.2.200.2 'cobbler sync' Warning: Permanently added '10.2.200.2' (ECDSA) to the list of known hosts. Ref: /home/v435621/compass4nfv ...
(more)
edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2016-05-17 06:49:02 -0800

lmcdasm gravatar image

Hello.

The issue is that you are not seleting the correct bridge for your nodes, when you create bridge_utils, the virbro with that IP is created automatically you can see this with "brctl show' on your JUMPHOST.

You should have 5 networks (bridges) on your jumphost if you are setting this up correctly, and none of them shoudl be on vibro0.

do a brctl show and check that teh vnet (which are the HOST side representation of your VM's) are in the correct bridge.

send a brctl show to the ticket of yoru example.

Daniel

edit flag offensive delete link more
0

answered 2016-05-25 07:16:38 -0800

shabari gravatar image

updated 2016-05-25 07:18:58 -0800

  1. Dont worry about 192.168.122.1 virbr0 bridge. its a default bridge created when libvirt is installed.

  2. /etc/network/interface should only have external network IP configuration. PXE nic should be 10.1.0.0/24 give physical connectivity and enabl it on jumphost. Using #ip link set dev eth0 up.

  3. Download ISO and attach in export ISOURL=file:///${YOUROWN}/compass.iso while installation.

  4. Use only mac address of PXE nics. It worked for us.

eg: - name: host1 mac: '9C:8E:99:0B:CC:B0' ------------(MAC address of PXE NIC of host1) ipmiIp: 10.1.172.3 ipmiPass: Opnfv2015 roles: - controller - odl - ha

As of our observation, -ha should be added in dha.yml to avoid the Asserterror.

Let me know if im wrong. Thanks

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2016-05-16 19:10:44 -0800

Seen: 175 times

Last updated: May 25 '16