Inject keypair or others failed when using rbd backend and CONF.force_config_drive is false
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Daniel Berrange |
Bug Description
If you use rbd backend and CONF.force_
We can see:
https:/
require the image exists 'path' member, but we haven't has 'path' member when rbd backend:
https:/
If you set CONF.force_
2013-12-04 13:50:21.146 2782 ERROR nova.compute.
2013-12-04 13:50:21.146 2782 TRACE nova.compute.
2013-12-04 13:50:21.146 2782 TRACE nova.compute.
2013-12-04 13:50:21.146 2782 TRACE nova.compute.
2013-12-04 13:50:21.146 2782 TRACE nova.compute.
2013-12-04 13:50:21.146 2782 TRACE nova.compute.
2013-12-04 13:50:21.146 2782 TRACE nova.compute.
2013-12-04 13:50:21.146 2782 TRACE nova.compute.
2013-12-04 13:50:21.146 2782 TRACE nova.compute.
Changed in nova: | |
assignee: | nobody → Haomai Wang (haomai) |
tags: | added: libvirt |
Changed in nova: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in nova: | |
milestone: | none → liberty-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | liberty-1 → 12.0.0 |
I think we have no way to inject data to image until upgrade libguestfs to 1.22 or higher. Because libguestfs lower than 1.22 has no interface to deal with "rbd" protocol image.
So maybe we need to raise a exception when detect rbd image and not use configdrive.