[openstack-dev] [openstack-ansible] git repo in infra_repo container not working

Lu, Lianhao lianhao.lu at intel.com
Thu Aug 11 02:51:54 UTC 2016

Hi guys,

I'm encounter new problems with the OSA SHA master eb3aec7827e78d81469ff4489c28963ee602117c (I use this version because previously the master version cf79d4f6 has problems with the nova transport_url settings which blocks nova-api to be launched), the problem is that the git repo in infra_repo containers not working, which blocks me from going on.

TASK [os_nova : Get package from git] ******************************************
FAILED - RETRYING: TASK: os_nova : Get package from git (4 retries left).
... ...
FAILED - RETRYING: TASK: os_nova : Get package from git (1 retries left).
fatal: [infra2_nova_console_container-2e227e79]: FAILED! => {"changed": false, "cmd": "/usr/bin/git ls-remote -h refs/heads/54cc41299be
a8cd681ed0262735e0fd821cd774a", "failed": true, "msg": "fatal: repository '' not found", "rc": 128, "stderr": "fatal: repository 'http:
//' not found\n", "stdout": "", "stdout_lines": []}

cmd: /usr/bin/git ls-remote -h refs/heads/54cc41299bea8cd681ed0262735e0fd821cd774a

msg: fatal: repository '' not found

stderr: fatal: repository '' not found

The is my LB ip(which use haproxy). I then "curl -L" and it worked ok.

Then I ssh into one of the infra-repo containers behind  the LB, and find the foloowings:

-          "curl" works, it display the file content under directory /var/www/repo/openstackgit/spice-html5/.

-          "git ls-remote /var/www/repo/openstackgit/spice-html5/" works.

-          "git ls-remote" doesn't.  It says "fatal: repository '' not found"

Seems the git repo over http is not working. I checked other repos under /var/www/repo/openstackgit/, e.g. ceilometer, neutron, nova, they all have the same problems.

Any suggestions?

-Lianhao Lu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160811/941d32a1/attachment.html>

More information about the OpenStack-dev mailing list