Status: New
Owner: ----

New issue 913 by [email protected]: Instance reinstall doesn't update osparams
http://code.google.com/p/ganeti/issues/detail?id=913

Issuing an instance reinstall (either through the RAPI or the cli utils) passes the osparams to the os provider but doesn't update the cluster config file for the instance.

Example:
gnt7-04.gnt.grnet.gr:~# gnt-instance info alexkimage
...
Operating system: image+default
  Operating system parameters:
    img_format: tarball
    img_id: fedora-12
...
gnt7-04.gnt.grnet.gr:~# gnt-instance reinstall -o image+default -O img_format=tarball,img_id=debian-wheezy alexkimage
This will reinstall the instance 'alexkimage' (and change the OS to
'image+default') which removes all data. Continue?
y/[n]/?: y
Waiting for job 335281 for alexkimage ...
Thu Aug  7 18:40:45 2014 Changing OS to 'image+default'...
Thu Aug  7 18:40:48 2014 Running the instance OS create scripts...
gnt7-04.gnt.grnet.gr:~# gnt-instance info alexkimage
...
  Operating system: image+default
  Operating system parameters:
    img_format: tarball
    img_id: fedora-12
...

Changing to a different provider updates the os entry but not the osparams:
gnt7-04.gnt.grnet.gr:~# gnt-instance reinstall -o noop alexkimage
This will reinstall the instance 'alexkimage' (and change the OS to
'noop') which removes all data. Continue?
y/[n]/?: y
Waiting for job 335283 for alexkimage ...
Thu Aug  7 18:44:47 2014 Changing OS to 'noop'...
Thu Aug  7 18:44:50 2014 Running the instance OS create scripts...
gnt7-04.gnt.grnet.gr:~# gnt-instance info alexkimage
  Operating system: noop
  Operating system parameters:
    img_format: tarball
    img_id: fedora-12


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Reply via email to