in Openstack yoga with 3.68 cinder api and 2.90 nova api volume based rebuild can be done successfully with:
1. Server Stop.
2. Set volume status = available (admin rights) - actually we do not change attachments.
3. Volume Reimage.
4. Set volume status = in-use. (admin rights)
5. Start server. Cloud init initialaize new vm with new image with old vm metadata (keys + passwords, userdata, vendordata).
Before step5 can be done:
4.5 server rebuild.
Actually it do nothing in 2.90 nova with volume-backed vm, but enable to change passwords and ssh key metadata before cloud-init.
in Openstack yoga with 3.68 cinder api and 2.90 nova api volume based rebuild can be done successfully with:
1. Server Stop.
2. Set volume status = available (admin rights) - actually we do not change attachments.
3. Volume Reimage.
4. Set volume status = in-use. (admin rights)
5. Start server. Cloud init initialaize new vm with new image with old vm metadata (keys + passwords, userdata, vendordata).
Before step5 can be done:
4.5 server rebuild.
Actually it do nothing in 2.90 nova with volume-backed vm, but enable to change passwords and ssh key metadata before cloud-init.