aboutsummaryrefslogtreecommitdiff
path: root/docker/nova-controller/nova-api/start.sh
AgeCommit message (Collapse)AuthorFilesLines
2015-01-21Check for nova DB availability in dependent containersMartin André1-1/+2
When nova-api start and the nova database hasn't yet been created, it would create it itself, preventing the migration in nova-conductor to run and making it unable to start. This commit ensures that nova-api container will not try to steal nova-conductor's job of creating the nova database. Nova-scheduler reacts differently to the missing database and simply exits with a backtrace. This commit also prevents nova-scheduler to start when the nova database cannot be found. Change-Id: Ib6f7521151815faa7a26ec1d170df5a1cdb7fd63 Related-Bug: #1335804
2015-01-19Cleanup required variables checks for all containersMartin André1-0/+4
This allows Kubernetes to reschedule containers in case a required variable is missing, for example when the Kubernetes pod is started before the service. The checks were cleaned using the following method: * remove duplicates * remove check for variables that get a default value in the same file * check for all variables used in the file * check for required services when it is obvious. Change-Id: Ib7e0530c410c61f828d36efe8925a20dc9781eab
2014-10-17fix script name in nova-controller imagesLars Kellogg-Stedman1-1/+1
Change-Id: Ia0b9057887bf34423546ca36346d9253ef4c90b9
2014-10-17Properly create endpoints for Nova servicesSteven Dake1-4/+16
The endpoints for Nova services needed to be properly created for ports 8773 (ec2/ec2) and 8774(nova/compute) and 8774(novav3/computev3). Change-Id: I5e1931d2e7ea35f741ab73b070e24926a3763054
2014-10-16Wrong shell script specified in start.shSteven Dake1-1/+1
start.sh was trying to run nova-config.sh which has been renamed nova-controller-config.sh Change-Id: I546ce046c0789144cb48668500ea4b206d07487d
2014-10-16Make shell scripts executibleSteven Dake1-0/+0
Without +x, docker will not run the shell scripts and the containers exit immediately. Change-Id: I03ca231d6e46131a58c01fae0f9b65e0a3722d36
2014-10-16have start.sh source in common configuration scriptLars Kellogg-Stedman1-23/+15
Change-Id: I90fcd6ed43ce6c2b224eb43492586c8f4231ceda
2014-10-13Nova-api should not set up the databaseRyan Hallisey1-9/+0
Instead, nova-conductor will setup the database. Change-Id: I91a46aa9bc3fc99fe58053b239929c8121864283
2014-10-07Initial setup for nova-controllerRyan Hallisey1-0/+41
Partial-blueprint: kube-nova-container Change-Id: Ib48e6318ae458bf03510725a220332d1920cbeae