contrail-installer
contrail-installer copied to clipboard
Install error running ./contrail.sh install
2016-03-14 17:17:08 +++ hostname 2016-03-14 17:17:08 ++ grep -q ubuntu /etc/hosts 2016-03-14 17:17:08 +++ whoami -----------------------INSTALL PHASE STARTED------------------------ cloud@ubuntu:~/contrail-installer$ 2016-03-14 17:17:08 Invalid option:install at the execution stage of the script:repo-init 2016-03-14 17:17:08 exited with status :0 2016-03-14 17:17:08 ++ grep -q cloud /etc/hosts 2016-03-14 17:17:08 ++ generate_env 2016-03-14 17:17:08 +++ echo named,dns,redis,cass,zk,ifmap,disco,apiSrv,schema,svc-mon,control,collector,analytics-api,query-engine,agent,redis-w 2016-03-14 17:17:08 +++ tr -cd , 2016-03-14 17:17:08 +++ wc -c 2016-03-14 17:17:08 ++ local srvcnt=15 2016-03-14 17:17:08 ++ srvcnt=16 2016-03-14 17:17:09 ++ echo NUM_ENABLED_SERVICES=16 2016-03-14 17:17:09 ++ is_fedora 2016-03-14 17:17:09 ++ [[ -z Ubuntu ]] 2016-03-14 17:17:09 ++ '[' Ubuntu = Fedora ']' 2016-03-14 17:17:09 ++ '[' Ubuntu = 'Red Hat' ']' 2016-03-14 17:17:09 ++ '[' Ubuntu = CentOS ']' 2016-03-14 17:17:09 ++ '[' 1 -eq 0 ']' 2016-03-14 17:17:09 ++ '[' 1 -eq 1 ']' 2016-03-14 17:17:09 ++ '[' install == install ']' 2016-03-14 17:17:09 ++ install_contrail 2016-03-14 17:17:09 ++ echo_summary '-----------------------INSTALL PHASE STARTED------------------------' 2016-03-14 17:17:09 ++ echo -e -----------------------INSTALL PHASE STARTED------------------------ 2016-03-14 17:17:09 ++ validstage_atoption install 2016-03-14 17:17:09 ++ local declare option=install 2016-03-14 17:17:09 ++ local declare ret_val=1 2016-03-14 17:17:09 +++ read_stage 2016-03-14 17:17:09 +++ [[ -f /home/cloud/contrail-installer/.stage.txt ]] 2016-03-14 17:17:09 +++ read line 2016-03-14 17:17:09 +++ echo repo-init 2016-03-14 17:17:09 +++ return 2016-03-14 17:17:09 ++ local declare current_stage=repo-init 2016-03-14 17:17:09 ++ [[ -z install ]] 2016-03-14 17:17:09 ++ '[' install == build ']' 2016-03-14 17:17:09 ++ '[' install == install ']' 2016-03-14 17:17:09 ++ '[' repo-init == Build ']' 2016-03-14 17:17:09 ++ '[' repo-init == install ']' 2016-03-14 17:17:09 ++ '[' install == configure ']' 2016-03-14 17:17:09 ++ '[' install == start ']' 2016-03-14 17:17:09 ++ '[' install == stop ']' 2016-03-14 17:17:09 ++ '[' install == clean ']' 2016-03-14 17:17:09 ++ return 1 2016-03-14 17:17:09 ++ [[ 1 -eq 1 ]] 2016-03-14 17:17:09 ++ invalid_option_exit install 2016-03-14 17:17:09 +++ read_stage 2016-03-14 17:17:09 +++ [[ -f /home/cloud/contrail-installer/.stage.txt ]] 2016-03-14 17:17:09 +++ read line 2016-03-14 17:17:09 +++ echo repo-init 2016-03-14 17:17:09 +++ return 2016-03-14 17:17:09 ++ echo 'Invalid option:install at the execution stage of the script:repo-init' 2016-03-14 17:17:09 ++ exit 2016-03-14 17:17:09 ++ clean 2016-03-14 17:17:09 ++ local r=0 2016-03-14 17:17:09 ++ echo 'exited with status :0' 2016-03-14 17:17:09 ++ exit 0
Did you follow contrail.sh {build, install, configure, start} sequence? You can "rm .stage.txt" and redo the sequence.