Volume type with extra spec creation failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Invalid
|
Medium
|
Kyrylo Romanenko |
Bug Description
Tempest tests failure:
tempest tempest.
tempest tempest.
Possible way of fix found:
1. By additional configuring of deployment:
1.1
On controller node edit file /etc/cinder/
add there strings to [DEFAULT] section:
default_volume_type = hp_msa_driver
enabled_backends = hp_msa_driver
And append there following section:
[hp_msa_driver]
volume_backend_name = HPMSA_FC
san_password = !manage
san_login = manage
san_ip = 192.168.0.2
volume_driver = cinder.
where san_ip equals osapi_volume_listen variable.
1.2
On fuel node in MOS-Scale rejoined:
Create and edit tempest.conf, add following to [volume] section:
storage_protocol = FC
vendor_name = HP
build_timeout = 196
1.3
In tempest test script tempest/
change from
extra_specs = {"storage_
to
extra_specs = {"storage_
This way also described in issue: https:/
2. Also test will not fail if omit extra_spec from function call
Exclude passing extra_specs argument in test tempest/
by changing
body = self.volume_
to
body = self.volume_
3. In Upstream OpenStack this testcase passes with Ceph successfully, looks like issue is fixed there
Fetch_to_
Change-Id: Ia3b0f9168235a9
https:/
Tests log:
http://
find there:
tempest.
tempest.
Some suspicious logs fragments from Controller node`s Cinder API:
Date Level Message
2015-01-28 10:07:41 ERR
Failed to run task cinder.
192.168.0.1 - - [27/Jan/2015 17:20:31] "DELETE /v1/3845131a1b2
2015-01-28 08:46:53 INFO
http://
2015-01-28 08:46:53 INFO
http://
2015-01-28 08:46:53 INFO
(3921) accepted ('192.168.0.1', 50539)
2015-01-28 08:46:53 INFO
192.168.0.1 - - [27/Jan/2015 17:20:31] "GET /v1/4d37b7a9f82
2015-01-28 08:46:53 INFO
http://
2015-01-28 08:46:53 INFO
exception thrown: The resource could not be found.
Environments:
Tempest test failure was detected first on following environments:
Release fuel-6.
Then issue was discovered on next deployments:
A) Remote deployment
Fuel 6.0 Juno on Ubuntu 12.04.4, 2014.2-6.0
5 nodes: 3 Controller+CephOSD; 2 Computes
Tempest deployed with MOS-Scale
B) Local on VirtualBox
Fuel 6.1 build: fuel-6.
Ubuntu 12.04.4, 2014.2-6.1:
3 nodes: Controller, Compute, Ceph-OSD
Tempest deployed with MOS-Scale
In both environments A) and B) driver configuration changes described above allow test to pass OK.
description: | updated |
Changed in mos: | |
importance: | Undecided → Medium |
assignee: | nobody → MOS Cinder (mos-cinder) |
milestone: | none → 6.1 |
status: | New → Confirmed |
Changed in mos: | |
assignee: | MOS Cinder (mos-cinder) → Yuriy Nesenenko (ynesenenko) |
This bug wasn't reproduced. The specified tests are working.