summaryrefslogtreecommitdiffstats
path: root/prototypes/bifrost/scripts/test-bifrost-deployment.sh
AgeCommit message (Collapse)AuthorFilesLines
2016-12-07Merge "bifrost: test-bifrost-deployment.sh: Use the new 'openssh-server' dib ↵Aric Gardner1-3/+3
element"
2016-12-01prototypes: bifrost: Increase default provision timeout to 3600 secondsMarkos Chandras1-1/+1
Sometimes, the current '2400 seconds' timeout is not enough to all 3 VMs to become reachable especially when the qcow2 images are becoming bigger and bigger. This leads to spurious CI failures. Increase the timeout to 3600 seconds which should be enough for VMs boot properly Change-Id: I06942952667df28341e5ce43d30619fe2e30326b Signed-off-by: Markos Chandras <mchandras@suse.de>
2016-11-30bifrost: test-bifrost-deployment.sh: Use the new 'openssh-server' dib elementMarkos Chandras1-3/+3
This is a follow-up for b0a9b75e7481a24676c9488f17583c13b8b8026e ("Make use of the new 'openssh-server' dib element"). Remove the openssh-server package from the default packages and use the 'openssh-server' element instead. Change-Id: Ie14cdf93769ebefcae00f35d9e1ac149a31e7711 Signed-off-by: Markos Chandras <mchandras@suse.de>
2016-11-28bifrost: Make use of the new 'openssh-server' dib elementMarkos Chandras1-0/+3
Make use of the new 'openssh-server' dib element to achieve a consistent behavior of ssh server across all distributions. Change-Id: Ib10066a244fe44530969702cd465cdd79454b8fe Signed-off-by: Markos Chandras <mchandras@suse.de>
2016-11-21bifrost: test-bifrost-deployment: Allow overriding VM hardware optionsMarkos Chandras1-3/+3
Make VM disk, cpu and memory settings configurable to allow less powerful hosts to host the bifrost VMs. Change-Id: If819451536dd518690f3808c55de940169b90346 Signed-off-by: Markos Chandras <mchandras@suse.de>
2016-11-02Start using centos7 instead of centos-minimalYolanda Robla Mota1-1/+1
Current builds with centos-minimal are failing on 7, so start using centos7 element instead. Change-Id: I80d986fd7613e1807a119447a01c62e6f8a93ddf Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2016-09-30Set the wait_timeout variable to the deployment scriptMarkos Chandras1-1/+3
There is no point in us keeping our own copy of the upstream bifrost-prepare-for-test-dynamic playbook just for overriding the wait_timeout variable. Delete the duplicate role and move the variable definition to the deployment script instead. Change-Id: Ib8066fefe80e9a3190d878eb5dba7b8d86a85e07 Signed-off-by: Markos Chandras <mchandras@suse.de>
2016-09-12Parameterize infracloud playbook by platformsYolanda Robla Mota1-0/+7
This will allow to run on different distros depending on settings exported. Change-Id: I068d7bb2eebfd009dceeff057c8a65361483788b Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
2016-09-02Reflect upstream change to local script fixing playbook syntax checkFatih Degirmenci1-11/+11
Upstream change: https://review.openstack.org/#/c/358477/ Change-Id: Ibfef32aec4b62d8d1d13728abec374a2d4560d81 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-08-31Create daily job for infra deployment, remove sandbox jobs and fix bugsFatih Degirmenci1-1/+1
This change - creates upstream daily job to trigger and control the execution of jobs that provision nodes using bifrost, deployment using puppet-infracloud, and simple smoke test job. - fixes the hashbang placement in 2 of the scripts. - removes sandbox dummy jobs as the infra jobs can serve as examples now. Only the node provisioning job is functional at the moment. Change-Id: I311d159956d8b7ce3f7a500fac5a7dcb459104cf Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-08-22Increase the disk in the infracloud vmsYolanda Robla Mota1-0/+1
The 10g disk space is not enough to spin up some vms and test. With default flavors, just a m1.small needs 20g of disk. Increasing to 100g of disk in each vm, so we can test with better conditions. Change-Id: I7b273dc5881cb6af67b7852c1318ea739217602f Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
2016-08-19Merge "Adjust bifrost node provisioning timeout and fix file permissions"Fatih Degirmenci1-0/+0
2016-08-19Increase the number of vcpus in testingYolanda Robla Mota1-0/+1
It defaults to 1 cpu, and that means that computes won't be able to spin up any node because the number of cpus are exhausted. Currently the playbook doesn't allow to individually set cpus, so defaulting everything to 4 temporarily. Change-Id: Ic6058b28f5d75a270e3897157ba034f804af8ab0 Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2016-08-19Adjust bifrost node provisioning timeout and fix file permissionsFatih Degirmenci1-0/+0
This change - increases the node provisioning timeout to 1900 seconds since the original timeout used by upstream bifrost (900 seconds) is not suited for provisioning VMs with Ubuntu. - fixes permissions of the scripts. - removes .gitkeep. This change is not upstreamed since bifrost uses cirros for test & development purposes and it is probably not in their interest to have increased timeout. Change-Id: I4b59a321fa26f8b5895ec577a19d10f5cdcace0f Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-08-18Add initial playbooks and scripts for bifrost POCSYolanda Robla Mota1-0/+119
Change-Id: Ic7e33f53d0111b0e833d7547fff16458506b063b Signed-off-by: Yolanda Robla <yroblamo@redhat.com>