keystone::endpoint::version set to empty has no effect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-keystone |
Invalid
|
High
|
Sofer Athlan-Guyot |
Bug Description
How to reproduce it:
Setting keystone:
Run Puppet
Result:
[centos@jenkins ~]$ openstack endpoint list
+------
| ID | Region | Service Name | Service Type |
+------
| 83d1bea522fd49c
| 15b6de37626d405
| 36348b09bad04d4
| b3534196257c481
| e196d2eec23d437
| 09b9e8afd38e420
| dde1555e38c045f
| 0bd5083f8c91475
+------
[centos@jenkins ~]$ openstack endpoint show 36348b09bad04d4
+------
| Field | Value |
+------
| adminurl | http://
| enabled | True |
| id | 36348b09bad04d4
| internalurl | http://
| publicurl | http://
| region | RegionOne |
| service_id | f9c5936bbf3349f
| service_name | keystone |
| service_type | identity |
+------
Expected result:
having endpoints without versions.
Changed in puppet-keystone: | |
importance: | Undecided → High |
Changed in puppet-keystone: | |
assignee: | nobody → Sofer Athlan-Guyot (sofer-athlan-guyot) |
Changed in puppet-keystone: | |
status: | New → Confirmed |
Cannot reproduce the bug.
I deployed openstack using puppet- openstack- integratrion, scenario003. After a
successful installation I made this diff:
--- /etc/puppet/ modules/ openstack_ integration/ manifests/ keystone. pp.orig 2016-01-04 14:42:43.652000000 -0500 modules/ openstack_ integration/ manifests/ keystone. pp 2016-01-04 14:37:14.726000000 -0500 :endpoint' :
default_ domain => 'admin',
+++ /etc/puppet/
@@ -24,6 +24,7 @@
}
class { '::keystone:
+ version => '',
}
}
And then re-run:
puppet apply -d /etc/puppet/ modules/ openstack_ integration/ fixtures/ scenario003. pp
Got this is the log:
Notice: /Stage[ main]/Keystone: :Endpoint/ Keystone: :Resource: :Service_ identity[ keystone] /Keystone_ endpoint[ RegionOne/ keystone: :identity] /public_ url: public_url changed 'http:// 127.0.0. 1:5000/ v2.0' to 'http:// 127.0. main]/Keystone: :Endpoint/ Keystone: :Resource: :Service_ identity[ keystone] /Keystone_ endpoint[ RegionOne/ keystone: :identity] /internal_ url: internal_url changed 'http:// 127.0.0. 1:5000/ v2.0' to 'http:// 12 main]/Keystone: :Endpoint/ Keystone: :Resource: :Service_ identity[ keystone] /Keystone_ endpoint[ RegionOne/ keystone: :identity] /admin_ url: admin_url changed 'http:// 127.0.0. 1:35357/ v2.0' to 'http:// 127.0.0
0.1:5000'
Notice: /Stage[
7.0.0.1:5000'
Notice: /Stage[
.1:35357'
And then:
openstack --os-username admin --os-password a_big_secret --os-tenant-name openstack --os-auth-url http:// 127.0.0. 1:5000/ v2.0 endpoint list ------- ------- ------- ------- ----+-- ------- --+---- ------- ---+--- ------- ----+ ------- ------- ------- ------- ----+-- ------- --+---- ------- ---+--- ------- ----+ 69b844476e095fd ce | RegionOne | keystone | identity | cb5e3e032e7d02a 75 | RegionOne | cinderv2 | volumev2 | a8f18f3c36ed9e1 c7 | RegionOne | glance | image | 08dd09cdeb70a44 38 | RegionOne | novav3 | computev3 | 9a4961cb85481a0 60 | RegionOne | cinder | volume | ab4a53af212a988 ed | RegionOne | neutron | network | 3b5354e3d379ff3 4f | RegionOne | nova | compute | eb6ec0c8fcce4d7 b0 | RegionOne | nova_ec2 | ec2 | ------- ------- ------- ------- ----+-- ------- --+---- ------- ---+--- ------- ----+
+--
| ID | Region | Service Name | Service Type |
+--
| 5c1233e713e04b1
| c14d35a32b4048a
| 249754f6d457487
| 8599334857854ca
| 83bb1d5f2c0243a
| d103d19fc2584a5
| b1b4f9b3fd84450
| 54cf345b9d24424
+--
followed by:
openstack --os-username admin --os-password a_big_secret --os-tenant-name openstack --os-auth-url http:// 127.0.0. 1:5000/ v2.0 endpoint show 5c1233e713e04b1 69b844476e095fd ce ------- -----+- ------- ------- ------- ------- -----+ ------- -----+- ------- ------- ------- ------- -----+ 127.0.0. 1:35357 | 69b844476e095fd ce | 127.0.0. 1:5000 | 127.0.0. 1:5000 |
+--
| Field | Value |
+--
| adminurl | http://
| enabled | True |
| id | 5c1233e713e04b1
| internalurl | http://
| publicurl | http://
| region | RegionOne ...