>From looking on the code, it looks like centos/rhel should be supported[1]
The error is: "Cannot create /srv/static; parent directory /srv does not exist" It assumes '/srv' exists. As far as I know it should be true for common centos/rhel instillation, but maybe this assumption isn't true for all centos installation types. Possible solution can be ensuring both '/srv' and '/srv/static' are present. [1] https://github.com/openstack-infra/system-config/blob/master/install_puppet.sh#L30 On Sat, May 21, 2016 at 4:04 PM, <[email protected]> wrote: > Hi > > > I am try to setup openstack ci in our company by follow below doc url > > http://docs.openstack.org/infra/openstackci/index.html > > > Seemed this doc was only tested on Ubuntu 14.04 > > > Questions > > 1. 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@pmo03 puppet]# puppet apply --verbose ./manifests/site.pp > > Info: Loading external facts from /etc/puppet/modules/openstacklib/facts.d > > Info: Loading facts in /etc/puppet/modules/mysql/lib/facter/mysql_version.rb > > Info: Loading facts in > /etc/puppet/modules/mysql/lib/facter/mysql_server_id.rb > > Info: Loading facts in > /etc/puppet/modules/gnupg/lib/facter/gnupg_installed.rb > > Info: Loading facts in /etc/puppet/modules/gnupg/lib/facter/gnupg_command.rb > > Info: Loading facts in /etc/puppet/modules/apt/lib/facter/apt_updates.rb > > Info: Loading facts in > /etc/puppet/modules/apt/lib/facter/apt_update_last_succes > s.rb > > Info: Loading facts in > /etc/puppet/modules/apt/lib/facter/apt_reboot_required.rb > > Info: Loading facts in > /etc/puppet/modules/firewall/lib/facter/iptables_version. > rb > > Info: Loading facts in > /etc/puppet/modules/firewall/lib/facter/iptables_persiste > nt_version.rb > > Info: Loading facts in > /etc/puppet/modules/firewall/lib/facter/ip6tables_version > .rb > > Info: Loading facts in > /etc/puppet/modules/stdlib/lib/facter/package_provider.rb > > Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/facter_dot_d.rb > > Info: Loading facts in > /etc/puppet/modules/stdlib/lib/facter/puppet_vardir.rb > > Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/root_home.rb > > Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/pe_version.rb > > Info: Loading facts in > /etc/puppet/modules/stdlib/lib/facter/service_provider.rb > > Info: Loading facts in > /etc/puppet/modules/concat/lib/facter/concat_basedir.rb > > Info: Loading facts in > /etc/puppet/modules/archive/lib/facter/archive_windir.rb > > Info: Loading facts in > /etc/puppet/modules/selinux/lib/facter/selinux_custom_pol > icy.rb > > Info: Loading facts in /etc/puppet/modules/jenkins/lib/facter/dpkg.rb > > Info: Loading facts in > /etc/puppet/modules/jenkins/lib/facter/memorytotalbytes.r > b > > Info: Loading facts in > /etc/puppet/modules/haproxy/lib/facter/haproxy_version.rb > > Info: Loading facts in > /etc/puppet/modules/python/lib/facter/python_version.rb > > Info: Loading facts in /etc/puppet/modules/python/lib/facter/pip_version.rb > > Info: Loading facts in > /etc/puppet/modules/python/lib/facter/virtualenv_version. > rb > > Info: Loading facts in > /etc/puppet/modules/openstacklib/lib/facter/os_service_de > fault.rb > > Info: Loading facts in > /etc/puppet/modules/openstacklib/lib/facter/os_package_ty > pe.rb > > Info: Loading facts in > /etc/puppet/modules/staging/lib/facter/staging_windir.rb > > Info: Loading facts in > /etc/puppet/modules/staging/lib/facter/staging_http_get.r > b > > Error: NetworkManager is not running. > > Notice: Compiled catalog for pmo03.chinac.com in environment production in > 1.17 seconds > > Warning: 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 bzr > > Info: 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 list > > Error: /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 list > > Error: Cannot create /srv/static; parent directory /srv does not exist > > Error: /Stage[main]/Openstackci::Logserver/File[/srv/static]/ensure: change > from absent to directory failed: Cannot create /srv/static; parent directory > /srv does not exist > > Error: Execution of '/usr/bin/yum -d 0 -e 0 -y list python-dev' returned 1: > Error: No matching Packages to list > > Error: /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 list > > Notice: /Stage[main]/Openstackci::Logserver/Exec[install_os-loganalyze]: > Dependency Package[build-essential] has failures: true > > Notice: /Stage[main]/Openstackci::Logserver/Exec[install_os-loganalyze]: > Dependency Package[python-dev] has failures: true > > Warning: /Stage[main]/Openstackci::Logserver/Exec[install_os-loganalyze]: > Skipping because of failed dependencies > > Notice: /Stage[main]/Httpd/Package[httpd]/ensure: created > > Info: /Stage[main]/Httpd/Package[httpd]: Scheduling refresh of > Service[httpd] > > Notice: /Stage[main]/Httpd::Mod::Wsgi/Package[mod_wsgi_package]/ensure: > created > > Info: FileBucket got a duplicate file {md5}09726332c2fd6fc73a57fbe69fc10427 > > Info: /Stage[main]/Httpd/File[/etc/httpd/conf.d/autoindex.conf]: > Filebucketed /etc/httpd/conf.d/autoindex.conf to puppet with sum > 09726332c2fd6fc73a57fbe69fc10427 > > Notice: /Stage[main]/Httpd/File[/etc/httpd/conf.d/autoindex.conf]/ensure: > removed > > Info: FileBucket got a duplicate file {md5}d4a2620683cc3ff2315c685f9f354265 > > Info: /Stage[main]/Httpd/File[/etc/httpd/conf.d/userdir.conf]: Filebucketed > /etc/httpd/conf.d/userdir.conf to puppet with sum > d4a2620683cc3ff2315c685f9f354265 > > Notice: /Stage[main]/Httpd/File[/etc/httpd/conf.d/userdir.conf]/ensure: > removed > > Info: FileBucket got a duplicate file {md5}9d1328b985d0851eb5bc610da6122f44 > > Info: /Stage[main]/Httpd/File[/etc/httpd/conf.d/welcome.conf]: Filebucketed > /etc/httpd/conf.d/welcome.conf to puppet with sum > 9d1328b985d0851eb5bc610da6122f44 > > Notice: /Stage[main]/Httpd/File[/etc/httpd/conf.d/welcome.conf]/ensure: > removed > > Notice: /Stage[main]/Httpd::Ssl/Package[apache_ssl_package]/ensure: created > > Info: FileBucket got a duplicate file {md5}20b886e8496027dcbc31ed28d404ebb1 > > Info: /Stage[main]/Httpd/File[/etc/httpd/conf.d/README]: Filebucketed > /etc/httpd/conf.d/README to puppet with sum 20b886e8496027dcbc31ed28d404ebb1 > > Notice: /Stage[main]/Httpd/File[/etc/httpd/conf.d/README]/ensure: removed > > Info: httpd_vdir: Scheduling refresh of Service[httpd] > > Notice: > /Stage[main]/Openstackci::Logserver/Vcsrepo[/opt/devstack-gate]/ensure: > master > > Notice: > /Stage[main]/Openstackci::Logserver/Vcsrepo[/opt/devstack-gate]/ensure: > Updating to latest 'master' revision > > Notice: > /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: true > > Warning: /Stage[main]/Openstackci::Logserver/File[/srv/static/logs]: > Skipping because of failed dependencies > > Notice: > /Stage[main]/Openstackci::Logserver/File[/srv/static/logs/robots.txt]: > Dependency File[/srv/static] has failures: true > > Warning: > /Stage[main]/Openstackci::Logserver/File[/srv/static/logs/robots.txt]: > Skipping because of failed dependencies > > Notice: > /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: true > > Warning: > /Stage[main]/Openstackci::Logserver/Httpd::Vhost[logs.172.16.7.195]/File[50-logs.172.16.7.195.conf]: > Skipping because of failed dependencies > > Notice: /Stage[main]/Openstackci::Logserver/File[/srv/static/logs/help]: > Dependency File[/srv/static] has failures: true > > Warning: /Stage[main]/Openstackci::Logserver/File[/srv/static/logs/help]: > Skipping because of failed dependencies > > Notice: > /Stage[main]/Openstackci::Logserver/File[/srv/static/logs/help/tempest-overview.html]: > Dependency File[/srv/static] has failures: true > > Warning: > /Stage[main]/Openstackci::Logserver/File[/srv/static/logs/help/tempest-overview.html]: > Skipping because of failed dependencies > > Notice: > /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: true > > Warning: > /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 dependencies > > Notice: /Stage[main]/Httpd/Service[httpd]: Dependency > Package[build-essential] has failures: true > > Notice: /Stage[main]/Httpd/Service[httpd]: Dependency Package[python-dev] > has failures: true > > Notice: /Stage[main]/Httpd/Service[httpd]: Dependency File[/srv/static] has > failures: true > > Warning: /Stage[main]/Httpd/Service[httpd]: Skipping because of failed > dependencies > > Notice: /Stage[main]/Httpd/Service[httpd]: Triggered 'refresh' from 2 events > > Notice: > /Stage[main]/Openstackci::Logserver/File[/srv/static/logs/help/tempest-logs.html]: > Dependency File[/srv/static] has failures: true > > Warning: > /Stage[main]/Openstackci::Logserver/File[/srv/static/logs/help/tempest-logs.html]: > Skipping because of failed dependencies > > Notice: Finished catalog run in 130.47 seconds > > > I tried fix directory /srv/static/logs problem by run command > > mkdir -p /srv/static/logs > > And re-run puppet apply, seemed installation passed, but I tried to login > http://virtual_hostip, I got error like this > > Forbidden > > You 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. > > > > > _______________________________________________ > OpenStack-Infra mailing list > [email protected] > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra > _______________________________________________ OpenStack-Infra mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra
