Glance non-iSCSI Cinder Backend fails with privsep broken pipe

Bug #1928669 reported by Jöran Malek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
In Progress
Medium
Unassigned

Bug Description

**Bug Report**
What Happened:
I cannot get Glance to upload a .vhdx-file to cinder hosted on cinder-volume winsmb (CloudBase Cinder-Volume Service). See attached glance log file. Cinder works fine, as I can create new volumes, but cannot upload images through horizon. Though as horizon is able to upload fine, I assume this is related to Glance only.

My deployment consists of one all-in-one-node with following services enabled and running:

---
docker container list
NAMES
designate_sink
designate_worker
designate_mdns
designate_producer
designate_central
designate_api
designate_backend_bind9
horizon
neutron_metadata_agent
neutron_l3_agent
neutron_dhcp_agent
neutron_linuxbridge_agent
neutron_server
nova_novncproxy
nova_conductor
nova_api
nova_scheduler
placement_api
cinder_scheduler
cinder_api
glance_api
keystone
keystone_fernet
keystone_ssh
rabbitmq
memcached
mariadb_clustercheck
mariadb
cron
kolla_toolbox
fluentd
---

Cinder, Neutron and Nova are running on Windows Server 2019 servers for testing purposes, as I want to leverage my failover cluster and infrastructure for OpenStack. Before rolling this out I wanted to get verification that this works flawlessly, and I hit this issue here.

glance.conf: (stripped for relevant entries)

---
[DEFAULT]
enabled_backends = http:http, cinder:cinder
cinder_catalog_info = volume:cinder:internalURL

[glance_store]
default_backend = cinder
---

What I expect to happen:
Upload images from Horizon to Glance on Cinder-backend on CloudBase OpenStack Cinder-Volume 17.0 Victoria

Reproduce:
* Deploy 1-Node Controller-only (compute and storage-inventory empty)
* Deploy Windows Server 2019 with CloudBase OpenStack Windows Storage 17.0 Victoria, fill in all required fields (use SMB, not iSCSI)
* Upload single .VHDX-image through horizon into the Images-store. Ends up being queued forever, and fails with error, see attachment.

**Environment**
* OS: Ubuntu 20.04.2 LTS
* Kernel: Linux stack 5.4.0-73-generic #82-Ubuntu SMP Wed Apr 14 17:39:42 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
* Docker Version: 20.10.2-0ubuntu1~20.04.2
* Kolla Version: all (source, binary) builds of stable/wallaby and stable/victoria, both CentOS and Ubuntu don't work.
* Cinder Volume: CloudBase OpenStack Windows Storage 17.0 Victoria

I don't see this as a deployment-issue as privsep is supposed to be part of kolla images.

I'm happy to provide further details if necessary.

Tags: glance
Revision history for this message
Jöran Malek (alivedevil) wrote :
description: updated
Revision history for this message
Radosław Piliszek (yoctozepto) wrote :

What's the cinder backend?

Changed in kolla:
status: New → Incomplete
Revision history for this message
Jöran Malek (alivedevil) wrote :

The Cinder Backend is running CloudBase OpenStack Windows Storage[1,2] for OpenStack Victoria 17.0.0 on a scale-out file server SMB share.

Content of mentioned smbfs_share_list:
> //bs.ad.xc/Volumes

[1]: https://cloudbase.it/openstack-windows-storage/
[2]: https://docs.openstack.org/cinder/victoria/install/index-windows.html

Mark Goddard (mgoddard)
Changed in kolla:
status: Incomplete → New
summary: - Glance Cinder Backend fails with privsep broken pipe
+ Glance non-iSCSI Cinder Backend fails with privsep broken pipe
Changed in kolla:
status: New → Triaged
no longer affects: kolla
Changed in kolla-ansible:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to kolla-ansible (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/797238

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)
Changed in kolla-ansible:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla-ansible (master)

Change abandoned by "Radosław Piliszek <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/797238
Reason: it served its purpose

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by "Radosław Piliszek <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/799111
Reason: https://review.opendev.org/c/openstack/kolla-ansible/+/714999 is preferred to solve this

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by "Radosław Piliszek <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/714999
Reason: not pursuing

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by "Radosław Piliszek <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/797238

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by "Radosław Piliszek <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/714999
Reason: stale, not pursuing

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.