
- add multinode support for devstack nodes - write clouds.yaml and ssh_config file to devstack-tobiko-deploy source dir - update tobiko.conf file - create simple functional test cases to test vagrant configuration - remove local projects synchronization Change-Id: I9d2517d5fa6c72b98726af8aa3ba9fa8bcf0918f
32 lines
801 B
YAML
32 lines
801 B
YAML
---
|
|
|
|
- name: wait for nova service registration
|
|
shell: |
|
|
export OS_CLOUD=devstack-admin
|
|
openstack compute service list -f value -c Host | grep $(hostname)
|
|
until: get_compute_service_list is not failed
|
|
retries: 30
|
|
delay: 5
|
|
register: get_compute_service_list
|
|
changed_when: false
|
|
|
|
- name: run tools/discover_hosts.sh
|
|
shell:
|
|
cmd: >-
|
|
./tools/discover_hosts.sh
|
|
chdir: '{{ devstack_dir }}'
|
|
become: true
|
|
become_user: stack
|
|
delegate_to: devstack-primary
|
|
|
|
- name: wait for nova hypervisor registration
|
|
shell: |
|
|
export OS_CLOUD=devstack-admin
|
|
openstack hypervisor list -f value -c 'Hypervisor Hostname' |\
|
|
grep $(hostname)
|
|
until: get_compute_service_list is not failed
|
|
retries: 3
|
|
delay: 5
|
|
register: get_compute_service_list
|
|
changed_when: false
|