Fix jenkins failure for image not found
Seems jenkins default image API version is 2, image v2 version not support use name as image-show. I tried latest devstack, it calls v2 API. So in jenkins jobs let's use v1 version now. In addition, specify the mountpoint parameter on VolumeAttachment resource. Heat used to allow missing of this parameter but it is not the case anymore. Change-Id: I1ae1eb20b9552444f0242a72e958c139209bf1f6 Closes-Bug: #1491314
This commit is contained in:
parent
de22f83fd2
commit
48ea311eaa
|
@ -231,6 +231,7 @@ resources:
|
|||
properties:
|
||||
instance_uuid: {get_resource: kube_minion}
|
||||
volume_id: {get_resource: docker_volume}
|
||||
mountpoint: /dev/vdb
|
||||
|
||||
outputs:
|
||||
|
||||
|
|
|
@ -220,6 +220,7 @@ resources:
|
|||
properties:
|
||||
instance_uuid: {get_resource: kube_minion}
|
||||
volume_id: {get_resource: docker_volume}
|
||||
mountpoint: /dev/vdb
|
||||
|
||||
outputs:
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ popd
|
|||
# First we test Magnum's command line to see if we can stand up
|
||||
# a baymodel, bay and a pod
|
||||
export NIC_ID=$(neutron net-show public | awk '/ id /{print $4}')
|
||||
export IMAGE_ID=$(glance image-show fedora-21-atomic-3 | awk '/ id /{print $4}')
|
||||
export IMAGE_ID=$(glance --os-image-api-version 1 image-show fedora-21-atomic-3 | awk '/ id /{print $4}')
|
||||
|
||||
|
||||
# pass the appropriate variables via a config file
|
||||
|
|
Loading…
Reference in New Issue