Jump to: navigation, search

Openstackclient-glance-imagecreate-v1-v2

Revision as of 10:58, 16 September 2015 by Niall Bunting (talk | contribs) (Created page with "This page shows the changes that will need to be made to implement changes to the osc (openstack client), when moving from glance image create version one, to version two. As...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This page shows the changes that will need to be made to implement changes to the osc (openstack client), when moving from glance image create version one, to version two. As the sever has made some backwards incompatible changes. This could lead to a detrimental effect when updating the glance client to use version two, as it could break people scripts ect.

This page uses the following rating system.

  • 2 - The Good - v2 functionality that can be mapped onto v1 without problems.
  • 1 - The Bad - Partial functionality in version 2 compared to version 1.
  • 0 - The Ugly - No functionality similarities between v1 and v2.
Command Sub-Command Rating Notes
osc image create [positional name] 2
osc image create --id <id> 2
osc image create --store <store> 0?
osc image create --container-format <format> 2
osc image create --disk-format <format> 2
osc image create --owner <tenant> 0 The v2 server no longer supports this.
osc image create --size <size-bytes> 0 The v2 server no longer supports this.
osc image create --min-disk <disk-gb> 2
osc image create --min-ram <ram-mg> 2
osc image create --location <image-url> 0 The v2 server no longer supports this.
osc image create --copy-from <image-url> 0 The v2 server no longer supports this.
osc image create --file <local-filename> 2
osc image create --volume <volume> 0?
osc image create --force 0?
osc image create --checksum <checksum> 1 This could be implemented client side, as the server no longer supports it.
osc image create --unprotected 2
osc image create --private 1 These would have to be mapped onto the new format of visibility public/private.
osc image create --property <key=value> 1 Different properties available/restricted.