[GPFS] nova volume-attach a gpfs volume with an error log in nova-compute
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Lan Qi song | ||
Juno |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When I attached a gpfs volume to an instance, the volume has been successfully attached to the instance, but there were some error logs in nova-compute log file as below:
2014-12-22 21:52:10.863 13396 ERROR nova.openstack.
Command: sudo nova-rootwrap /etc/nova/
Exit code: 1
Stdout: u''
Stderr: u'BLKGETSIZE64: Inappropriate ioctl for device\n'
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
2014-12-22 21:52:10.863 13396 TRACE nova.openstack.
This error occurred when nova tried to get the gpfs volume size using "blockdev --getsize64" command.
Cinder configuration "gpfs_mount_
The blockdev filter in /usr/share/
"blockdev: RegExpFilter, blockdev, root, blockdev, (--getsize64|
It seems we couldn't use "blockdev --getsize64" command to calculate the gpfs volume size. This error wouldn't affect the volume attachment, but it affect the nova-compute service, nova-compute service couldn't restart successfully with this error.
summary: |
- [GPFS] nova volume-attach a gpfs volume with a error log + [GPFS] nova volume-attach a gpfs volume with an error log in nova- + compute |
Changed in nova: | |
milestone: | none → kilo-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | kilo-2 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/143614
Review: https:/