HPCoD: Making OpenHPC work

From Define Wiki
Revision as of 14:30, 5 October 2016 by K mouza (talk | contribs) (Created page with "== Make OpenHPC work within Openstack == * In the physical, hypervisor nodes edit the <tt>/usr/lib/python2.7/site-packages/neutron/agent/linux/iptables_firewall.py</tt> and c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Make OpenHPC work within Openstack

  • In the physical, hypervisor nodes edit the /usr/lib/python2.7/site-packages/neutron/agent/linux/iptables_firewall.py and comment out lines 444,445,446, from the _drop_dhcp_rule function
  • Disable security groups and port security on the neutron port of the VM ohpc compute nodes:
#Identify the port by MAC address or ip:
[root@bios-ohpc ~]# neutron port-list | grep 44:6d
| 599c2814-37e4-4085-953e-88c5ca7e62d3 |      | fa:16:3e:fc:44:6d | {"subnet_id": "6e14be1e-5d51-4291-b3b6-10dfb6d95c42", "ip_address": "10.16.0.152"}    |

#disable security groups:
[root@bios-ohpc ~]# neutron port-update 599c2814-37e4-4085-953e-88c5ca7e62d3 --no-security-groups

#disable port security:
[root@bios-ohpc ~]# neutron port-update 599c2814-37e4-4085-953e-88c5ca7e62d3 --port_security_enabled=FALSE
  • Change the network driver on the ipxe image from virtio_net to e1000:
#identify the image:
[root@bios-ohpc ~]# glance image-list
--output ommited--
[root@bios-ohpc ~] glance image-update --property hw_vif_model=e1000 7b220fc9-3ab7-45f5-a6b3-09536eb9a744
  • Stateless only for the moment. Make sure you create a VM with at least 8GB of RAM !!!