Comment 13 for bug 1604879

Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Bug was checked on MOS 7.0 + MU6 updates, but another issue appeared:
s3 endpoint have broken adminurl and internalurl links.

Steps to reproduce:
1) Deploy 3 controller with Ceph OSD + 1 compute node
Storage Backends:
Ceph RBD for volumes (Cinder)
Ceph RadosGW for objects (Swift API)
Ceph RBD for ephemeral volumes (Nova)
Ceph RBD for images (Glance)
2) ssh to controller and perform:
source openrc
openstack endpoint show s3

Actual results:
root@node-1:~# openstack endpoint show s3
+--------------+----------------------------------+
| Field | Value |
+--------------+----------------------------------+
| adminurl | ://10.109.1.2:8080 |
| enabled | True |
| id | c212aed9a1d840d1b6a65b3de8f45252 |
| internalurl | ://:8080 |
| publicurl | https://public.fuel.local:8080 |
| region | RegionOne |
| service_id | 32665d855ed340429200ac5504b8ca01 |
| service_name | swift_s3 |
| service_type | s3 |
+--------------+----------------------------------+

From puppet.log:
2016-10-04 08:20:40 +0000 Puppet::Type::Keystone_endpoint::ProviderOpenstack (debug): OpenStack request: 'endpoint create ["swift_s3", "--region", "RegionOne", "--publicurl", "https://public.fuel.local:8080", "--internalurl", "://:8080", "--adminurl", "://10.109.1.2:8080"]' returned: '{:adminurl=>"://10.109.1.2:8080", :id=>"c212aed9a1d840d1b6a65b3de8f45252", :internalurl=>"://:8080", :publicurl=>"https://public.fuel.local:8080", :region=>"RegionOne", :service_id=>"32665d855ed340429200ac5504b8ca01", :service_name=>"swift_s3", :service_type=>"s3"}'