Re: [openstack-dev] [kolla] xenial or trusty
It is hard for kolla to support both release of Ubuntu. Because docker separate the image build from deploy. We have no idea about the Ubuntu version in Dockerfile except runing command to test it. We build the image by using Dockerfile. If we want support multi release of Ubuntu, the Dockerfile will looks like: RUN if [[ $(cat /etc/os-release | awk '/VERSION_ID/{print $2}') == '14.04' ]] then; \ apt-get install openjdk-7-jre \ elif $(cat /etc/os-release | awk '/VERSION_ID/{print $2}') == '16.04' ]] then; \ apt-get install openjdk-8-jre fi This is still possible. Think about how to use COPY in the Dockerfile to support multi Ubuntu release? like COPY sources.list /etc/apt/sources.list As far as I can find out is: COPY sources.list /etc/apt/sources.list RUN if [[ $(cat /etc/os-release | awk '/VERSION_ID/{print $2}') == '14.04' ]] then; \ sed -i 's/UBUNTU_RELEASE/trusty/' /etc/apt/sources.list \ elif $(cat /etc/os-release | awk '/VERSION_ID/{print $2}') == '16.04' ]] then; \ sed -i 's/UBUNTU_RELEASE/xenial/' /etc/apt/sources.list \ fi On Sat, May 7, 2016 at 12:51 AM, Jesse Pretorius wrote: > On 6 May 2016 at 16:27, Jeffrey Zhang wrote: > >> >> On Fri, May 6, 2016 at 9:09 PM, Jesse Pretorius < >> jesse.pretor...@gmail.com> wrote: >> >>> FWIW OpenStack-Ansible is choosing to support deployment on both Ubuntu >>> 14.04 LTS and Ubuntu 16.04 LTS for both the Newton and Ocata cycles, with >>> the current proposal to drop it in P. The intent is to provide our >>> deployers the opportunity to transition with a mixed deployment. >> >> >> Are you meaning the host/baremetal OS? the openstack-ansible deploy the >> OpenStack in LXC. >> So it really do not care about the host machine's OS. Kolla is not care >> about it, too. >> I think the openstack-ansible a specify LXC image, and do not support >> multi base image. >> >> if not, could u provide any prove for this? >> > > OSA supports the implementation of OpenStack on bare metal or in LXC > machine containers, so we need to cater for both. When an LXC machine > container is deployed we've chosen to use the strategy of always > implementing the same OS in the container as is implemented on the host. > This simplifies our testing greatly. > > For the sake of background information, seeing as you asked, the base LXC > image we're using comes from https://images.linuxcontainers.org/ giving > us the ability to support multiple versions, multiple distributions and > multiple architectures, and it's especially nifty that the entire image > build process is open source and therefore can be implemented and > customised by our deployers. > > I guess this is similar for Kolla in a different way because the image > pipeline is defined by the project and implemented through the docker image > building processes. > > __ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > -- Regards, Jeffrey Zhang Blog: http://xcodest.me __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [kolla] xenial or trusty
On 5/6/16, 8:32 AM, "Emilien Macchi" wrote: >On Fri, May 6, 2016 at 9:09 AM, Jesse Pretorius > wrote: >> On 4 May 2016 at 19:21, Emilien Macchi wrote: >>> >>> On Wed, May 4, 2016 at 1:52 PM, Jeffrey Zhang >>> wrote: >>> > I'd like to lock the tag version in certain branch. One branch only >>> > support >>> > one >>> > distro release. >>> > >>> > For example, the mitaka branch only build on Trusty and the >>> > master/newton >>> > branch >>> > only build on Xenial. >>> > >>> > So, the branch and OS matrix should like ( fix me and the ?) >>> > >>> > Ubuntu CentOS Debian OracleLinux >>> > Liberty14.047 ? ? >>> > Mitaka 14.047 ? ? >>> > Master 16.047 ? ? >>> >>> FWIW, this is what we plan to do in Puppet OpenStack CI (except we >>> don't gate on OracleLinux & Debian). >> >> >> FWIW OpenStack-Ansible is choosing to support deployment on both Ubuntu >> 14.04 LTS and Ubuntu 16.04 LTS for both the Newton and Ocata cycles, >>with >> the current proposal to drop it in P. The intent is to provide our >>deployers >> the opportunity to transition with a mixed deployment. > >AFIK Newton can only be deployed on Xenial, there won't be support on >Trusty (iirc my conversation with UCA folks). >So I'm curious how you're going to do. Are you building your own packages? OK well this changes things. I hadn't heard of this. In this case, I think we need to implement whatever is rationale, which is probably trusty and xenial side by side. Do you have a reference to the discussion about Xenial? Regards -steve > >Puppet OpenStack CI is using upstream packaging provided by Ubuntu (UCA). > >> Obviously YMMV and our plans may change based on the actual >>implementation >> details. >> >> >>_ >>_ >> OpenStack Development Mailing List (not for usage questions) >> Unsubscribe: >>openstack-dev-requ...@lists.openstack.org?subject:unsubscribe >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >> > > > >-- >Emilien Macchi > >__ >OpenStack Development Mailing List (not for usage questions) >Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe >http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [kolla] xenial or trusty
On 6 May 2016 at 16:27, Jeffrey Zhang wrote: > > On Fri, May 6, 2016 at 9:09 PM, Jesse Pretorius > wrote: > >> FWIW OpenStack-Ansible is choosing to support deployment on both Ubuntu >> 14.04 LTS and Ubuntu 16.04 LTS for both the Newton and Ocata cycles, with >> the current proposal to drop it in P. The intent is to provide our >> deployers the opportunity to transition with a mixed deployment. > > > Are you meaning the host/baremetal OS? the openstack-ansible deploy the > OpenStack in LXC. > So it really do not care about the host machine's OS. Kolla is not care > about it, too. > I think the openstack-ansible a specify LXC image, and do not support > multi base image. > > if not, could u provide any prove for this? > OSA supports the implementation of OpenStack on bare metal or in LXC machine containers, so we need to cater for both. When an LXC machine container is deployed we've chosen to use the strategy of always implementing the same OS in the container as is implemented on the host. This simplifies our testing greatly. For the sake of background information, seeing as you asked, the base LXC image we're using comes from https://images.linuxcontainers.org/ giving us the ability to support multiple versions, multiple distributions and multiple architectures, and it's especially nifty that the entire image build process is open source and therefore can be implemented and customised by our deployers. I guess this is similar for Kolla in a different way because the image pipeline is defined by the project and implemented through the docker image building processes. __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [kolla] xenial or trusty
-Original Message- From: Emilien Macchi Reply: OpenStack Development Mailing List (not for usage questions) Date: May 6, 2016 at 10:34:29 To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [kolla] xenial or trusty > On Fri, May 6, 2016 at 9:09 AM, Jesse Pretorius > wrote: > > On 4 May 2016 at 19:21, Emilien Macchi wrote: > >> > >> On Wed, May 4, 2016 at 1:52 PM, Jeffrey Zhang > >> wrote: > >> > I'd like to lock the tag version in certain branch. One branch only > >> > support > >> > one > >> > distro release. > >> > > >> > For example, the mitaka branch only build on Trusty and the > >> > master/newton > >> > branch > >> > only build on Xenial. > >> > > >> > So, the branch and OS matrix should like ( fix me and the ?) > >> > > >> > Ubuntu CentOS Debian OracleLinux > >> > Liberty 14.04 7 ? ? > >> > Mitaka 14.04 7 ? ? > >> > Master 16.04 7 ? ? > >> > >> FWIW, this is what we plan to do in Puppet OpenStack CI (except we > >> don't gate on OracleLinux & Debian). > > > > > > FWIW OpenStack-Ansible is choosing to support deployment on both Ubuntu > > 14.04 LTS and Ubuntu 16.04 LTS for both the Newton and Ocata cycles, with > > the current proposal to drop it in P. The intent is to provide our deployers > > the opportunity to transition with a mixed deployment. > > AFIK Newton can only be deployed on Xenial, there won't be support on > Trusty (iirc my conversation with UCA folks). > So I'm curious how you're going to do. Are you building your own packages? > > Puppet OpenStack CI is using upstream packaging provided by Ubuntu (UCA). OSA installs from source for OpenStack services and all Python dependencies. This is how it can support both simultaneously. -- Ian Cordasco __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [kolla] xenial or trusty
On Fri, May 6, 2016 at 9:09 AM, Jesse Pretorius wrote: > On 4 May 2016 at 19:21, Emilien Macchi wrote: >> >> On Wed, May 4, 2016 at 1:52 PM, Jeffrey Zhang >> wrote: >> > I'd like to lock the tag version in certain branch. One branch only >> > support >> > one >> > distro release. >> > >> > For example, the mitaka branch only build on Trusty and the >> > master/newton >> > branch >> > only build on Xenial. >> > >> > So, the branch and OS matrix should like ( fix me and the ?) >> > >> > Ubuntu CentOS Debian OracleLinux >> > Liberty14.047 ? ? >> > Mitaka 14.047 ? ? >> > Master 16.047 ? ? >> >> FWIW, this is what we plan to do in Puppet OpenStack CI (except we >> don't gate on OracleLinux & Debian). > > > FWIW OpenStack-Ansible is choosing to support deployment on both Ubuntu > 14.04 LTS and Ubuntu 16.04 LTS for both the Newton and Ocata cycles, with > the current proposal to drop it in P. The intent is to provide our deployers > the opportunity to transition with a mixed deployment. AFIK Newton can only be deployed on Xenial, there won't be support on Trusty (iirc my conversation with UCA folks). So I'm curious how you're going to do. Are you building your own packages? Puppet OpenStack CI is using upstream packaging provided by Ubuntu (UCA). > Obviously YMMV and our plans may change based on the actual implementation > details. > > __ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > -- Emilien Macchi __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [kolla] xenial or trusty
On Fri, May 6, 2016 at 9:09 PM, Jesse Pretorius wrote: > FWIW OpenStack-Ansible is choosing to support deployment on both Ubuntu > 14.04 LTS and Ubuntu 16.04 LTS for both the Newton and Ocata cycles, with > the current proposal to drop it in P. The intent is to provide our > deployers the opportunity to transition with a mixed deployment. Are you meaning the host/baremetal OS? the openstack-ansible deploy the OpenStack in LXC. So it really do not care about the host machine's OS. Kolla is not care about it, too. I think the openstack-ansible a specify LXC image, and do not support multi base image. if not, could u provide any prove for this? -- Regards, Jeffrey Zhang Blog: http://xcodest.me __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [kolla] xenial or trusty
On 4 May 2016 at 19:21, Emilien Macchi wrote: > On Wed, May 4, 2016 at 1:52 PM, Jeffrey Zhang > wrote: > > I'd like to lock the tag version in certain branch. One branch only > support > > one > > distro release. > > > > For example, the mitaka branch only build on Trusty and the master/newton > > branch > > only build on Xenial. > > > > So, the branch and OS matrix should like ( fix me and the ?) > > > > Ubuntu CentOS Debian OracleLinux > > Liberty14.047 ? ? > > Mitaka 14.047 ? ? > > Master 16.047 ? ? > > FWIW, this is what we plan to do in Puppet OpenStack CI (except we > don't gate on OracleLinux & Debian). FWIW OpenStack-Ansible is choosing to support deployment on both Ubuntu 14.04 LTS and Ubuntu 16.04 LTS for both the Newton and Ocata cycles, with the current proposal to drop it in P. The intent is to provide our deployers the opportunity to transition with a mixed deployment. Obviously YMMV and our plans may change based on the actual implementation details. __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [kolla] xenial or trusty
FYI all blockers that we have in puppet CI: https://etherpad.openstack.org/p/puppet-openstack-xenial HTH On Wed, May 4, 2016 at 4:20 PM, Carlos Cesario - Tecnomega wrote: > Hi folks, > > Based in that request, it follows a proposed patch to add support to Ubuntu > Xenial - 16.04. > > For while, instead to locking distro version in branches this can be used, > since Mitaka version is supported by Ubuntu Trusty and Xenial versions. > > http://paste.openstack.org/show/496142/ > > Comments and tests are welcome. If is it ok, I can provide a patch set. > > Best regards, > > Carlos > > __ > > > > De: Emilien Macchi > Enviado: quarta-feira, 4 de maio de 2016 15:21:14 > Para: OpenStack Development Mailing List (not for usage questions) > Assunto: Re: [openstack-dev] [kolla] xenial or trusty > > On Wed, May 4, 2016 at 1:52 PM, Jeffrey Zhang wrote: >> I'd like to lock the tag version in certain branch. One branch only support >> one >> distro release. >> >> For example, the mitaka branch only build on Trusty and the master/newton >> branch >> only build on Xenial. >> >> So, the branch and OS matrix should like ( fix me and the ?) >> >> Ubuntu CentOS Debian OracleLinux >> Liberty14.047 ? ? >> Mitaka 14.047 ? ? >> Master 16.047 ? ? > > FWIW, this is what we plan to do in Puppet OpenStack CI (except we > don't gate on OracleLinux & Debian). > >> this is enough and easy to maintain. >> >> On Thu, May 5, 2016 at 1:14 AM, Mauricio Lima >> wrote: >>> >>> Which will be the default when kolla begin to support xenial? Xenial or >>> Trusty? >>> >>> One proposal is to support both, at least in this beginning and just do >>> some checks to get which version that the user is using. >>> >>> Regards, >>> >>> __ >>> OpenStack Development Mailing List (not for usage questions) >>> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe >>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >>> >> >> >> >> -- >> Regards, >> Jeffrey Zhang >> Blog: http://xcodest.me >> >> __ >> OpenStack Development Mailing List (not for usage questions) >> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >> > > > > -- > Emilien Macchi > > __ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > __ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Emilien Macchi __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [kolla] xenial or trusty
Hi folks, Based in that request, it follows a proposed patch to add support to Ubuntu Xenial - 16.04. For while, instead to locking distro version in branches this can be used, since Mitaka version is supported by Ubuntu Trusty and Xenial versions. http://paste.openstack.org/show/496142/ Comments and tests are welcome. If is it ok, I can provide a patch set. Best regards, Carlos __ De: Emilien Macchi Enviado: quarta-feira, 4 de maio de 2016 15:21:14 Para: OpenStack Development Mailing List (not for usage questions) Assunto: Re: [openstack-dev] [kolla] xenial or trusty On Wed, May 4, 2016 at 1:52 PM, Jeffrey Zhang wrote: > I'd like to lock the tag version in certain branch. One branch only support > one > distro release. > > For example, the mitaka branch only build on Trusty and the master/newton > branch > only build on Xenial. > > So, the branch and OS matrix should like ( fix me and the ?) > > Ubuntu CentOS Debian OracleLinux > Liberty14.047 ? ? > Mitaka 14.047 ? ? > Master 16.047 ? ? FWIW, this is what we plan to do in Puppet OpenStack CI (except we don't gate on OracleLinux & Debian). > this is enough and easy to maintain. > > On Thu, May 5, 2016 at 1:14 AM, Mauricio Lima > wrote: >> >> Which will be the default when kolla begin to support xenial? Xenial or >> Trusty? >> >> One proposal is to support both, at least in this beginning and just do >> some checks to get which version that the user is using. >> >> Regards, >> >> __ >> OpenStack Development Mailing List (not for usage questions) >> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >> > > > > -- > Regards, > Jeffrey Zhang > Blog: http://xcodest.me > > __ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > -- Emilien Macchi __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [kolla] xenial or trusty
On Wed, May 4, 2016 at 1:52 PM, Jeffrey Zhang wrote: > I'd like to lock the tag version in certain branch. One branch only support > one > distro release. > > For example, the mitaka branch only build on Trusty and the master/newton > branch > only build on Xenial. > > So, the branch and OS matrix should like ( fix me and the ?) > > Ubuntu CentOS Debian OracleLinux > Liberty14.047 ? ? > Mitaka 14.047 ? ? > Master 16.047 ? ? FWIW, this is what we plan to do in Puppet OpenStack CI (except we don't gate on OracleLinux & Debian). > this is enough and easy to maintain. > > On Thu, May 5, 2016 at 1:14 AM, Mauricio Lima > wrote: >> >> Which will be the default when kolla begin to support xenial? Xenial or >> Trusty? >> >> One proposal is to support both, at least in this beginning and just do >> some checks to get which version that the user is using. >> >> Regards, >> >> __ >> OpenStack Development Mailing List (not for usage questions) >> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >> > > > > -- > Regards, > Jeffrey Zhang > Blog: http://xcodest.me > > __ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > -- Emilien Macchi __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [kolla] xenial or trusty
I'd like to lock the tag version in certain branch. One branch only support one distro release. For example, the mitaka branch only build on Trusty and the master/newton branch only build on Xenial. So, the branch and OS matrix should like ( fix me and the ?) Ubuntu CentOS Debian OracleLinux Liberty14.047 ? ? Mitaka 14.047 ? ? Master 16.047 ? ? this is enough and easy to maintain. On Thu, May 5, 2016 at 1:14 AM, Mauricio Lima wrote: > Which will be the default when kolla begin to support xenial? Xenial or > Trusty? > > One proposal is to support both, at least in this beginning and just do > some checks to get which version that the user is using. > > Regards, > > __ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > -- Regards, Jeffrey Zhang Blog: http://xcodest.me __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev