NOTES captured during RDO test day 4,5-FEB-2014 =============================================== == Collecting Neutron debug info == * Fetch the scripts to collect Neutorn debug info, and run them * $ wget https://raw.github.com/larsks/neutron-diag/master/gather-network-info https://raw.github.com/larsks/neutron-diag/master/gather-neutron-info * $ chmod +x gather-network-info gather-network-info * $ ./gather-network-info * $ ./gather-neutron-info * Repeat step-1 for all the nodes involved in your OpenStack setup. * Upload resulting tar.gz files to a location. == Dependency Gathering for EPEL7 === * Sub-etherpad: https://etherpad.openstack.org/p/nova-deps-epel7-rdo-i-td2 * == Fedora Cloud Images == * Fedora 20 * QCOW2: $ wget http://download.fedoraproject.org/pub/fedora/linux/releases/20/Images/x86_64/Fedora-x86_64-20-20131211.1-sda.qcow2 * RAW: $ wget http://download.fedoraproject.org/pub/fedora/linux/releases/20/Images/x86_64/Fedora-x86_64-20-20131211.1-sda.raw.xz * Cirros 0.3.1 * $ wget http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-disk.img * Import the images into Glance * $ glance image-create --name fedora20 --is-public true --disk-format qcow2 --container-format bare < Fedora-x86_64-20-20131211.1-sda.qcow2 == Known Issues == * ERROR : Error appeared during Puppet run: 192.168.1.13_mysql.pp * Error: Could not start Service[mysqld]: Execution of '/sbin/service mariadb start' returned 1: * On Fedora 20, latest version of mariadb-server-5.5.34-3.fc20.x86_64 does not run after installation (unless updated),it fails because /var/lib/mariadb/mariadb.log can not be accessed by mysqld_safe, as it's owned by root:root,so use previous version (-2.fc20), or chown mysql:mysql /var/lib/mariadb/mariadb.log. * https://bugzilla.redhat.com/show_bug.cgi?id=1061045 * workaround before packstack: $ yum install -y mariadb-server && chown mysql:mysql /var/log/mariadb/mariadb.log * The mysql puppet module changes the log file to /var/log/mysqld.log, but it does not create it, the service at start up does not have enough permission to create it * workaround before packstack: $ touch /var/log/mysqld.log; chown mysql:mysql /var/log/mysqld.log && chcon -u system_u -r object_r -t mysqld_log_t /var/log/mysqld.log * F20: multiple swift, neutron and nova-netowork related selinux policy violation: #1061137 == Bugs == * https://bugzilla.redhat.com/show_bug.cgi?id=1061055 -- [el6] neutron-dhcp-agent dead - fixed * https://bugzilla.redhat.com/show_bug.cgi?id=1061137 -- Wrong exception raised when trying to create an existing tenant * https://bugzilla.redhat.com/show_bug.cgi?id=1061152 -- [RDO][openstack-foreman-installer]: When attempting to deploy foreman-client on Fedora20 - It seems that puppet modules connecting mysql instead of connecting mariadb. * https://bugzilla.redhat.com/show_bug.cgi?id=1061613 -- [RDO][Openstack-foreman-installer]: puppet throws errors during registration of clients against foreman-server. (during: foreman_client.sh) * https://bugzilla.redhat.com/show_bug.cgi?id=1061349 -- neutron-dhcp-agent won't start due to a missing import of module named stevedore * https://bugzilla.redhat.com/show_bug.cgi?id=1061356 -- neutron-dhcp-agent fails to start with the error: Package 'openstack-neutron' isn't signed with proper key * https://bugzilla.redhat.com/show_bug.cgi?id=1061378 -- Neutron ML2 DB configuration fails with an error * https://bugzilla.redhat.com/show_bug.cgi?id=1061343 -- horizon errors out when adding myself to a group * https://bugzilla.redhat.com/show_bug.cgi?id=1061750 -- Neutron Load Balancer VIP Creation Fails * https://bugzilla.redhat.com/show_bug.cgi?id=1061689 -- Horizon SSL is disabled by Nagios configuration via packstack == Suggestions == * apevec:Next time I propose to skip testday at m2 - it's still too much flux upstream. m3 is more reasonable, it's feature freeze, +1+1 == Foreman == **Should work Only with RHEL6.5 !! ** ( both : Foreman-Server and Foreman-Client) 1) 'yum install openstacl-foreman-installer' : Sometimes from TLV office we're getting "no more mirrors" : Error Downloading Packages: 1:ruby193-rubygem-activesupport-3.2.8-6.el6.noarch: failure: ruby193-rubygem-activesupport-3.2.8-6.el6.noarch.rpm from foreman: [Errno 256] No more mirrors to try. foreman-1.3.2-1.el6.noarch: failure: foreman-1.3.2-1.el6.noarch.rpm from foreman: [Errno 256] No more mirrors to try. - try running "yum clean metadata" or "yum clean all" before running yum (beagles) 2) During run of foreman-server.sh : Errors during run of foreman-server.sh --> http://pastebin.com/ipaeacDU http://pastebin.com/rp2pYL2z 3) During foreman_client.sh (harmless Errors??) a)Error: /File[/var/lib/puppet/lib/puppet/type/cinder_api_paste_ini.rb]/ensure: change from absent to file failed: execution expired b)Error: Could not retrieve plugin: execution expired c)Error: /File[/var/lib/puppet/lib/puppet/provider/vcsrepo/cvs.rb]/ensure: change from absent to file failed: execution expired d)Error: /File[/var/lib/puppet/lib/puppet/type/neutron_network.rb]/ensure: change from absent to file failed: execution expired (Bz#1061613) 4) During running puppet agent -t -v (on Fedora20 ) : It seems that the puppet used by the foreman-server - attempts to connect to mysql on f20 foreman-client- machines.. (instead of connecting mariadb? ) Error: Could not prefetch database_grant provider 'mysql': Execution of '/usr/bin/mysql --defaults-file=/root/.my.cnf mysql -Be describe user' returned 1: Could not open required defaults file: /root/.my.cnf http://pastebin.com/t4jj9L9P (Bz#1061152) I've managed to deploy : foreman-server + neutron-controllr + neutron-networker + neutron-compute (All against RHEL6.5) need to investigate (during foreman_client.sh) : http://pastebin.com/xUZJJG5a