Numan, For your information My */opt/stack/contrail/ *was like this.
*~/contrail-installer$ ls /opt/stack/contrail/* *build config.log contrail-web-controller contrail-webui-third-party openstack README third_party vrouter* *ChangeLog configure.ac <http://configure.ac> contrail-web-core controller packages.make SConstruct tools* On Mon, Sep 7, 2015 at 12:20 PM, Ganesh K <[email protected]> wrote: > Hi Numan, > > Don't know what is going on with this OpenContrail. > > Let me just confirm first. > > Can I install OpenContrail on Ubuntu 12.04 64-bit? > > And, I trying to follow this link > https://github.com/Juniper/contrail-installer to install opencontrail. > > Here is my *contrail-installer/localrc* file (created as per guide) > > *STACK_DIR=$(cd $(dirname $0) && pwd)* > > *LOG_DIR=$STACK_DIR/log/screens* > *LOG=True* > *DEBUG=True* > *LOGFILE=$STACK_DIR/log/contrail.log* > *LOGDAYS=1* > *USE_SCREEN=True* > > *DATABASE_PASSWORD=contrail123* > *RABBIT_PASSWORD=contrail123* > *SERVICE_TOKEN=contrail123* > *SERVICE_PASSWORD=contrail123* > *ADMIN_PASSWORD=contrail123* > > *#set loglevel to 1/2/3 . Always stderr into logfile,console.* > *#For LOG_LEVEL 1 stdout into logfile.* > *#For LOG_LEVEL 2 stdout into logfile and xtrace commands into console.* > *#For LOG_LEVEL 3 stdout and xtrace into logfile,console.* > > *LOG_LEVEL=3* > > *SERVICE_TIMEOUT=180* > *SERVICE_HOST=localhost* > *INSTALL_PROFILE=ALL* > *PHYSICAL_INTERFACE=eth0* > > *# to get source code make it as False* > *CONTRAIL_DEFAULT_INSTALL=True* > > > *# to get the ppa packages uncomment* > *LAUNCHPAD_BRANCH=PPA* > > *# repo proto is https or (default) ssh. Leave commented for ssh* > *CONTRAIL_REPO_PROTO=https* > > *# proto for openstack bits. Use HTTPS if git is firewalled* > *GIT_BASE=https://github.com <https://github.com>* > > *CASS_MAX_HEAP_SIZE=500M* > *CASS_HEAP_NEWSIZE=100M* > > *# number of jobs used to build* > *# NB_JOBS=1* > > *# target of the build debug/production* > *# TARGET=production* > > Is this fine.? > > But, It is ending with the following errors. > > *2015-09-06 23:45:45 Err http://ppa.launchpad.net > <http://ppa.launchpad.net> precise/main Sources* > *2015-09-06 23:45:45 404 Not Found* > *2015-09-06 23:45:45 Err http://ppa.launchpad.net > <http://ppa.launchpad.net> precise/main amd64 Packages* > *2015-09-06 23:45:45 404 Not Found* > *2015-09-06 23:45:45 Err http://ppa.launchpad.net > <http://ppa.launchpad.net> precise/main i386 Packages* > *2015-09-06 23:45:45 404 Not Found* > *2015-09-06 23:45:45 Ign http://ppa.launchpad.net > <http://ppa.launchpad.net> precise/main Translation-en* > *vedams@ubuntuoct01:~/contrail-installer$ 2015-09-06 23:45:46 Fetched 543 > B in 4s (119 B/s)* > *2015-09-06 23:45:46 W: Failed to fetch > http://ppa.launchpad.net/opencontrail/PPA/ubuntu/dists/precise/main/source/Sources > <http://ppa.launchpad.net/opencontrail/PPA/ubuntu/dists/precise/main/source/Sources> > 404 Not Found* > *2015-09-06 23:45:46 Failure in installing package : update* > *2015-09-06 23:45:46* > *2015-09-06 23:45:46 exited with status :100* > *2015-09-06 23:45:46 W: Failed to fetch > http://ppa.launchpad.net/opencontrail/PPA/ubuntu/dists/precise/main/binary-amd64/Packages > <http://ppa.launchpad.net/opencontrail/PPA/ubuntu/dists/precise/main/binary-amd64/Packages> > 404 Not Found* > *2015-09-06 23:45:46* > *2015-09-06 23:45:46 W: Failed to fetch > http://ppa.launchpad.net/opencontrail/PPA/ubuntu/dists/precise/main/binary-i386/Packages > <http://ppa.launchpad.net/opencontrail/PPA/ubuntu/dists/precise/main/binary-i386/Packages> > 404 Not Found* > *2015-09-06 23:45:46* > *2015-09-06 23:45:46 E: Some index files failed to download. They have > been ignored, or old ones used instead.* > *2015-09-06 23:45:46 ++ return_status=100* > *2015-09-06 23:45:46 ++ [[ 100 -gt 0 ]]* > *2015-09-06 23:45:46 ++ echo -e 'Failure in installing package : update'* > *2015-09-06 23:45:46 ++ exit 100* > *2015-09-06 23:45:46 ++ clean* > *2015-09-06 23:45:46 ++ local r=100* > *2015-09-06 23:45:46 ++ echo 'exited with status :100'* > *2015-09-06 23:45:46 ++ exit 100* > > Can you understand anything from this.? Can you help me with this.? > > On Fri, Sep 4, 2015 at 7:37 PM, Numan Siddique <[email protected]> > wrote: > >> Looks like your build is not successful. >> >> Can you see the opencontrail sources pulled under "/opt/stack/contrail/" >> >> Thanks >> Numan >> >> On 09/04/2015 07:28 PM, Ganesh K wrote: >> >> Now, I did few modifications to localrc file to avoid above issue. >> >> CONTRAIL_DEFAULT_INSTALL=True >> LAUNCHPAD_BRANCH=PPA >> >> When I give command, >> >> *$ ./contrail.sh build* >> >> Looks, it is going fine >> >> *$ ./contrail.sh install* >> >> Following error, I have obtaining. I am not able to figure out from the >> *contrail.sh >> *script as well. >> >> *2015-09-04 06:57:24 ++ install_contrail* >> *2015-09-04 06:57:24 ++ echo_summary '-----------------------INSTALL >> PHASE STARTED------------------------'* >> *2015-09-04 06:57:24 ++ echo -e -----------------------INSTALL PHASE >> STARTED------------------------* >> *2015-09-04 06:57:24 ++ validstage_atoption install* >> *2015-09-04 06:57:24 ++ local declare option=install* >> *2015-09-04 06:57:24 ++ local declare ret_val=1* >> *2015-09-04 06:57:24 +++ read_stage* >> *2015-09-04 06:57:24 +++ [[ -f >> /home/user/oc/contrail-installer/.stage.txt ]]* >> *2015-09-04 06:57:24 +++ read line* >> *2015-09-04 06:57:24 +++ echo repo-init* >> *2015-09-04 06:57:24 +++ return* >> *2015-09-04 06:57:24 ++ local declare current_stage=repo-init* >> *2015-09-04 06:57:24 ++ [[ -z install ]]* >> *2015-09-04 06:57:24 ++ '[' install == build ']'* >> *2015-09-04 06:57:24 ++ '[' install == install ']'* >> *2015-09-04 06:57:24 ++ '[' repo-init == Build ']'* >> *2015-09-04 06:57:24 ++ '[' repo-init == install ']'* >> *2015-09-04 06:57:24 ++ '[' install == configure ']'* >> *2015-09-04 06:57:24 ++ '[' install == start ']'* >> *2015-09-04 06:57:24 ++ '[' install == stop ']'* >> *2015-09-04 06:57:24 ++ '[' install == clean ']'* >> *2015-09-04 06:57:24 ++ return 1* >> *2015-09-04 06:57:24 ++ [[ 1 -eq 1 ]]* >> *2015-09-04 06:57:24 ++ invalid_option_exit install* >> *2015-09-04 06:57:24 +++ read_stage* >> *2015-09-04 06:57:24 +++ [[ -f >> /home/user/oc/contrail-installer/.stage.txt ]]* >> *2015-09-04 06:57:24 +++ read line* >> *2015-09-04 06:57:24 +++ echo repo-init* >> *2015-09-04 06:57:24 +++ return* >> *2015-09-04 06:57:24 ++ echo 'Invalid option:install at the execution >> stage of the script:repo-init'* >> *2015-09-04 06:57:24 ++ exit* >> *2015-09-04 06:57:24 ++ clean* >> *2015-09-04 06:57:24 ++ local r=0* >> *2015-09-04 06:57:24 ++ echo 'exited with status :0'* >> *2015-09-04 06:57:24 ++ exit 0* >> >> >> Can anyone help me with this.? >> >> On Fri, Sep 4, 2015 at 6:45 PM, Ganesh K <[email protected]> wrote: >> >>> Hi, >>> >>> When I trying to install open contrail, I got the following errors. Can >>> anyone help me.? >>> >>> *sudo repo init -u [email protected]:Juniper/contrail-vnc.git >>> <[email protected]:Juniper/contrail-vnc.git>* >>> *Get >>> <https://gerrit.googlesource.com/git-repo/clone.bundle>https://gerrit.googlesource.com/git-repo/clone.bundle >>> <https://gerrit.googlesource.com/git-repo/clone.bundle>* >>> *Get [email protected]:Juniper/contrail-vnc.git >>> <[email protected]:Juniper/contrail-vnc.git>* >>> *Permission denied (publickey).* >>> *Permission denied (publickey).* >>> *fatal: Could not read from remote repository.* >>> >>> *Please make sure you have the correct access rights* >>> *and the repository exists.* >>> >>> >>> -- >>> Regards, >>> Ganesh >>> >> >> >> >> -- >> Regards, >> Ganesh >> >> >> _______________________________________________ >> Users mailing >> [email protected]http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org >> >> >> >> _______________________________________________ >> Users mailing list >> [email protected] >> >> http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org >> >> > > > -- > Regards, > Ganesh > -- Regards, Ganesh
_______________________________________________ Users mailing list [email protected] http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org
