Commit Graph

19 Commits

Author SHA1 Message Date
Sharmin Choksey 1745a9b950 Fixes heat-keystone-setup-domain authentication failures with v3
With keystone v3 configured, attempting to create a heat domain
and heat user fails with authentication errors

Change-Id: Ieb1cb7a62b32e842d80020b4ab2870ef1394ba86
Closes-Bug: #1667795
2017-03-14 07:00:33 -07:00
shizhihui f34a7bb0d8 Trivial:Standardize the output format of 'help' in some files
In some files,it is possible that we import '_'from heat.commom.i18n.
For more information:

[1]http://docs.openstack.org/developer/oslo.i18n/usage.html

Change-Id: I545b9e51111a9c9c542e3089bef1490a3ba3a40b
2016-09-21 14:12:27 +08:00
Rabi Mishra 6b8f1ae5a6 Fix heat-keystone-setup-domain
Change I4209f3bcc56467b6eb50a794694fe8d1da780161 to use oslo.log
has broken the heat-keystone-setup-domain script. This patch
fixes it.

Change-Id: Ib98a453803d9fd2bf31056e8c9b49b84b2e7e715
Closes-Bug: #1573368
2016-05-16 07:38:46 +00:00
ricolin 2ca6914d1c Replace logging lib
We use oslo_log to replace logging.

Change-Id: I4209f3bcc56467b6eb50a794694fe8d1da780161
2016-01-03 12:36:05 +08:00
Ethan Lynn 6d8397f18a Add domain when list users in heat-keystone-setup-domain
Add domain when list users in heat-keystone-setup-domain

Change-Id: Ib4379e3880f206caed757a2718f31b82201f4495
Closes-Bug: #1470567
2015-07-01 23:38:19 +08:00
Jenkins 5aff162525 Merge "Using OS_TENANT_NAME in heat-keystone-setup-domain" 2015-03-24 22:29:13 +00:00
Michal Rostecki 501ae172d0 Using OS_TENANT_NAME in heat-keystone-setup-domain
Tenant name was not provided in Keystone client, so it was not
authenticated properly and raised Unauthorized exception.

Change-Id: I0b86ffa3eeff4a9631e36f56f4e111bb5eadf8b6
Closes-Bug: #1435415
2015-03-24 12:45:35 +00:00
Kanagaraj Manickam cc95fcc5d8 Adds version reporting for heat commands
Adds --version option for following commands
heat-api-cfn
heat-api-cloudwatch
heat-keystone-setup-domain

Change-Id: I84bdf16fd053b5eccacd99bf26ecd9eb34e57ef8
Closes-bug: #1435406
2015-03-24 12:35:17 +05:30
Jens Rosenboom a99fe6a760 Make import of oslo libraries namespaceless
See https://blueprints.launchpad.net/oslo-incubator/+spec/drop-namespace-packages

Closes-Bug: 1423174
Change-Id: I48680ce6e7ce91005c147ab4388203946171d433
2015-02-18 22:54:10 +01:00
Ethan Lynn 0307d02677 Mark stack_domain_admin_password as a secret option
Add secret=True to option stack_domain_admin_password,
so that will avoid logging this option in engine.log.

Closes-Bug: #1392162
Change-Id: I04071f37a0053b969dc31a69e62ba9abb075c590
2014-11-14 10:40:13 +08:00
Ethan Lynn 8d4e7acb83 Add CERT file support in heat-keystone-setup-domain
Add below options to support ssl connection.
--insecure
--os-cacert
--os-cert
--os-key

Change-Id: I9d1fd07df783d7410ac3f51b5d4e8434d57182a4
Close-bug: #1387063
2014-10-31 18:13:20 +08:00
tengqm 4155c1e588 Silence urllib3 redundant logging.
This patch makes the default logging level of heat-keystone-setup-domain
to be WARNING and the 'urllib3.connectionpool' logging level to be
WARNING as well.

The intent is to remove unncecessary logging information from urllib3
library.

Closes-Bug: 1358093
Change-Id: I650e80aa1093c8c7e7c5dac3694d58139d2ec260
2014-08-18 12:39:56 +08:00
tengqm a68e08cb47 Privilege checking for heat-keystone-setup-domain
This patch added additional exception handling so that a non-admin user
will understand why his/her attempt to run this script failed.

Change-Id: I20a593f613931de0b3c13094a2e0b6c2f2b0eea1
Closes-Bug: 1354687
2014-08-18 10:58:26 +08:00
Morgan Fainberg 7354e68bde Support using domain_name instead of domain_id
When using keystoneclient (heat.common.heat_keystoneclient) to
perform actions, support the use of domain_name instead of
exclusively domain_id.

The new config option to use domain_name instead of domain_id
is ``stack_user_domain_name``. If ``stack_user_domain_id`` option
is set (renamed from ``stack_user_domain``), the new
domain_name-specific option will be ignored.

Change-Id: I0d3937a98b95100ccaaaf7a46d3ed722aba27de3
Closes-Bug: #1313003
2014-07-02 13:30:28 -07:00
Jenkins 0aaf6133b8 Merge "use register_cli_opts instead of register_opts" 2014-07-02 15:40:24 +00:00
Kanagaraj Manickam 35cf2f7a3b Don't expose password in heat-keystone-setup-domain logs
heat-keystone-setup-domain is logging
the password to the log file. This patch
removes the logging as it's security concerns

Change-Id: I0f017a9c114ac60ea9f5e0df012334ead8cb434a
Closes-bug: #1336225
2014-07-02 14:21:23 +05:30
Kanagaraj Manickam 55a4802b80 use register_cli_opts instead of register_opts
oslo.config provides api register_cli_opts
to register multiple opts at once and same
is used in this patch to replace the
register_opts

Change-Id: I80b9bf37308c9e7085947200bc7c393c15e5e29d
Closes-bug: #1336224
2014-07-01 22:42:03 +05:30
Clint Byrum 047757e9f8 Use oslo.config for heat-keystone-setup-domain
Previously used environment variables exclusively.

Change-Id: If4b4266ce66212d7ae2579e7da6d3bae779ad04a
2014-05-20 23:38:03 -07:00
Clint Byrum e8ab2b4745 Distribute create_heat_domain
Rename it to heat-keystone-setup-domain and ship it in bin with the
other helper scripts. This will make it consumable by automated systems
and packaging.

Change-Id: I7914869377cd08b6201007aa0eb6b8a70d763254
2014-04-25 21:13:12 -07:00