qcow2 image of alma doesn’t support command openstack server set --root-password $instance_id for rhosp 17.1.4
$ openstack server set --root-password $instance_id
Failed to set admin password on dab69d91-ae5c-4380-a0b2-e28a4f625db7 because error setting admin password (HTTP 409) (Request-ID: req-232a2d93-682a-4bg2-b50c-36a0bdbb1e17)
cause: openstack uses qemu agent for this operation, but alma currently requires base64 coded password with crypted settings:
virsh qemu-agent-command $instance_id ‘{
“execute”:“guest-set-user-password”,
“arguments”:{
“username”:“root”,
password":“JDYkUHBJOFJvMTRheU5PaFZ5VCRWMWE3Y1N0dFNYbTdGa28weHhiTjZhWUVYZFppem04bkw1a0o5c0ZvVjZxMTQ4OUZ3cEZQN0JINVVwY2ZyL2xzdzNVUjMvanNkSGt5VFFzQ0I4ano5MQ==”,
“crypted”:true
}
}’
openstack doesn’t use this format for qemu agent.
Rhel and rocky work fine with this openstack command.