share server creation failed with router_id and subnet_id None
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Setup:
1 machine running openstack-
1 machine running openstack-
1 machine running nova compute
The cloud is setup using openstack kilo packages provided by RDO repos. The tenant network type is GRE using openvswitch mechanism driver.
We uploaded the manila service image to glance and configured the manila.conf on the api and share host. The reference to both is available below:
(manila.conf) https:/
(api-paste.ini) https:/
After configuring the files and starting the service we created the default_share_type like this:
# manila type-create default_share_type True
Finally creating the share-service-
# manila share-network-
When we create a NFS share with this command:
# manila create --name myshare --share-network 8d34c08c-
It fails to get created with following log message on the manila-share log file:
The particular line that says:
2015-07-02 00:32:07.973 25603 DEBUG oslo_concurrenc
2015-07-02 00:32:07.974 25603 DEBUG oslo_concurrenc
2015-07-02 00:32:08.917 25603 WARNING manila.
subnet_id: None
router_id: None
2015-07-02 00:32:08.958 25603 DEBUG oslo_concurrenc
Is causing us to not create a manila share. Please let us know if you would like any additional details from the system and we would be more than happy to provide the same.
This deployment was done after we were able to successfully create manila shares on a all-in-one install done using RDO packstack installer.
Cheers,
Deependra
Reproduced it with latest master.
Root cause - Nova instance boot failed because of several different problems.
In my case my glance-registry failed to start because previous start went to be a zombie placeholding port 9191. Then were problems with image boot, lack of free space on machine...
So, the answer - problem is in environment.
So, nothing to do with Manila.
Thing about "router_id" and "subnet_id" is only that they were empty and could not be written to DB as non-nullable.