Instance creation fails with NovaException: Error mounting with libguestfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Unassigned | ||
4.1.x |
Fix Committed
|
High
|
Unassigned | ||
5.0.x |
Fix Committed
|
High
|
Unassigned |
Bug Description
The issue was discovered with the following steps:
1. Deploy Fuel 4.0.
2. Clone tempest (Havana stable branch) to Controller node.
3. Configure tempest.
4. Run
nosetests -sv tempest/
This script creates instances with code:
cls.create_
This code sends request with body:
{"server": {"name": "server82800933", "imageRef": "2c97f855-
Result: instance in ERROR status.
/var/log/
<0>Mar 5 15:29:07 node-13 ¿<182>nova-
<0>Mar 5 15:29:08 node-13 ¿<182>nova-
<0>Mar 5 15:29:08 node-13 ¿<182>nova-
<0>Mar 5 15:29:08 node-13 ¿<179>nova-
errno: File exists
If qemu is located on a non-standard path, try setting the LIBGUESTFS_QEMU
environment variable. There may also be errors printed above.))
<0>Mar 5 15:29:08 node-13 ¿<179>nova-
Traceback (most recent call last):
File "/usr/lib/
block_
File "/usr/lib/
admin_
File "/usr/lib/
instance=
File "/usr/lib/
mandatory=
File "/usr/lib/
fs.setup()
File "/usr/lib/
{'imgfile': self.imgfile, 'e': e})
NovaException: Error mounting /var/lib/
errno: File exists
If qemu is located on a non-standard path, try setting the LIBGUESTFS_QEMU
environment variable. There may also be errors printed above.)
The following steps helped to fix this issue:
1. qemu-kvm is located in /usr/bin folder but libguestfs expect it in /usr/libexec/ folder.
So, on each Compute node do this :
ln -s /usr/bin/qemu-kvm /usr/libexec/
2. Apply fix for bug https:/
On each Compute node, add these to the supermin hostfiles (/usr/lib64/
/usr/share/
/usr/share/
Changed in fuel: | |
status: | New → Triaged |
assignee: | nobody → Fuel OSCI Team (fuel-osci) |
importance: | Undecided → High |
milestone: | none → 4.1.1 |
tags: | added: release-notes |
Changed in fuel: | |
status: | Triaged → In Progress |
Changed in fuel: | |
assignee: | Fuel OSCI Team (fuel-osci) → Vladimir Kuklin (vkuklin) |
Changed in fuel: | |
assignee: | Vladimir Kuklin (vkuklin) → Fuel QA Team (fuel-qa) |
Changed in fuel: | |
status: | In Progress → Fix Committed |
Changed in fuel: | |
status: | Fix Committed → In Progress |
assignee: | Fuel QA Team (fuel-qa) → Fuel OSCI Team (fuel-osci) |
Changed in fuel: | |
status: | In Progress → Fix Committed |
Changed in fuel: | |
assignee: | Registry Administrators (registry) → nobody |
Vladimir,
Regarding the issues :
1) we're going to add creation of /usr/libexec/ qemu-kvm symlink to the qemu-kvm rpm package
2) current augeas-libs version (0.9.0-4.el6) does not contain the "lenses" entries specified above, so we're going to replace it with current version (1.0.0-5.el6) from upstream
Also, in order to include these descriptions to the supermin hostfiles, we will build our own libguestfs package from CentOS 6.4 source (thus preserving the version).
Please let us know if that sounds good to you.