Hi Bin, Thanks for the help :) I am also learning stage.
I tried with the same options in Centos7 and Fedora21 instead of Ubuntu 14.04. Regards, Ajith On 9 February 2016 at 19:52, HU, BIN <[email protected]> wrote: > I am also learning :) > > What I did was to create a fresh VM (Ubuntu 14.04), change the localrc as > follows: > > CONTRAIL_DEFAULT_INSTALL=False > CONTRAIL_REPO_PROTO=https > > Then build, install and configure were successful. > > You may start with a clean VM, and try it again. > > Bin > > -----Original Message----- > From: Ajith Adapa [mailto:[email protected]] > Sent: Tuesday, February 09, 2016 7:40 PM > To: HU, BIN <[email protected]> > Cc: [email protected] > Subject: Re: [Users] Regarding installation failure in centos7 and Fedora 21 > > HI Hu, > > I have uncommented the https option in localrc file and now ended up with > other new problem > > 2016-02-09 22:37:04 ++ sudo rm -rf /tmp/pip-build.jRsV1 > 2016-02-09 22:37:04 ++ change_stage Dependencies python-dependencies > 2016-02-09 22:37:04 +++ read_stage > 2016-02-09 22:37:04 +++ [[ -f /home/ip/contrail-installer/.stage.txt ]] > 2016-02-09 22:37:04 +++ read line > 2016-02-09 22:37:04 +++ echo Dependencies > 2016-02-09 22:37:04 +++ return > 2016-02-09 22:37:04 ++ current_stage=Dependencies > 2016-02-09 22:37:04 ++ [[ Dependencies == Dependencies ]] > 2016-02-09 22:37:04 ++ write_stage python-dependencies > 2016-02-09 22:37:04 ++ echo python-dependencies > 2016-02-09 22:37:04 ++ sudo mkdir -p /opt/stack/contrail > 2016-02-09 22:37:04 ++ sudo chown 1000:1000 /opt/stack/contrail > 2016-02-09 22:37:04 ++ THIRDPARTY_SRC=/opt/stack/contrail/third_party > 2016-02-09 22:37:04 ++ sudo mkdir -p /opt/stack/contrail/third_party > 2016-02-09 22:37:04 ++ sudo chown 1000:1000 /opt/stack/contrail/third_party > 2016-02-09 22:37:04 +++ pwd > 2016-02-09 22:37:04 Initializing repo > 2016-02-09 22:37:04 ++ contrail_cwd=/home/ip/contrail-installer > 2016-02-09 22:37:04 ++ cd /opt/stack/contrail > 2016-02-09 22:37:04 ++ [[ False != \T\r\u\e ]] > 2016-02-09 22:37:04 +++ read_stage > 2016-02-09 22:37:04 +++ [[ -f /home/ip/contrail-installer/.stage.txt ]] > 2016-02-09 22:37:04 +++ read line > 2016-02-09 22:37:04 +++ echo python-dependencies > 2016-02-09 22:37:04 +++ return > 2016-02-09 22:37:04 ++ [[ python-dependencies == > \p\y\t\h\o\n\-\d\e\p\e\n\d\e\n\c\i\e\s ]] > 2016-02-09 22:37:04 ++ repo_initialize > 2016-02-09 22:37:04 ++ echo 'Initializing repo' > 2016-02-09 22:37:04 ++ '[' '!' -d /opt/stack/contrail/.repo ']' > 2016-02-09 22:37:04 ++ change_stage python-dependencies repo-init > 2016-02-09 22:37:04 +++ read_stage > 2016-02-09 22:37:04 +++ [[ -f /home/ip/contrail-installer/.stage.txt ]] > 2016-02-09 22:37:04 +++ read line > 2016-02-09 22:37:04 +++ echo python-dependencies > 2016-02-09 22:37:04 +++ return > 2016-02-09 22:37:04 ++ current_stage=python-dependencies > 2016-02-09 22:37:04 ++ [[ python-dependencies == python-dependencies ]] > 2016-02-09 22:37:04 ++ write_stage repo-init > 2016-02-09 22:37:04 ++ echo repo-init > 2016-02-09 22:37:04 +++ read_stage > 2016-02-09 22:37:04 +++ [[ -f /home/ip/contrail-installer/.stage.txt ]] > 2016-02-09 22:37:04 +++ read line > 2016-02-09 22:37:04 +++ echo repo-init > 2016-02-09 22:37:04 +++ return > 2016-02-09 22:37:04 ++ [[ repo-init == \r\e\p\o\-\i\n\i\t ]] > 2016-02-09 22:37:04 ++ repo sync > 2016-02-09 22:37:04 error: in `sync`: [Errno 2] No such file or > directory: '/opt/stack/contrail/.repo/manifests/.git/HEAD' > 2016-02-09 22:37:04 error: manifest missing or unreadable -- please run init > [ip@localhost contrail-installer]$ 2016-02-09 22:37:04 ++ ret_val=1 > 2016-02-09 22:37:04 repo sync failed > 2016-02-09 22:37:04 ++ [[ 1 -ne 0 ]] > 2016-02-09 22:37:04 exited with status :1 > 2016-02-09 22:37:04 ++ echo 'repo sync failed' > 2016-02-09 22:37:04 ++ exit 1 > 2016-02-09 22:37:04 ++ clean > 2016-02-09 22:37:04 ++ local r=1 > 2016-02-09 22:37:04 ++ echo 'exited with status :1' > 2016-02-09 22:37:04 ++ exit 1 > > Regards, > Ajith > > > > On 9 February 2016 at 19:30, HU, BIN <[email protected]> wrote: >> Try to uncomment "# CONTRAIL_REPO_PROTO=https" in localrc so that it will >> access repo with https instead of ssh. >> >> Bin >> >> -----Original Message----- >> From: Users [mailto:[email protected]] On Behalf Of >> Ajith Adapa >> Sent: Tuesday, February 09, 2016 7:20 PM >> To: [email protected] >> Subject: [Users] Regarding installation failure in centos7 and Fedora >> 21 >> >> Hi, >> >> I am just following the steps given in contrail-installer README file. >> >> cd contrail-installer >> cp samples/localrc-all localrc (edit localrc as needed) ./contrail.sh >> build >> >> 2016-02-09 21:50:03 ++ repo_initialize >> 2016-02-09 21:50:03 ++ echo 'Initializing repo' >> 2016-02-09 21:50:03 ++ '[' '!' -d /opt/stack/contrail/.repo ']' >> 2016-02-09 21:50:03 ++ git config --global --get user.name >> 2016-02-09 21:50:03 ++ git config --global user.name Anonymous >> 2016-02-09 21:50:04 ++ git config --global --get user.email >> 2016-02-09 21:50:04 ++ git config --global user.email >> [email protected] >> 2016-02-09 21:50:04 ++ '[' ssh == ssh ']' >> 2016-02-09 21:50:04 ++ '[' master ']' >> 2016-02-09 21:50:04 ++ repo init -u >> [email protected]:juniper/contrail-vnc -b master >> 2016-02-09 21:50:04 gpg: keyring >> `/home/ip/.repoconfig/gnupg/secring.gpg' created >> 2016-02-09 21:50:04 gpg: keyring >> `/home/ip/.repoconfig/gnupg/pubring.gpg' created >> 2016-02-09 21:50:04 gpg: /home/ip/.repoconfig/gnupg/trustdb.gpg: >> trustdb created >> 2016-02-09 21:50:04 gpg: key 920F5C65: public key "Repo Maintainer >> <[email protected]>" imported >> 2016-02-09 21:50:04 gpg: key 692B382C: public key "Conley Owens >> <[email protected]>" imported >> 2016-02-09 21:50:04 gpg: Total number processed: 2 >> 2016-02-09 21:50:04 gpg: imported: 2 (RSA: 1) >> 2016-02-09 21:50:06 Get >> https://gerrit.googlesource.com/git-repo/clone.bundle >> 2016-02-09 21:50:08 Get https://gerrit.googlesource.com/git-repo >> 2016-02-09 21:50:09 From https://gerrit.googlesource.com/git-repo >> 2016-02-09 21:50:09 e9becc0..5ed805a master -> origin/master >> 2016-02-09 21:50:10 Get [email protected]:juniper/contrail-vnc >> The authenticity of host 'github.com (192.30.252.130)' can't be established. >> RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48. >> Are you sure you want to continue connecting (yes/no)? The authenticity of >> host 'github.com (192.30.252.130)' can't be established. >> RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48. >> Are you sure you want to continue connecting (yes/no)? yes >> 2016-02-09 21:50:23 Warning: Permanently added 'github.com,192.30.252.130' >> (RSA) to the list of known hosts. >> 2016-02-09 21:50:23 Permission denied (publickey). >> >> Regards, >> Ajith >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrai >> l.org _______________________________________________ Users mailing list [email protected] http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org
