Controller on VM, Compute on PXE booted ramdisk hardware (from now on, these machines will be referred to as the BORG). (VAL+ANDREW)¶
Did¶
Created a VM with public and private nic to be the controller node.
$ sudo yum install -y http://rdo.fedorapeople.org/openstack/openstack-grizzly/rdo-release-grizzly-3.noarch.rpm
$ sudo yum install -y openstack-packstack
Ran packstack --allinone, rebooted, edited the answer file create by --allinone
- set
CONFIG_CINDER_INSTALLandCONFIG_SWIFT_INSTALLton CONFIG_NOVA_COMPUTE_HOSTS=192.168.3.3(the ip address of one member of the BORG)- and, appropriately,
CONFIG_NOVA_COMPUTE_PRIVIF=eth0 - we also set
CONFIG_NOVA_NETWORK_PRIVIF=eth1andCONFIG_NOVA_NETWORK_PUBIF=eth2, although these a nova-network variables. - we left all quantum configurations as is:
CONFIG_QUANTUM_SERVER_HOST=128.197.44.248The IP addresses of the server on which to install the Quantum serverCONFIG_QUANTUM_USE_NAMESPACES=yEnable network namespaces for QuantumCONFIG_QUANTUM_L3_HOSTS=128.197.44.248A comma separated list of IP addresses on which to install Quantum L3 agentCONFIG_QUANTUM_L3_EXT_BRIDGE=br-exThe name of the bridge that the Quantum L3 agent will use for external trafficCONFIG_QUANTUM_DHCP_HOSTS=128.197.44.248A comma separated list of IP addresses on which to install Quantum DHCP pluginCONFIG_QUANTUM_L2_PLUGIN=openvswitchThe name of the L2 plugin to be used with QuantumCONFIG_QUANTUM_METADATA_HOSTS=128.197.44.248A comma separated list of IP addresses on which to install Quantum metadata agentCONFIG_QUANTUM_LB_TENANT_NETWORK_TYPE=localThe type of network to allocate for tenant networksCONFIG_QUANTUM_LB_VLAN_RANGES=A comma separated list of VLAN ranges for the Quantum linuxbridge pluginCONFIG_QUANTUM_LB_INTERFACE_MAPPINGS=A comma separated list of interface mappings for the Quantum linuxbridge pluginCONFIG_QUANTUM_OVS_TENANT_NETWORK_TYPE=localType of network to allocate for tenant networksCONFIG_QUANTUM_OVS_VLAN_RANGES=A comma separated list of VLAN ranges for the Quantum openvswitch pluginCONFIG_QUANTUM_OVS_BRIDGE_MAPPINGS=A comma separated list of bridge mappings for the Quantum openvswitch plugin
When running packstack with the edit answer file, and we ran into!
Problems!¶
- Horizon did not work immediately after making new project. Continues to have error “unable to retrieve quota information”. This is fixed by logging out and logging back in.
- First notable problem: packstack stalled in state
Testing if puppet apply is finished : 192.168.3.3_quantum.ppfor >12 hours. - after
crtl-c-ing the install, we got the message Kernel package with netns support has been installed on host 192.168.3.89. Please note that with this action you are loosing Red Hat support for this host. Because of the kernel update host mentioned above requires reboot.
- BUT! we cannot reboot the BORG machines
- the BORG machine wrote Message from syslogd@moc-compute-03 at Jun 6 13:15:28 … kernel:journal commit I/O error to stdout at the time of the second packstack run.
- We noticed the time is wrong on our compute machine
- FIXED: reboot with ntp on of the BORG
- this particular solution had not effect on the part (1) or part (2) above.
Now trying, packstack w/out Quantum!¶
How to:
- get repos and yum install openstack-packstack (here: http://openstack.redhat.com/Quickstart)
- run
packstack --gen-answer-file=~/answers.cfg - edit answer file. See the ans.txt file save in the github (all passwords set to “GEN”)”[[https://github.com/CCI-MOC/moc-public/blob/master/packstack/ans.txt]]
Problems:¶
When using a BORG machine, we had to manually start libvirt and messagebus and openstack-nova compute. We then get this error printed to stdout: Message from syslogd@moc-compute-03 at Jun 6 13:15:28 …kernel:journal commit I/O error
Problem with squash nfs?
Now trying physical machine for compute, instead of BORG!¶
After restating libvirt, messagebus and openstack-nova-compute, can boot machines!
Notes on NOT using quantum:¶
- Default nova network settings: FlatDHCP server with multi_host=false (the default setting of multi_host – variable not set in /etc/nova/nova.conf). THIS IS PERFECT, as out BORG nodes only have 1 NIC