Like this:

ubuntu@ip-172-31-34-72:~/opencontrail/vnc$ repo init -u
https://github.com/Juniper/contrail-vnc
Get https://gerrit.googlesource.com/git-repo/clone.bundle
Get https://gerrit.googlesource.com/git-repo
remote: Finding sources: 100% (32/32)
remote: Total 32 (delta 12), reused 32 (delta 12)
Unpacking objects: 100% (32/32), done.
>From https://gerrit.googlesource.com/git-repo
   82f6798..b881d22  master     -> origin/master
Get https://github.com/Juniper/contrail-vnc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                 Dload  Upload   Total   Spent    Left
 Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
  0
curl: (22) The requested URL returned error: 404 Not Found
Server does not provide clone.bundle; ignoring.
remote: Counting objects: 514, done.
remote: Total 514 (delta 0), reused 0 (delta 0), pack-reused 514
Receiving objects: 100% (514/514), 504.29 KiB | 0 bytes/s, done.
Resolving deltas: 100% (243/243), done.
>From https://github.com/Juniper/contrail-vnc
 * [new branch]      R1.04      -> origin/R1.04
 * [new branch]      R1.05      -> origin/R1.05
 * [new branch]      R1.06      -> origin/R1.06
 * [new branch]      R1.06c1    -> origin/R1.06c1
 * [new branch]      R1.10      -> origin/R1.10
 * [new branch]      R1.30      -> origin/R1.30
 * [new branch]      R2.0       -> origin/R2.0
 * [new branch]      R2.1       -> origin/R2.1
 * [new branch]      R2.20      -> origin/R2.20
 * [new branch]      R2.20.x    -> origin/R2.20.x
 * [new branch]      R2.21.x    -> origin/R2.21.x
 * [new branch]      R2.22-dev  -> origin/R2.22-dev
 * [new branch]      R2.22.x    -> origin/R2.22.x
 * [new branch]      R3.0       -> origin/R3.0
 * [new branch]      R3.0.2.x   -> origin/R3.0.2.x
 * [new branch]      R3.0.3.x   -> origin/R3.0.3.x
 * [new branch]      R3.1       -> origin/R3.1
 * [new branch]      R3.2       -> origin/R3.2
 * [new branch]      arvindv-cql -> origin/arvindv-cql
 * [new branch]      arvindv-cql-1 -> origin/arvindv-cql-1
 * [new branch]      cql_dev    -> origin/cql_dev
 * [new branch]      gh-pages   -> origin/gh-pages
 * [new branch]      master     -> origin/master
 * [new branch]      meghb_cql_dev1 -> origin/meghb_cql_dev1
 * [new branch]      opserver   -> origin/opserver
 * [new branch]      rajreddy_doc_update -> origin/rajreddy_doc_update
 * [new branch]      rajreddy_doc_update2 -> origin/rajreddy_doc_update2
 * [new branch]      rajreddy_gh -> origin/rajreddy_gh
 * [new branch]      rajreddy_gh_cpp -> origin/rajreddy_gh_cpp
 * [new branch]      rajreddy_webui_third -> origin/rajreddy_webui_third

Your identity is: gangyewei <[email protected]>
If you want to change this, please re-run 'repo init' with --config-name

repo has been initialized in /home/ubuntu/opencontrail/vnc
ubuntu@ip-172-31-34-72:~/opencontrail/vnc$ repo sync
Fetching project contrail-nova-extensions
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                 Dload  Upload   Total   Spent    Left
 Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
  0
curl: (22) The requested URL returned error: 404 Not Found
Server does not provide clone.bundle; ignoring.
fatal: repository 'https://github.com/contrail-nova-extensions/' not found
fatal: repository 'https://github.com/contrail-nova-extensions/' not found

error: Cannot fetch contrail-nova-extensions

error: Exited sync due to fetch errors
ubuntu@ip-172-31-34-72:~/opencontrail/vnc$

2016-11-09 14:29 GMT+08:00 yewgang <[email protected]>:

> Really thank you very much, but I have some questions:
>
> 1. '[email protected]:Juniper/contrail-vnc' == 'https://github.com/Juniper/
> contrail-vnc.git'? If it is, does that mean I could use 'repo init -u
> https://github.com/Juniper/contrail-vnc.git' instead?
>
> 2. After I use 'repo init -u https://github.com/Juniper/contrail-vnc.git',
> and then I type 'repo sync', I got some error like this:
> Fetching project contrail-nova-extensions
> fatal: repository 'https://github.com/contrail-nova-extensions/' not found
> fatal: repository 'https://github.com/contrail-nova-extensions/' not found
> error: Cannot fetch contrail-nova-extensions
>
> How to deal with this?
>
> Thank you.
>
> 2016-11-08 19:50 GMT+08:00 Filip Pytloun <[email protected]>:
>
>> Hello,
>>
>> this (a little bit older) guide may be useful:
>> https://fpy.cz/building-opencontrail.html
>>
>> > when I run `repo init -u [email protected]:Juniper/contrail-vnc`, I got
>> > `Permisson Denied`
>>
>> You need to use SSH key associated with your Github account. Or you need
>> to use https to checkout.
>>
>> Ad. installation - you can try a little bit more complex approach using
>> salt-formula-opencontrail [1] and openstack-salt [2]
>>
>> [1] https://github.com/openstack/salt-formula-opencontrail
>> [2] http://docs.openstack.org/developer/openstack-salt/
>>
>> Filip
>>
>> On 2016/11/08 10:38, yewgang wrote:
>> > Hi all,
>> >
>> > I want to build vrouter and controller.
>> >
>> > So first I follow http://juniper.github.io/contrail-vnc/README.html ,
>> but I
>> > encounter a lot of problems such as:
>> >
>> > when I run `repo init -u [email protected]:Juniper/contrail-vnc`, I got
>> > `Permisson Denied`
>> >
>> > Then I want to download code by hand follow '
>> > https://github.com/Juniper/contrail-build', but I do not known where is
>> > third party code located.
>> >
>> >
>> > Then I want to use 'https://github.com/Juniper/contrail-installer.git'
>> this
>> > script to install, but also a lot problem such as:
>> >
>> > when I run `./contrail.sh build`,I got 'error: in `sync`: [Errno 2] No
>> such
>> > file or directory: '/opt/stack/contrail/.repo/manifests/.git/HEAD''
>> >
>> >
>> > So at last, how do I build vrouter and contrller from source by hand?
>>
>> > _______________________________________________
>> > Dev mailing list
>> > [email protected]
>> > http://lists.opencontrail.org/mailman/listinfo/dev_lists.ope
>> ncontrail.org
>>
>>
>
_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

Reply via email to