]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Make jeos_create aware of existing disk files and previous glance registrations
authorJeff Peeler <jpeeler@redhat.com>
Thu, 12 Apr 2012 21:42:52 +0000 (17:42 -0400)
committerJeff Peeler <jpeeler@redhat.com>
Thu, 12 Apr 2012 21:42:52 +0000 (17:42 -0400)
commit2f5ec8738dc557db6c51416b3cfb1a45b9eeedb4
tree4de7743603a0e9a64fa15f776e145583b4305071
parent1a3186dc6f8a83e92112ac53a2672c31286bfaac
Make jeos_create aware of existing disk files and previous glance registrations

The user is interactively prompted for decisions to be made when:
-An existing jeos disk image is found: build a fresh JEOS?
-If fresh JEOS is chosen, continue as normal removing the files and
 existing registration if it exists.
-If no fresh JEOS is chosen: register existing JEOS with glance?
-If no registration is chosen, no action is taken.
-If registration is chosen, continues as normal without rerunning oz in the
 case of the image not being previously registered with glance.
-If the image is previously registered: delete existing JEOS in glance?
-If the user chooses to not delete existing registration, no action is taken.
-If registration deletion is chosen, the registration is deleted, rerunning
 oz is skipped, and the registration will occur.

Fixes #50

Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
bin/heat