Error status on share creation

Bug #1883769 reported by Alejandro Santoyo Gonzalez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Manila Generic Backend Charm
Invalid
Undecided
Unassigned

Bug Description

All shares created end up with status "error" (this was encountered when running the functional tests for the charm). The manila-share service is down:

root@juju-d30013-zaza-424bd7b027e7-3:~# manila service-list
+----+------------------+-----------------------------------------+------+---------+-------+----------------------------+
| Id | Binary | Host | Zone | Status | State | Updated_at |
+----+------------------+-----------------------------------------+------+---------+-------+----------------------------+
| 1 | manila-scheduler | juju-d30013-zaza-424bd7b027e7-3 | nova | enabled | up | 2020-06-16T18:17:14.000000 |
| 2 | manila-data | juju-d30013-zaza-424bd7b027e7-3 | nova | enabled | up | 2020-06-16T18:17:18.000000 |
| 3 | manila-share | juju-d30013-zaza-424bd7b027e7-3@generic | nova | enabled | down | None |
+----+------------------+-----------------------------------------+------+---------+-------+----------------------------+

and the manila-share.log shows the following:

2020-06-16 18:17:45.423 22879 WARNING manila.share.drivers.generic [req-78aaa3e0-a973-4f9d-b9f9-5cdf813d29a6 - - - - -] Waiting for the common service VM to become available. Driver is currently uninitialized. Share server: None Retry interval: 5: ConnectFailure: Unable to establish connection to http://localhost:5000/v2.0/tokens: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /v2.0/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb3cf8d9710>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',))
2020-06-16 18:17:45.432 22879 ERROR manila.share.drivers.generic [req-78aaa3e0-a973-4f9d-b9f9-5cdf813d29a6 - - - - -] Unable to establish connection to http://localhost:5000/v2.0/tokens: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /v2.0/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb3cf937fd0>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)): ConnectFailure: Unable to establish connection to http://localhost:5000/v2.0/tokens: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /v2.0/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb3cf937fd0>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',))

After some digging seems like Manila is attempting to contact Nova using the wrong context (i.e., the default values defined within manila-compute.inc provided by Charm Manila), although the reason is still unclear.

I have attached the following files in a tar:
   - bundle.yaml deployed (bionic.train.yaml)
   - manila.conf
   - manila-share.log (debug mode was enabled)

Revision history for this message
Alejandro Santoyo Gonzalez (al3jandrosg) wrote :
Revision history for this message
Alejandro Santoyo Gonzalez (al3jandrosg) wrote :

The Placement charm was required and consequently added through:

juju deploy --series bionic --config openstack-origin=cloud:bionic-train cs:placement
juju add-relation placement percona-cluster
juju add-relation placement keystone
juju add-relation placement nova-cloud-controller

Revision history for this message
Chris MacNaughton (chris.macnaughton) wrote :

I'm assuming from your message that this is resolved by adding the placement charm. Please mark this back to New if that's not the case

Changed in charm-manila-generic:
status: New → Incomplete
Changed in charm-manila-generic:
status: Incomplete → New
Changed in charm-manila-generic:
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.