Skip to content

Commit b8d5f86

Browse files
authored
Merge pull request apache#318 from theopenlab/fix-packer-orange
Fix packer-1.2.5-functional-orange failing
2 parents 4f1f8d3 + 2375be5 commit b8d5f86

File tree

1 file changed

+3
-1
lines changed
  • playbooks/packer-functional-public-clouds

1 file changed

+3
-1
lines changed

playbooks/packer-functional-public-clouds/run.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
set -ex
1111
set -o pipefail
1212
pip install python-openstackclient
13-
flavor=$(openstack flavor list -f value -c ID -c RAM -c VCPUs --sort-column RAM --sort-column VCPUs | head -n 1 | awk '{print $1}')
13+
# Using second smallest flavor, because first one might cause testing failed.
14+
# See https://github.com/theopenlab/openlab/issues/80
15+
flavor=$(openstack flavor list -f value -c ID -c RAM -c VCPUs --sort-column RAM --sort-column VCPUs | awk 'NR==2{print $1}')
1416
network=$(openstack network show openlab-jobs-net -f value -c id)
1517
src_img_name=$(openstack image list |grep -Eo "cirros.*0.4.0.*-disk")
1618
image_name="packer-cirros-openstack-$(date +%s)"

0 commit comments

Comments
 (0)