Devstack installation with Murano fails while uploading image using glance

Asked by BS

Devstack release used: juno

While installing devstack integrated with murano, it shows

openstack --os-token 5288c96d80c44c4f935390cbfa79ff03 --os-url http://192.168.56.134:9292 image create cirros-0.3.2-x86_64-disk --public --container-format=bare --disk-format qcow2
2015-04-22 08:02:52.892 | ERROR: openstack <html>
2015-04-22 08:02:52.892 | <head>
2015-04-22 08:02:52.892 | <title>400 Bad Request</title>
2015-04-22 08:02:52.893 | </head>
2015-04-22 08:02:52.893 | <body>
2015-04-22 08:02:52.893 | <h1>400 Bad Request</h1>
2015-04-22 08:02:52.893 | Client disconnected before sending all data to backend<br /><br />
2015-04-22 08:02:52.894 |
2015-04-22 08:02:52.894 | </body>
2015-04-22 08:02:52.894 | </html> (HTTP 400)

The glance api log shows the following error log:

2015-04-22 09:02:18.131 60678 DEBUG glance.api.v1.images [-] Uploading image data for image d1102edf-7af2-4f79-a7ec-3042f7b5d23a to swift store _upload /opt/stack/glance/glance/api/v1/images.py:623
2015-04-22 09:02:18.134 60678 DEBUG oslo_messaging._drivers.amqp [-] UNIQUE_ID is aa89ca7288aa4b3f982ddd925fd1515b. _add_unique_id /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqp.py:258
2015-04-22 09:02:18.148 60678 DEBUG keystoneclient.auth.identity.v2 [-] Making authentication request to http://192.168.56.134:5000/v2.0/tokens get_auth_ref /usr/local/lib/python2.7/dist-packages/keystoneclient/auth/identity/v2.py:76
2015-04-22 09:02:52.682 60678 ERROR swiftclient [-] HTTPConnectionPool(host='192.168.56.134', port=8080): Max retries exceeded with url: /v1/AUTH_56937ec139ee4b49b1234ccf67bf246b/glance (Caused by <class 'socket.error'>: [Errno 111] ECONNREFUSED)

Note: It happens only when building devstack with murano. Any changes needed while integrating murano on devstack ?

Question information

Language:
English Edit question
Status:
Answered
For:
Murano Edit question
Assignee:
Alexey Deryugin Edit question
Last query:
Last reply:
Revision history for this message
Jesse Olsen (jesseolsen) said :
#1

I ran into this, too. It turned out that Swift was not getting started properly, causing Glance to fail because of its dependency on Swift. Earlier in the output, or using the screen after running ./rejoin-stack.sh, I found the error where Swift failed. For me it was the issue below that needed to be fixed to resolve this issue:
2015-05-12 20:47:34.820 | Starting account-server...(/etc/swift/account-server/1.conf)
2015-05-12 20:47:34.820 | Traceback (most recent call last):
2015-05-12 20:47:34.821 | File "/usr/local/bin/swift-proxy-server", line 6, in <module>
2015-05-12 20:47:34.821 | exec(compile(open(__file__).read(), __file__, 'exec'))
2015-05-12 20:47:34.821 | File "/opt/stack/swift/bin/swift-proxy-server", line 23, in <module>
2015-05-12 20:47:34.821 | sys.exit(run_wsgi(conf_file, 'proxy-server', **options))
2015-05-12 20:47:34.822 | File "/opt/stack/swift/swift/common/wsgi.py", line 473, in run_wsgi
2015-05-12 20:47:34.822 | loadapp(conf_path, global_conf=global_conf)
2015-05-12 20:47:34.822 | File "/opt/stack/swift/swift/common/wsgi.py", line 389, in loadapp
2015-05-12 20:47:34.822 | return ctx.create()
2015-05-12 20:47:34.823 | File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2015-05-12 20:47:34.823 | return self.object_type.invoke(self)
2015-05-12 20:47:34.823 | File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 207, in invoke
2015-05-12 20:47:34.823 | app = filter(app)
2015-05-12 20:47:34.823 | File "/usr/local/lib/python2.7/dist-packages/ceilometermiddleware/swift.py", line 236, in filter
2015-05-12 20:47:34.823 | return Swift(app, conf)
2015-05-12 20:47:34.824 | File "/usr/local/lib/python2.7/dist-packages/ceilometermiddleware/swift.py", line 106, in __init__
2015-05-12 20:47:34.824 | oslo.messaging.get_transport(cfg.CONF, url=conf.get('url')),
2015-05-12 20:47:34.824 | File "/usr/lib/python2.7/dist-packages/oslo/messaging/transport.py", line 175, in get_transport
2015-05-12 20:47:34.824 | kwargs = dict(default_exchange=conf.control_exchange,
2015-05-12 20:47:34.824 | File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 1870, in __getattr__
2015-05-12 20:47:34.825 | raise NoSuchOptError(name)
2015-05-12 20:47:34.825 | oslo_config.cfg.NoSuchOptError: no such option: control_exchange
2015-05-12 20:47:34.825 |

Can you help with this problem?

Provide an answer of your own, or ask BS for more information if necessary.

To post a message you must log in.