[OpenStack-Infra] Urgent Action required for Project openstack/deb-openstack-pkg-tools

Thomas Goirand zigo at debian.org
Fri Oct 23 20:47:47 UTC 2015


On 10/23/2015 08:40 PM, Asselin, Ramy wrote:
> Hello,
> 
> I found all your e-mails as ‘Authors’ in commits for
> openstack/deb-openstack-pkg-tools. We’re currently facing an issue where
> this project is not correctly checking out because HEAD is pointing to
> master, but there is no master branch [1].  This is causing some other
> tools to fail, in particular nodepool image builds [2].
> 
> Would any of you be able to help determine what the correct solution is?
> For example, create a mater branch pointing to the current debian/libery
> revision? Or an empty master with a simple README? Please advise.
> 
> Thanks,
> 
> Ramy

Hi Ramy,

There should, at no point, be a master branch stored in any of the
Debian packaging repositories. The reason is that typically, the master
branch belongs to the upstream project. For example, the repository
openstack/deb-nova will have a debian/liberty branch, and master will be
the branch from upstream.

In this particular case, this is a bit special, as openstack-pkg-tools
is *not* an upstream project, but a Debian native package. Never the
less, there is no master branch which we want to use.

The solution, IMO, is to fix the symbolic ref to point at the correct
branch. Using git, I would simply do:

git symbolic-ref HEAD refs/heads/debian/liberty

This is to be done on the bare Git repository on the server, and cannot
be done by a commit to the repository, as much as I know.

Does this help? Can I do more?

Cheers,

Thomas Goirand (zigo)

> [1]
> https://review.openstack.org/#/admin/projects/openstack/deb-openstack-pkg-tools,branches
> 
> [2]
> 
> 2015-10-23 09:42:17,656 INFO nodepool.image.build.dpc: + echo 'Caching
> deb-openstack-pkg-tools from
> https://git.openstack.org/openstack/deb-openstack-pkg-tools.git in
> /opt/dib_cache/source-repositories/deb_openstack_pkg_tool
> 
> s_f2d766b95796f42989fd48749eecb6e6632f36b6'
> 
> 2015-10-23 09:42:17,656 INFO nodepool.image.build.dpc: Caching
> deb-openstack-pkg-tools from
> https://git.openstack.org/openstack/deb-openstack-pkg-tools.git in
> /opt/dib_cache/source-repositories/deb_openstack_pkg_tools_f2d766
> 
> b95796f42989fd48749eecb6e6632f36b6
> 
> 2015-10-23 09:42:17,656 INFO nodepool.image.build.dpc: + git clone
> https://git.openstack.org/openstack/deb-openstack-pkg-tools.git
> /opt/dib_cache/source-repositories/deb_openstack_pkg_tools_f2d766b95796f42989fd48749eecb6e663
> 
> 2f36b6.tmp
> 
> 2015-10-23 09:42:17,658 INFO nodepool.image.build.dpc: Cloning into
> '/opt/dib_cache/source-repositories/deb_openstack_pkg_tools_f2d766b95796f42989fd48749eecb6e6632f36b6.tmp'...
> 
> 2015-10-23 09:42:19,063 INFO nodepool.image.build.dpc: warning: remote
> HEAD refers to nonexistent ref, unable to checkout.
> 
>  
> 




More information about the OpenStack-Infra mailing list