volume creation showing as error

asked 2020-05-16 17:22:49 -0600

uday kiran reddy gravatar image

updated 2020-05-17 02:33:24 -0600

uday@controller:~$ openstack volume create --size 1 test-volume +---------------------+--------------------------------------+ | Field | Value
| +---------------------+--------------------------------------+ | attachments | []
| | availability_zone | nova
| | bootable | false
| | consistencygroup_id | None
| | created_at | 2020-05-17T06:14:36.392034 | | description | None
| | encrypted | False
| | id | 08e10848-6adc-44e0-90db-ac5808b0aaf4 | | migration_status | None
| | multiattach | False
| | name | test-volume | | properties |
| | replication_status | None
| | size | 1
| | snapshot_id | None
| | source_volid | None
| | status | creating
| | type | None
| | updated_at | None
| | user_id | a4a60b3589dd4bba891e84933a0d3b1a | +---------------------+--------------------------------------+ uday@controller:~$ openstack volume list +--------------------------------------+-------------+--------+------+-------------+ | ID
| Name | Status | Size | Attached to | +--------------------------------------+-------------+--------+------+-------------+ | 08e10848-6adc-44e0-90db-ac5808b0aaf4 | test-volume | error | 1 |
| +--------------------------------------+-------------+--------+------+-------------+

My logs: https://github.com/ukreddy-erwin/openstacklogs/tree/master/17-05-2020 (https://github.com/ukreddy-erwin/open...) My volume is scheduled to create on block1 machine(11.0.0.41) from controller (11.0.0.11). But it showing as failed in logs.

edit retag flag offensive close merge delete

Comments

Check the Cinder logs.

Bernd Bausch gravatar imageBernd Bausch ( 2020-05-16 18:20:39 -0600 )edit

My logs: https://github.com/ukreddy-erwin/openstacklogs/tree/master/17-05-2020 (https://github.com/ukreddy-erwin/open...) My volume is scheduled to create on block1 machine(11.0.0.41) from controller (11.0.0.11). But it showing as failed in logs.

uday kiran reddy gravatar imageuday kiran reddy ( 2020-05-17 02:33:07 -0600 )edit

The volume log indicates that the Cinder database is not correctly set up.

Bernd Bausch gravatar imageBernd Bausch ( 2020-05-17 03:05:07 -0600 )edit