Merge "Enable virtio-scsi in nova-next"
This commit is contained in:
@@ -402,6 +402,7 @@
|
|||||||
irrelevant-files: *nova-base-irrelevant-files
|
irrelevant-files: *nova-base-irrelevant-files
|
||||||
# Run post-tempest tests like for nova-manage commands.
|
# Run post-tempest tests like for nova-manage commands.
|
||||||
post-run: playbooks/nova-next/post.yaml
|
post-run: playbooks/nova-next/post.yaml
|
||||||
|
pre-run: playbooks/nova-next/pre.yaml
|
||||||
required-projects:
|
required-projects:
|
||||||
- novnc/novnc
|
- novnc/novnc
|
||||||
nodeset:
|
nodeset:
|
||||||
|
18
playbooks/nova-next/pre.yaml
Normal file
18
playbooks/nova-next/pre.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
- hosts: controller
|
||||||
|
tasks:
|
||||||
|
- name: create local.sh
|
||||||
|
become: yes
|
||||||
|
blockinfile:
|
||||||
|
path: /opt/stack/devstack/local.sh
|
||||||
|
create: True
|
||||||
|
mode: 0777
|
||||||
|
block: |
|
||||||
|
#!/bin/bash
|
||||||
|
set -x
|
||||||
|
image_ids=$(openstack image list -f value -c ID)
|
||||||
|
|
||||||
|
echo "Setting required image metadata properties"
|
||||||
|
for image_id in $image_ids; do
|
||||||
|
openstack image set --property hw_scsi_model=virtio-scsi ${image_id}
|
||||||
|
done
|
||||||
|
openstack image list
|
Reference in New Issue
Block a user