[OpenStack-Infra] [openstack_infra] setup openstack ci logserver questions on CentOS 7

xugang_ustc at sina.com xugang_ustc at sina.com
Sat May 21 13:04:10 UTC 2016


Hi
I am try to setup openstack ci in our company by follow below doc urlhttp://docs.openstack.org/infra/openstackci/index.html
Seemed this doc was only tested on Ubuntu 14.04
Questions1. Is that mean CentOS not supported as I always hit error during run puppet installation on Centos?
2. If we want to enable CentOS, how to do? Or any guidance?
Thanks in advance!
BRs/Xu Gang
===================================================================================Below is running log on CentOS
[root at pmo03 puppet]# puppet apply --verbose ./manifests/site.ppInfo: Loading external facts from /etc/puppet/modules/openstacklib/facts.dInfo: Loading facts in /etc/puppet/modules/mysql/lib/facter/mysql_version.rbInfo: Loading facts in /etc/puppet/modules/mysql/lib/facter/mysql_server_id.rbInfo: Loading facts in /etc/puppet/modules/gnupg/lib/facter/gnupg_installed.rbInfo: Loading facts in /etc/puppet/modules/gnupg/lib/facter/gnupg_command.rbInfo: Loading facts in /etc/puppet/modules/apt/lib/facter/apt_updates.rbInfo: Loading facts in /etc/puppet/modules/apt/lib/facter/apt_update_last_succes                                                                                                             s.rbInfo: Loading facts in /etc/puppet/modules/apt/lib/facter/apt_reboot_required.rbInfo: Loading facts in /etc/puppet/modules/firewall/lib/facter/iptables_version.                                                                                                             rbInfo: Loading facts in /etc/puppet/modules/firewall/lib/facter/iptables_persiste                                                                                                             nt_version.rbInfo: Loading facts in /etc/puppet/modules/firewall/lib/facter/ip6tables_version                                                                                                             .rbInfo: Loading facts in /etc/puppet/modules/stdlib/lib/facter/package_provider.rbInfo: Loading facts in /etc/puppet/modules/stdlib/lib/facter/facter_dot_d.rbInfo: Loading facts in /etc/puppet/modules/stdlib/lib/facter/puppet_vardir.rbInfo: Loading facts in /etc/puppet/modules/stdlib/lib/facter/root_home.rbInfo: Loading facts in /etc/puppet/modules/stdlib/lib/facter/pe_version.rbInfo: Loading facts in /etc/puppet/modules/stdlib/lib/facter/service_provider.rbInfo: Loading facts in /etc/puppet/modules/concat/lib/facter/concat_basedir.rbInfo: Loading facts in /etc/puppet/modules/archive/lib/facter/archive_windir.rbInfo: Loading facts in /etc/puppet/modules/selinux/lib/facter/selinux_custom_pol                                                                                                             icy.rbInfo: Loading facts in /etc/puppet/modules/jenkins/lib/facter/dpkg.rbInfo: Loading facts in /etc/puppet/modules/jenkins/lib/facter/memorytotalbytes.r                                                                                                             bInfo: Loading facts in /etc/puppet/modules/haproxy/lib/facter/haproxy_version.rbInfo: Loading facts in /etc/puppet/modules/python/lib/facter/python_version.rbInfo: Loading facts in /etc/puppet/modules/python/lib/facter/pip_version.rbInfo: Loading facts in /etc/puppet/modules/python/lib/facter/virtualenv_version.                                                                                                             rbInfo: Loading facts in /etc/puppet/modules/openstacklib/lib/facter/os_service_de                                                                                                             fault.rbInfo: Loading facts in /etc/puppet/modules/openstacklib/lib/facter/os_package_ty                                                                                                             pe.rbInfo: Loading facts in /etc/puppet/modules/staging/lib/facter/staging_windir.rbInfo: Loading facts in /etc/puppet/modules/staging/lib/facter/staging_http_get.r                                                                                                             bError: NetworkManager is not running.Notice: Compiled catalog for pmo03.chinac.com in environment production in 1.17 secondsWarning: The package type's allow_virtual parameter will be changing its default value from false to true in a future release. If you do not want to allow virtual packages, please explicitly set allow_virtual to false.   (at /usr/share/ruby/vendor_ruby/puppet/type.rb:816:in `set_default')Warning: Found multiple default providers for vcsrepo: bzr, cvs, svn, git, hg; using bzrInfo: Applying configuration version '1463834944'Error: Execution of '/usr/bin/yum -d 0 -e 0 -y list build-essential' returned 1: Error: No matching Packages to listError: /Stage[main]/Openstackci::Logserver/Package[build-essential]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list build-essential' returned 1: Error: No matching Packages to listError: Cannot create /srv/static; parent directory /srv does not existError: /Stage[main]/Openstackci::Logserver/File[/srv/static]/ensure: change from absent to directory failed: Cannot create /srv/static; parent directory /srv does not existError: Execution of '/usr/bin/yum -d 0 -e 0 -y list python-dev' returned 1: Error: No matching Packages to listError: /Stage[main]/Openstackci::Logserver/Package[python-dev]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list python-dev' returned 1: Error: No matching Packages to listNotice: /Stage[main]/Openstackci::Logserver/Exec[install_os-loganalyze]: Dependency Package[build-essential] has failures: trueNotice: /Stage[main]/Openstackci::Logserver/Exec[install_os-loganalyze]: Dependency Package[python-dev] has failures: trueWarning: /Stage[main]/Openstackci::Logserver/Exec[install_os-loganalyze]: Skipping because of failed dependenciesNotice: /Stage[main]/Httpd/Package[httpd]/ensure: createdInfo: /Stage[main]/Httpd/Package[httpd]: Scheduling refresh of Service[httpd]Notice: /Stage[main]/Httpd::Mod::Wsgi/Package[mod_wsgi_package]/ensure: createdInfo: FileBucket got a duplicate file {md5}09726332c2fd6fc73a57fbe69fc10427Info: /Stage[main]/Httpd/File[/etc/httpd/conf.d/autoindex.conf]: Filebucketed /etc/httpd/conf.d/autoindex.conf to puppet with sum 09726332c2fd6fc73a57fbe69fc10427Notice: /Stage[main]/Httpd/File[/etc/httpd/conf.d/autoindex.conf]/ensure: removedInfo: FileBucket got a duplicate file {md5}d4a2620683cc3ff2315c685f9f354265Info: /Stage[main]/Httpd/File[/etc/httpd/conf.d/userdir.conf]: Filebucketed /etc/httpd/conf.d/userdir.conf to puppet with sum d4a2620683cc3ff2315c685f9f354265Notice: /Stage[main]/Httpd/File[/etc/httpd/conf.d/userdir.conf]/ensure: removedInfo: FileBucket got a duplicate file {md5}9d1328b985d0851eb5bc610da6122f44Info: /Stage[main]/Httpd/File[/etc/httpd/conf.d/welcome.conf]: Filebucketed /etc/httpd/conf.d/welcome.conf to puppet with sum 9d1328b985d0851eb5bc610da6122f44Notice: /Stage[main]/Httpd/File[/etc/httpd/conf.d/welcome.conf]/ensure: removedNotice: /Stage[main]/Httpd::Ssl/Package[apache_ssl_package]/ensure: createdInfo: FileBucket got a duplicate file {md5}20b886e8496027dcbc31ed28d404ebb1Info: /Stage[main]/Httpd/File[/etc/httpd/conf.d/README]: Filebucketed /etc/httpd/conf.d/README to puppet with sum 20b886e8496027dcbc31ed28d404ebb1Notice: /Stage[main]/Httpd/File[/etc/httpd/conf.d/README]/ensure: removedInfo: httpd_vdir: Scheduling refresh of Service[httpd]Notice: /Stage[main]/Openstackci::Logserver/Vcsrepo[/opt/devstack-gate]/ensure: masterNotice: /Stage[main]/Openstackci::Logserver/Vcsrepo[/opt/devstack-gate]/ensure: Updating to latest 'master' revisionNotice: /Stage[main]/Openstackci::Logserver/Vcsrepo[/opt/devstack-gate]/ensure: ensure changed 'present' to 'latest'Notice: /Stage[main]/Openstackci::Logserver/File[/srv/static/logs]: Dependency File[/srv/static] has failures: trueWarning: /Stage[main]/Openstackci::Logserver/File[/srv/static/logs]: Skipping because of failed dependenciesNotice: /Stage[main]/Openstackci::Logserver/File[/srv/static/logs/robots.txt]: Dependency File[/srv/static] has failures: trueWarning: /Stage[main]/Openstackci::Logserver/File[/srv/static/logs/robots.txt]: Skipping because of failed dependenciesNotice: /Stage[main]/Openstackci::Logserver/Httpd::Vhost[logs.172.16.7.195]/File[50-logs.172.16.7.195.conf]: Dependency File[/srv/static] has failures: trueWarning: /Stage[main]/Openstackci::Logserver/Httpd::Vhost[logs.172.16.7.195]/File[50-logs.172.16.7.195.conf]: Skipping because of failed dependenciesNotice: /Stage[main]/Openstackci::Logserver/File[/srv/static/logs/help]: Dependency File[/srv/static] has failures: trueWarning: /Stage[main]/Openstackci::Logserver/File[/srv/static/logs/help]: Skipping because of failed dependenciesNotice: /Stage[main]/Openstackci::Logserver/File[/srv/static/logs/help/tempest-overview.html]: Dependency File[/srv/static] has failures: trueWarning: /Stage[main]/Openstackci::Logserver/File[/srv/static/logs/help/tempest-overview.html]: Skipping because of failed dependenciesNotice: /Stage[main]/Openstackci::Logserver/Httpd::Vhost[logs-dev.172.16.7.195]/File[51-logs-dev.172.16.7.195.conf]: Dependency File[/srv/static] has failures: trueWarning: /Stage[main]/Openstackci::Logserver/Httpd::Vhost[logs-dev.172.16.7.195]/File[51-logs-dev.172.16.7.195.conf]: Skipping because of failed dependenciesNotice: /Stage[main]/Httpd/Service[httpd]: Dependency Package[build-essential] has failures: trueNotice: /Stage[main]/Httpd/Service[httpd]: Dependency Package[python-dev] has failures: trueNotice: /Stage[main]/Httpd/Service[httpd]: Dependency File[/srv/static] has failures: trueWarning: /Stage[main]/Httpd/Service[httpd]: Skipping because of failed dependenciesNotice: /Stage[main]/Httpd/Service[httpd]: Triggered 'refresh' from 2 eventsNotice: /Stage[main]/Openstackci::Logserver/File[/srv/static/logs/help/tempest-logs.html]: Dependency File[/srv/static] has failures: trueWarning: /Stage[main]/Openstackci::Logserver/File[/srv/static/logs/help/tempest-logs.html]: Skipping because of failed dependenciesNotice: Finished catalog run in 130.47 seconds
I tried fix directory /srv/static/logs problem by run commandmkdir -p /srv/static/logsAnd re-run puppet apply, seemed installation passed, but I tried to login http://virtual_hostip, I got error like thisForbiddenYou don't have permission to access / on this server.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-infra/attachments/20160521/68281080/attachment-0001.html>


More information about the OpenStack-Infra mailing list