介紹
RDO as being a project started by Red Hat to build a Distribution of OpenStack.
Install
yum update -y
yum install -y https://rdo.fedorapeople.org/rdo-release.rpm
yum install -y openstack-packstack
packstack --allinone
http://$YOURIP/dashboard
設定
cinder 要注意的東西
LVM: cinder-volumes
If you intend to use physical storage for the "cinder-volumes" volume group then you must create the volume group in advance on the system to be used for Cinder.
* By default packstack will configure a volume group named cinder-volumes on a loopback device
ThinLVM for Cinder
openstack-config --set /etc/cinder/cinder.conf DEFAULT lvm_type thin
service openstack-cinder-volume restart
Adding a compute node
* requires a second network adapter (crontroller)
(One for access to the public network and one for the internal Nova network. )
修改 answer file
# from lo to eth1 CONFIG_NOVA_COMPUTE_PRIVIF=eth1 CONFIG_NOVA_NETWORK_PRIVIF=eth1 # neutron networking: CONFIG_NOVA_COMPUTE_HOSTS <-- second compute node ip (eth1) CONFIG_NOVA_NETWORK_HOSTS <-- first node ip (eth1)
# On second compute node
packstack --answer-file=$youranswerfile
Network Add Floating IP Address
nova-network:
/root/keystonerc_admin
nova floating-ip-bulk-delete 10.3.4.0/22
nova floating-ip-bulk-create CORRECT-RANGE (nmap -sn 192.168.1.56/29)
nova-manage floating list
Neutron:
* No floating IPs are created by default
Troubleshoot
sasldb (corrupted)
sasldblistusers2 -f /var/lib/qpidd/qpidd.sasldb
PackStack DOC:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_O...