Comment 3 for bug 1748544

Revision history for this message
melanie witt (melwitt) wrote :

I was able to test the proposed patch with devstack by booting an instance with an ubuntu cloud image with hw_qemu_guest_agent=yes and then installing the qemu-guest-agent in the instance.

Before this patch:

 $ nova set-password test
 New password:
 Again:

 $ nova get-password test

After this patch:

 $ nova set-password test
 New password:
 Again:

 $ nova get-password test
 eEv1bBKyjwt5OItQG1Bw+Qk6Ur0x2s8oIYhrEtsR9zIecAoSG9OqmVsRUVYbUF68TQw4p3iMpndABcsNu
 ub/B2aBgxuRqeFP5TMss/FD91kOp8bUDWJ+GthneoDGTd7cS73UfSK41hqPkqTJRouWiRksisGbJefk7cj4
 uIqOBGU9vPuG+XmGXRA8nVxdw7zw5vQx78/sAKRpgt4oge3rEhSSOK7iO4L6aLx8ufOC16HgD/qpUcVu
 ctf0Oiy0W2t8h0YG+eEBiGyYUGBeZVRhCb2kXyXt77QGVTvSQZqVst81B9dK5DpUGGP1NOYHRq49xo6
 37blpuHpDMDO+3t70qg==

 $ nova get-password test somekey.private
 foo