diff --git a/contrib/ironic/ironic-fa-deploy/README.rst b/contrib/ironic/ironic-fa-deploy/README.rst index e6396b1..5476592 100644 --- a/contrib/ironic/ironic-fa-deploy/README.rst +++ b/contrib/ironic/ironic-fa-deploy/README.rst @@ -55,9 +55,9 @@ Replace KERNEL, INITRD, ROOTFS with Glance UUIDs of deploy images, PRIVATE_KEY with path to private key file. 8. Place disks scheme in Nailgun format to the metadata of Glance instance - image with ``mos_disk_info`` key, example:: + image with ``fuel_disk_info`` key, example:: - glance image-update --property mos_disk_info='[{"name": "sda", + glance image-update --property fuel_disk_info='[{"name": "sda", "extra": [], "free_space": 11000, "type": "disk", "id": "vda", "size": 11000, "volumes": [{"mount": "/", "type": "partition", "file_system": "ext4", "size": 10000}]}]' diff --git a/contrib/ironic/ironic-fa-deploy/ironic_fa_deploy/modules/fuel_agent.py b/contrib/ironic/ironic-fa-deploy/ironic_fa_deploy/modules/fuel_agent.py index 28fa2a6..7ca8639 100644 --- a/contrib/ironic/ironic-fa-deploy/ironic_fa_deploy/modules/fuel_agent.py +++ b/contrib/ironic/ironic-fa-deploy/ironic_fa_deploy/modules/fuel_agent.py @@ -134,7 +134,7 @@ def _get_deploy_data(context, image_source): image_props = glance.show(image_source).get('properties', {}) LOG.debug('Image %s properties are: %s', image_source, image_props) try: - disk_data = json.loads(image_props['mos_disk_info']) + disk_data = json.loads(image_props['fuel_disk_info']) except KeyError: raise exception.MissingParameterValue(_('Image %s does not contain ' 'disk layout data.') %