Ask Your Question

exodusftw's profile - activity

2019-07-22 03:26:10 -0600 received badge  Famous Question (source)
2019-07-22 03:26:10 -0600 received badge  Notable Question (source)
2017-04-07 01:52:45 -0600 received badge  Teacher (source)
2017-04-07 01:52:45 -0600 received badge  Self-Learner (source)
2017-04-06 10:29:03 -0600 received badge  Popular Question (source)
2017-04-03 16:20:05 -0600 answered a question Glance Using Swift Backend on Separate Openstack Cloud

If you're using CEPH as a storage backend, using the https://docs.openstack.org/developer/ironic/deploy/radosgw.html (RadosGW Guide) allowed glance to connect to Swift on the OpenStack2 cloud instance without requiring a local entry in the service catalog route to swift

2017-03-31 07:49:10 -0600 commented question Glance Using Swift Backend on Separate Openstack Cloud

I also thought it might be useful to configure OpenStack1 with a service/endpoint for Swift that points to the Swift Endpoint URL on OpenStack2, but that doesn't seem to work as the Cannot find swift service endpoint errors are still logged

2017-03-30 23:18:38 -0600 asked a question Glance Using Swift Backend on Separate Openstack Cloud

Trying to determine whether or not it's possible to configure Glance to utilize a Swift backend that is running on a separate Openstack cloud.

Example Architecture:

Cloud #1 - OpenStack1

  • This Cloud runs all of the requisite services:

    • Glance
    • Ironic
    • Keystone
    • Neutron
    • Nova

Cloud #2 - OpenStack2

  • Separate Cloud which runs all the same requisite services

    • Keystone
    • Neutron
    • Nova
    • This Cloud also hosts the Swift Service/Object store

I should note that with my current configuration, I can push directly to Swift from OpenStack1 via either Curl or the swift cmdline Utility. The Issue I'm experiencing is when creating a glance image, the file upload fails due to the following error on OpenStack1:

2017-03-29 21:05:45.523 48778 ERROR glance.common.wsgi BackendException: Cannot find swift service endpoint : The request you have made requires authentication. (HTTP 401)

Is there a method that can be used to ensure that the Glance service on OpenStack1 can use swift as the default_backend, given that there will be no defined swift service/endpoint on OpenStack1 and the keystone auth endpoints for Glance and Swift would be configured as:

  • Glance Authenticates against Keystone on OpenStack1

/etc/glance/glance-api.conf

[keystone_authtoken]
auth_url = <keystone_endpoint_on_OpenStack1>
auth_uri = <keystone_endpoint_on_OpenStack1>
  • Swift Authenticates against Keystone on Openstack2

/etc/glance/glance-swift-store.conf

[swift1]
auth_address = <keystone_endpoint_on_OpenStack2>
2017-03-30 09:01:16 -0600 received badge  Autobiographer