[ostf]Cannot create volume and attach it to instance

Bug #1257744 reported by Nastya Urlapova
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Dmitry Borodaenko

Bug Description

3.2.1-91
Ubuntu
simple - 1XController, 1XCompute, 1XCinder, 2XCeph

Deployment of environment is succeed.
OSTF test -- "Create volume and attach it to instance" failed.

Tags: ostf
Revision history for this message
Nastya Urlapova (aurlapova) wrote :
Revision history for this message
Mike Scherbakov (mihgen) wrote :

Any details on this? Looks like issue with Ceph integration?

Changed in fuel:
milestone: none → 3.2.1
Revision history for this message
Andrey Korolyov (xdeller) wrote :
Download full text (4.0 KiB)

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/cinder/volume/driver.py", line 88, in _try_execute
    self._execute(*command, **kwargs)
  File "/usr/lib/python2.7/dist-packages/cinder/utils.py", line 190, in execute
    cmd=' '.join(cmd))
ProcessExecutionError: Unexpected error while running command.
Command: rbd rm --pool volumes volume-36252384-94b8-4416-8777-c0aaf229e51f
Exit code: 16
Stdout: ''
Stderr: '\rRemoving image: 1% complete...\rRemoving image: 2% complete...\rRemoving image: 3% complete...\rRemoving image: 4% complete...\rRemoving image: 5% complete...\rRemoving image: 6%
complete...\rRemoving image: 7% complete...\rRemoving image: 8% complete...\rRemoving image: 9% complete...\rRemoving image: 10% complete...\rRemoving image: 11% complete...\rRemoving image:
 12% complete...\rRemoving image: 13% complete...\rRemoving image: 14% complete...\rRemoving image: 15% complete...\rRemoving image: 16% complete...\rRemoving image: 17% complete...\rRemovin
g image: 18% complete...\rRemoving image: 19% complete...\rRemoving image: 20% complete...\rRemoving image: 21% complete...\rRemoving image: 22% complete...\rRemoving image: 23% complete...\
rRemoving image: 24% complete...\rRemoving image: 25% complete...\rRemoving image: 26% complete...\rRemoving image: 27% complete...\rRemoving image: 28% complete...\rRemoving image: 29% comp
lete...\rRemoving image: 30% complete...\rRemoving image: 31% complete...\rRemoving image: 32% complete...\rRemoving image: 33% complete...\rRemoving image: 34% complete...\rRemoving image:
35% complete...\rRemoving image: 36% complete...\rRemoving image: 37% complete...\rRemoving image: 38% complete...\rRemoving image: 39% complete...\rRemoving image: 40% complete...\rRemoving
 image: 41% complete...\rRemoving image: 42% complete...\rRemoving image: 43% complete...\rRemoving image: 44% complete...\rRemoving image: 45% complete...\rRemoving image: 46% complete...\r
Removing image: 47% complete...\rRemoving image: 48% complete...\rRemoving image: 49% complete...\rRemoving image: 50% complete...\rRemoving image: 51% complete...\rRemoving image: 52% compl
ete...\rRemoving image: 53% complete...\rRemoving image: 54% complete...\rRemoving image: 55% complete...\rRemoving image: 56% complete...\rRemoving image: 57% complete...\rRemoving image: 5
8% complete...\rRemoving image: 59% complete...\rRemoving image: 60% complete...\rRemoving image: 61% complete...\rRemoving image: 62% complete...\rRemoving image: 63% complete...\rRemoving
image: 64% complete...\rRemoving image: 65% complete...\rRemoving image: 66% complete...\rRemoving image: 67% complete...\rRemoving image: 68% complete...\rRemoving image: 69% complete...\rR
emoving image: 70% complete...\rRemoving image: 71% complete...\rRemoving image: 72% complete...\rRemoving image: 73% complete...\rRemoving image: 74% complete...\rRemoving image: 75% comple
te...\rRemoving image: 76% complete...\rRemoving image: 77% complete...\rRemoving image: 78% complete...\rRemoving image: 79% complete...\rRemoving image: 80% complete...\rRemoving image: 81
% complete...\rRemoving image: 82% complete...\rRemoving image: 83% complete...\rRemoving image...

Read more...

Changed in fuel:
assignee: Anastasiia Naboikina (anaboikina) → Dmitry Borodaenko (dborodaenko)
Revision history for this message
Nastya Urlapova (aurlapova) wrote :

ostf should work correctly with ceph or not?

Revision history for this message
Igor Shishkin (teran) wrote :

ostf.log-Traceback (most recent call last):
ostf.log- File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/unittest2/case.py", line 340, in run
ostf.log- testMethod()
ostf.log- File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/fuel_health/tests/smoke/test_create_volume.py", line 95, in test_volume_create
ostf.log- instance, 'ACTIVE')
ostf.log- File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/fuel_health/common/test_mixins.py", line 186, in verify
ostf.log- " Please refer to OpenStack logs for more details.")
ostf.log- File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/unittest2/case.py", line 415, in fail
ostf.log- raise self.failureException(msg)
ostf.log:AssertionError: Step 5 failed: Failed to get to expected status. In error state. Please refer to OpenStack logs for more details.

Revision history for this message
Mike Scherbakov (mihgen) wrote :

Do I understand right that manual volume creation and attachment works fine, and only OSTF test fails?

Revision history for this message
Dmitry Borodaenko (angdraug) wrote :

Confirmed: I can attach a volume to an instance manually in an identical configuration (ubuntu simple neutron/gre, lvm for volumes, ceph for images). Appears to be an OSTF specific issue.

Mike Scherbakov (mihgen)
Changed in fuel:
milestone: 3.2.1 → 4.0
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

Guys
Why you decide that volume has not been created?
In OSTF volume successful create here and get active state (See snapshot that Nastya provide), test fail according instance creation fail - instance go to error state, and there are already near 3 bugs about this.
In some way instances created by OSTF go to error state on Ubuntu - meanwhile I can create instance manually (after restarting of libvirt and open-iscii)
In 4-0 OSTF should migrate to the new packages and more debugging info should be added - may be it helps to find root of evil )

So I think that we can close this issues and mark as duplicate

Revision history for this message
Tatyanka (tatyana-leontovich) wrote :
Revision history for this message
Mike Scherbakov (mihgen) wrote :

Closing as duplicate of https://bugs.launchpad.net/fuel/+bug/1257811, according to the findings.

Changed in fuel:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.