Manila share service image not getting downloaded properly

Bug #1908838 reported by Ninad Jadhav on 2020-12-20
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Low
Tom Barron
manila-image-elements
Low
Unassigned

Bug Description

Hi,

Openstack Stein (Manila Service Failed due to manila-service-image)
#############################################################################################################
1> I have been trying to deploy a manila service on Ubuntu 18.04.4 (Stein Release),
2> I am using the Linux-bridge option for the Neutron service.
3> Additionally, I am using the generic option for the storage backend, and I have set up a share node on the "compute" node as the Linux-bridge already configured on that node. So far so good with minimal deployment and even with the manila service deployment (for this I have followed https://docs.openstack.org/manila/latest/install/index.html document). But when I tried to create and launch share instances (DHSS option-2) I am facing an error during a share instance creation.

Manila-service-image Problem during download:
########################################################################################################

1>I have noticed that the curl command to download the manila-service-image is not functioning properly.
"curl https://tarballs.openstack.org/manila-image-elements/images/manila-service-image-master.qcow2" failed to download the complete 545M file.

2> When I tried to download the same image using "curl -iL https://tarballs.openstack.org/manila-image-elements/images/manila-service-image-master.qcow2" OR "https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-master.qcow2" it worked properly and I can able to create an image that worked properly with no issue.

3> I am guessing there is no hashing present to verify the image integrity.

Manila_ui Problem
########################################################################################################
1> As I am using Openstack installation Guide and installed Horizon using standard procedure as per given document https://docs.openstack.org/horizon/stein/install/
2> I noticed that for the manila_ui service the document does not mentioned the proper package installation to make "share" service worked on Horizon. (https://docs.openstack.org/manila-ui/latest/install/installation.html#manual-installation)

3> When I simply used "apt install python3-manila-ui" it worked.
4> I wonder why pyhton-manila-ui" isn't working for Ubuntu18.04 onward?

Revision history for this message
Vida Haririan (vhariria) wrote :
Changed in manila:
importance: Undecided → Low
milestone: none → wallaby-3
Revision history for this message
Tom Barron (tpb) wrote :

As the minutes above indicate, we think the first issue is likely due to the second.

The second is due to (1) move of the repository from openstack to opendev repository, and (2) lack of '-L' argument in the example ``curl`` command. If you fix either of those, the service image will download properly.

I have submitted https://review.opendev.org/c/openstack/manila/+/771843 to correct our docs.

tags: added: doc
Changed in manila:
assignee: nobody → Tom Barron (tpb)
Changed in manila:
status: New → Fix Released
Revision history for this message
Goutham Pacha Ravi (gouthamr) wrote :

Tom's change addresses the documentation issue in manila docs. I've added manila-image-elements as an affected project - we should be generating a checksum there alongside the image itself so users can verify the image's integrity on their end.

Changed in manila-image-elements:
importance: Undecided → Low
tags: added: low-hanging-fruit
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers