Private Wolke

Leider hat es bislang für meine eigene Wolke 7 nicht in dem Maße Althardware geregnet, wie ich es mir erhofft hatte; aber immerhin haben wir in der Firma zwei HP Blade Chassis »freigeräumt«, wovon ich mir eins für OpenStack-Experimente vorübergehend »klauen« durfte …

Natürlich ist latest & greatest grade gut genug, also PackStack auf Centos 6.4. Und, Ihr ahnt, es: ich kam, führte aus, und fluchte:

[root@bc04bl01 ~]# packstack --answer-file=multi-node.txt Welcome to Installer setup utility Installing: Clean Up... [ DONE ] Setting up ssh keys... [ DONE ] Discovering hosts' details... [ DONE ] Disabling NetworkManager... [ DONE ] Adding pre install manifest entries... [ DONE ] Installing time synchronization via NTP... [ DONE ] Adding MySQL manifest entries... [ DONE ] Adding QPID manifest entries... [ DONE ] Adding Keystone manifest entries... [ DONE ] Adding Glance Keystone manifest entries... [ DONE ] Adding Glance manifest entries... [ DONE ] Installing dependencies for Cinder... [ DONE ] Adding Cinder Keystone manifest entries... [ DONE ] Adding Cinder manifest entries... [ DONE ] Checking if the Cinder server has a cinder-volumes vg...[ DONE ] Adding Nova API manifest entries... [ DONE ] Adding Nova Keystone manifest entries... [ DONE ] Adding Nova Cert manifest entries... [ DONE ] Adding Nova Conductor manifest entries... [ DONE ] Adding Nova Compute manifest entries... [ DONE ] Adding Nova Scheduler manifest entries... [ DONE ] Adding Nova VNC Proxy manifest entries... [ DONE ] Adding Nova Common manifest entries... [ DONE ] Adding Openstack Network-related Nova manifest entries...[ DONE ] Adding Neutron API manifest entries... [ DONE ] Adding Neutron Keystone manifest entries... [ DONE ] Adding Neutron L3 manifest entries... [ DONE ] Adding Neutron L2 Agent manifest entries... [ DONE ] Adding Neutron DHCP Agent manifest entries... [ DONE ] Adding Neutron Metadata Agent manifest entries... [ DONE ] Adding OpenStack Client manifest entries... [ DONE ] Adding Horizon manifest entries... [ DONE ] Adding Swift Keystone manifest entries... [ DONE ] Adding Swift builder manifest entries... [ DONE ] Adding Swift proxy manifest entries... [ DONE ] Adding Swift storage manifest entries... [ DONE ] Adding Swift common manifest entries... [ DONE ] Adding Heat manifest entries... [ DONE ] Adding Heat Keystone manifest entries... [ DONE ] Adding Heat CloudWatch API manifest entries... [ DONE ] Adding Heat CloudFormation API manifest entries... [ DONE ] Adding Ceilometer manifest entries... [ DONE ] Adding Ceilometer Keystone manifest entries... [ DONE ] Adding Nagios server manifest entries... [ DONE ] Adding Nagios host manifest entries... [ DONE ] Adding post install manifest entries... [ DONE ] Preparing servers... [ DONE ] Installing Dependencies... [ DONE ] Copying Puppet modules and manifests... [ DONE ] Applying Puppet manifests... Applying 10.99.2.10_prescript.pp Applying 10.99.2.11_prescript.pp Applying 10.99.2.12_prescript.pp Applying 10.99.2.13_prescript.pp Applying 10.99.2.14_prescript.pp Applying 10.99.2.15_prescript.pp Applying 10.99.2.16_prescript.pp Applying 10.99.2.6_prescript.pp Applying 10.99.2.7_prescript.pp Applying 10.99.2.4_prescript.pp Applying 10.99.2.5_prescript.pp Applying 10.99.2.2_prescript.pp Applying 10.99.2.3_prescript.pp Applying 10.99.2.1_prescript.pp Applying 10.99.2.8_prescript.pp Applying 10.99.2.9_prescript.pp [ ERROR ] ERROR : Error appeared during Puppet run: 10.99.2.9_prescript.pp Error: Could not start Service[iptables]: Execution of '/sbin/service iptables start' returned 6: You will find full trace in log /var/tmp/packstack/20131214-030622-WgXrFK/manifests/10.99.2.9_prescript.pp.log Please check log file /var/tmp/packstack/20131214-030622-WgXrFK/openstack-setup.log for more information Additional information: […]

Das fängt ja vielversprechend an — offensichtlich ist »iptables« nicht so ganz out-of-the-box startbar bei Centos 6.4, wie der Bugreport (den Red Hat dann für ihr RHOS-Produkt dupliziert hat) ahnen läst. Und in der Tat:

ksiering@twoflower:~$ for i in `seq 2 16`; do echo 10.99.2.$i ; ssh root@10.99.2.$i /sbin/service iptables start \; echo \$? ; done 10.99.2.2 6 10.99.2.3 6 10.99.2.4 6 […]
ksiering@twoflower:~$ for i in `seq 2 16`; do echo 10.99.2.$i ; ssh root@10.99.2.$i iptables-save \> /etc/sysconfig/iptables \; /sbin/service iptables start \; echo \$? ; done 10.99.2.2 iptables: Applying firewall rules: [ OK ] 0 10.99.2.3 iptables: Applying firewall rules: [ OK ] 0 10.99.2.4 iptables: Applying firewall rules: [ OK ] 0 […]

Kaum macht man’s richtig, …

10.99.2.11_prescript.pp : [ DONE ] 10.99.2.15_prescript.pp : [ DONE ] 10.99.2.6_prescript.pp : [ DONE ] 10.99.2.5_prescript.pp : [ DONE ] 10.99.2.3_prescript.pp : [ DONE ] 10.99.2.8_prescript.pp : [ DONE ] 10.99.2.10_prescript.pp : [ DONE ] 10.99.2.13_prescript.pp : [ DONE ] 10.99.2.16_prescript.pp : [ DONE ] 10.99.2.4_prescript.pp : [ DONE ] 10.99.2.1_prescript.pp : [ DONE ] 10.99.2.12_prescript.pp : [ DONE ] 10.99.2.7_prescript.pp : [ DONE ] 10.99.2.9_prescript.pp : [ DONE ] 10.99.2.14_prescript.pp : [ DONE ] 10.99.2.2_prescript.pp : [ DONE ]

Puppenspieler in der »Cloud« zu sein, das hat schon was ;)