Can't fetch repos using 'git' protocol

Bug #1609012 reported by Andrey Sledzinskiy
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
fuel-ccp
Fix Released
Medium
Dmitry Russkikh

Bug Description

Steps:
1. Clone fuel-ccp and install requirements
2. Fetch repos using git protocol:
ccp --repositories-path $(pwd)/microservices-repos --repositories-protocol git --repositories-hostname git.openstack.org --repositories-port 9418 fetch

Expected - repos are fetched

Actual - cloning failed because of '@' before 'hostname'
Failed to fetch: 'git clone -v git://@git.openstack.org:9418/openstack/fuel-ccp-stacklight /home/asledzinskiy/Work/tmp/fuel-ccp/microservices-repos/fuel-ccp-stacklight' returned with exit code 128
fatal: unable to connect to @git.openstack.org

So it seems that our tool isn't implied to use 'git' protocol that is 'no authentication' protocol.
We should fix it or remove 'git' from options

Changed in fuel-ccp:
assignee: nobody → Dmitry Russkikh (drusskikh)
Changed in fuel-ccp:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ccp (master)

Fix proposed to branch: master
Review: https://review.openstack.org/362104

Changed in fuel-ccp:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ccp (master)

Reviewed: https://review.openstack.org/370342
Committed: https://git.openstack.org/cgit/openstack/fuel-ccp/commit/?id=8abb44ee316cb5a6841a4c7a059fcef9b07f8434
Submitter: Jenkins
Branch: master

commit 8abb44ee316cb5a6841a4c7a059fcef9b07f8434
Author: Yuriy Taraday <email address hidden>
Date: Wed Sep 14 19:28:43 2016 +0300

    Move repository URL generation down to fetch_repository

    We can't use config interpolation from oslo.config once we remove it and
    it won't solve this bug anyway because its template is static, so we
    should solve it where url is being used instead.

    Change-Id: I909e31c417508247456f2385dd23c049bcf688d8
    Closes-Bug: #1609012

Changed in fuel-ccp:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-ccp (master)

Change abandoned by Andrey Pavlov (<email address hidden>) on branch: master
Review: https://review.openstack.org/362104

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.