I was able to deploy Devstack with Ceph recently, and USE_PYTHON3 is True by default. I was then able to create an image, so I'll assume this bug has been fixed some time in the past 2 years and close it. Feel free to reopen if needed.
** Changed in: glance Status: New => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1841275 Title: Glance stop Devstack when using USE_PYTHON3 flag Status in Glance: Fix Released Bug description: Description of the problem: -------------------------- During deploying Devstack with python3 and Ceph plugin, I'm facing this error: HTTP 502 Bad Gateway: Bad Gateway: The proxy server received an invalid: response from an upstream server when creating the Cirros image. I'm not using any special specification for Glance, I'm using the default configuration. How to reproduce: ----------------- 1. Add USE_PYTHON3=True and the Ceph plugin to the local.conf 2. Run ./stack 3. Check the error in the output. Local.conf: ----------- [[local|localrc]] VIRT_DRIVER=libvirt ADMIN_PASSWORD=secret SERVICE_TOKEN=$ADMIN_PASSWORD MYSQL_PASSWORD=$ADMIN_PASSWORD RABBIT_PASSWORD=$ADMIN_PASSWORD SERVICE_PASSWORD=$ADMIN_PASSWORD LOGFILE=$DEST/logs/stack.sh.log LOGDAYS=2 SYSLOG=False LOG_COLOR=False enable_plugin devstack-plugin-ceph https://opendev.org/openstack/devstack-plugin-ceph CINDER_ENABLED_BACKENDS=ceph CINDER_DEFAULT_VOLUME_TYPE=ceph enable_service c-bak USE_PYTHON3=True Output: ------- + functions:upload_image:373 : '[' bare = bare ']' + functions:upload_image:374 : '[' '' = zcat ']' + functions:upload_image:376 : '[' '' = bunzip2 ']' + functions:upload_image:379 : openstack --os-cloud=devstack-admin --os-region-name=RegionOne image create cirros-0.4.0-x86_64-disk --public --container-format=bare --disk-format qcow2 HTTP 502 Bad Gateway: Bad Gateway: The proxy server received an invalid: response from an upstream server. + functions:upload_image:1 : exit_trap Devstack Output: --------------- http://paste.openstack.org/show/762535/ To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1841275/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp