Add a note about nova hardware architectures
This patch adds a note to the diskimage-create README that reminds users to set the hardware architecture property on the amphora image if the cloud has multiple architectures available in nova. It also sets this property in our devstack plugin to provide an example/reminder. Change-Id: I15c2cabb1bced0a5646a3e1aed50bece78afcdce
This commit is contained in:
parent
6e6f3a1f1c
commit
f1542afba0
@ -612,7 +612,7 @@ function octavia_init {
|
||||
OCTAVIA_AMP_IMAGE_ID=$(openstack image list -f value --property name=${OCTAVIA_AMP_IMAGE_NAME} -c ID)
|
||||
|
||||
if [ -n "$OCTAVIA_AMP_IMAGE_ID" ]; then
|
||||
openstack image set --tag ${OCTAVIA_AMP_IMAGE_TAG} ${OCTAVIA_AMP_IMAGE_ID}
|
||||
openstack image set --tag ${OCTAVIA_AMP_IMAGE_TAG} --property hw_architecture='x86_64' ${OCTAVIA_AMP_IMAGE_ID}
|
||||
fi
|
||||
|
||||
# Create a management network.
|
||||
|
@ -78,6 +78,15 @@ As the project progresses and/or the diskimage-builder project adds support
|
||||
for additional base OS options they may become available for Amphora images.
|
||||
This does not mean that they are necessarily supported or tested.
|
||||
|
||||
.. note::
|
||||
|
||||
If your cloud has multiple hardware architectures available to nova,
|
||||
remember to set the appropriate hw_architecture property on the
|
||||
image when you load it into glance. For example, when loading an
|
||||
amphora image built for "amd64" you would add
|
||||
"--property hw_architecture='x86_64'" to your "openstack image create"
|
||||
command line.
|
||||
|
||||
The script will use environment variables to customize the build beyond the
|
||||
Octavia project defaults, such as adding elements.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user