[OpenStack-Infra] 回复:回复:Re: [openstack_infra] setup openstack ci logserver questions on CentOS 7
Hi Again, seemed www-data user/group only existed in Ubuntu while CentOS don`t have it.So, we have to create them manually too. Thanks! BRs/Xu Gang - 原始邮件 - 发件人: 收件人:"Paul Belanger" , "Arie Bregman" , 抄送人:"openstack-infra" 主题:回复:Re: [OpenStack-Infra] [openstack_infra] setup openstack ci logserver questions on CentOS 7 日期:2016年05月23日 09点50分 Hi all, Thanks your quick response first! I did some test on CentOS 7 this weekend I know current openstack ci team worked hard to make good progress.But I have to say, it is really not work in CentOS 7 for current puppet deploy I did below modification and solved the problem. 1. mkdir -p /srv/static/logs manually2. As apache already is 2.4, we have to modify virtual_host.conf(this is one example) to use below command instead. Require all granted For example, Options Indexes FollowSymLinks MultiViews AllowOverride None# Order allow,deny# Allow from allSatisfy Any Require all granted 3. Restart httpd, this time,everything worked. Thanks again! BRs/Xu Gang - 原始邮件 - 发件人:Paul Belanger 收件人:Arie Bregman 抄送人:xugang_u...@sina.com, openstack-infra 主题:Re: [OpenStack-Infra] [openstack_infra] setup openstack ci logserver questions on CentOS 7 日期:2016年05月21日 21点59分 On Sat, May 21, 2016 at 04:28:18PM +0300, Arie Bregman wrote: > From looking on the code, it looks like centos/rhel should be supported[1] > This only means our install_puppet.sh script support CentOS. We use it as an entry point for the Jenkins slaves we run in the gate. 99% of the services we run for OpenStack only support Ubuntu as the OS (minus the git servers they run CentOS). > 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. > puppet-openstackci really is only tested using Ubuntu Trusty (eventually Ubuntu Xenial). So, you're likely better defaulting to that OS to use the puppet modules from openstack-infra. Some of the modules do support CentOS, however they are not regularly installed upstream. We do have basic testing coverage from beaker but that is not 100% based on your error below. > > [1] > https://github.com/openstack-infra/system-config/blob/master/install_puppet.sh#L30 > > On Sat, May 21, 2016 at 4:04 PM, 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/fac
Re: [OpenStack-Infra] 回复:回复:Re: [openstack_infra] setup openstack ci logserver questions on CentOS 7
It uses Apache group and users in Red Hat and centos Inviato da iPhone > Il giorno 22 mag 2016, alle ore 19:35, > ha scritto: > > Hi > > > > Again, seemed www-data user/group only existed in Ubuntu while CentOS don`t > have it. > > So, we have to create them manually too. > > > > Thanks! > > > > BRs/Xu Gang > > > > - 原始邮件 - > 发件人: > 收件人:"Paul Belanger" , "Arie Bregman" > , > 抄送人:"openstack-infra" > 主题:回复:Re: [OpenStack-Infra] [openstack_infra] setup openstack ci logserver > questions on CentOS 7 > 日期:2016年05月23日 09点50分 > > Hi all, > > > > Thanks your quick response first! > > > > I did some test on CentOS 7 this weekend > > > > I know current openstack ci team worked hard to make good progress. > > But I have to say, it is really not work in CentOS 7 for current puppet deploy > > > > I did below modification and solved the problem. > > > > 1. mkdir -p /srv/static/logs manually > > 2. As apache already is 2.4, we have to modify virtual_host.conf(this is one > example) to use below command instead. > > > > Require all granted > > > For example, > > > > > > Options Indexes FollowSymLinks MultiViews > > AllowOverride None > > # Order allow,deny > > # Allow from all > > Satisfy Any > > Require all granted > > > > 3. Restart httpd, this time,everything worked. > > > > Thanks again! > > > > BRs/Xu Gang > > > > - 原始邮件 - > 发件人:Paul Belanger > 收件人:Arie Bregman > 抄送人:xugang_u...@sina.com, openstack-infra > > 主题:Re: [OpenStack-Infra] [openstack_infra] setup openstack ci logserver > questions on CentOS 7 > 日期:2016年05月21日 21点59分 > > > On Sat, May 21, 2016 at 04:28:18PM +0300, Arie Bregman wrote: > > From looking on the code, it looks like centos/rhel should be supported[1] > > > This only means our install_puppet.sh script support CentOS. We use it as an > entry point for the Jenkins slaves we run in the gate. 99% of the services we > run for OpenStack only support Ubuntu as the OS (minus the git servers they > run > CentOS). > > 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. > > > puppet-openstackci really is only tested using Ubuntu Trusty (eventually > Ubuntu > Xenial). So, you're likely better defaulting to that OS to use the puppet > modules from openstack-infra. > Some of the modules do support CentOS, however they are not regularly > installed > upstream. We do have basic testing coverage from beaker but that is not 100% > based on your error below. > > > > [1] > > https://github.com/openstack-infra/system-config/blob/master/install_puppet.sh#L30 > > > > On Sat, May 21, 2016 at 4:04 PM, 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/stdli
[OpenStack-Infra] 回复:Re: [openstack_infra] setup openstack ci logserver questions on CentOS 7
Hi all, Thanks your quick response first! I did some test on CentOS 7 this weekend I know current openstack ci team worked hard to make good progress.But I have to say, it is really not work in CentOS 7 for current puppet deploy I did below modification and solved the problem. 1. mkdir -p /srv/static/logs manually2. As apache already is 2.4, we have to modify virtual_host.conf(this is one example) to use below command instead. Require all granted For example, Options Indexes FollowSymLinks MultiViews AllowOverride None# Order allow,deny# Allow from allSatisfy Any Require all granted 3. Restart httpd, this time,everything worked. Thanks again! BRs/Xu Gang - 原始邮件 - 发件人:Paul Belanger 收件人:Arie Bregman 抄送人:xugang_u...@sina.com, openstack-infra 主题:Re: [OpenStack-Infra] [openstack_infra] setup openstack ci logserver questions on CentOS 7 日期:2016年05月21日 21点59分 On Sat, May 21, 2016 at 04:28:18PM +0300, Arie Bregman wrote: > From looking on the code, it looks like centos/rhel should be supported[1] > This only means our install_puppet.sh script support CentOS. We use it as an entry point for the Jenkins slaves we run in the gate. 99% of the services we run for OpenStack only support Ubuntu as the OS (minus the git servers they run CentOS). > 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. > puppet-openstackci really is only tested using Ubuntu Trusty (eventually Ubuntu Xenial). So, you're likely better defaulting to that OS to use the puppet modules from openstack-infra. Some of the modules do support CentOS, however they are not regularly installed upstream. We do have basic testing coverage from beaker but that is not 100% based on your error below. > > [1] > https://github.com/openstack-infra/system-config/blob/master/install_puppet.sh#L30 > > On Sat, May 21, 2016 at 4:04 PM, 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/modu
Re: [OpenStack-Infra] [openstack-dev] [infra] [tracking] Renames and verification; was Re: ceilometer-specs submodule path is invalid
On Sat, May 21, 2016 at 2:09 AM, Jeremy Stanley wrote: > On 2016-05-20 09:52:39 +0800 (+0800), Gerard Braad wrote: >> It seems jenkins updates the information, but this happens from a >> working copy > I'm not sure why "it seems jenkins updates the information" as it > definitely doesn't. You can see that file's full commit history I meant the updates to the whole repo. Jenkins updates the references for a gitmodule and commits this when a successful build was performed. Correct? However, it does not do an update of the gitmodules... -- Gerard Braad F/OSS & IT Consultant http://gbraad.nl ___ OpenStack-Infra mailing list OpenStack-Infra@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra