summaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Fix hacking warningsAndreas Jaeger2020-04-164-13/+18
| | | | | | Fix some warnings found by hacking and enable them again. Change-Id: Ia09de4d0fda752a009b9246b4e6d485601cd9562
* Remove CloudWatch APIrabi2018-01-281-46/+0
| | | | | | | | | This patch removes the API, the next set of patches in the series would remove stack watch service and related WatchRule implementation. Change-Id: I8b0472be862907298c8da51f435b5d8b19610ec3 Partial-Bug: #1743707
* Merge "Fixes heat-keystone-setup-domain authentication failures with v3"Zuul2017-12-041-5/+7
|\
| * Fixes heat-keystone-setup-domain authentication failures with v3Sharmin Choksey2017-03-141-5/+7
| | | | | | | | | | | | | | | | With keystone v3 configured, attempting to create a heat domain and heat user fails with authentication errors Change-Id: Ieb1cb7a62b32e842d80020b4ab2870ef1394ba86 Closes-Bug: #1667795
* | Replace SCREEN_LOGDIR with LOGDIRricolin2017-09-251-2/+2
| | | | | | | | | | | | | | SCREEN_LOGDIR already been deprecated. This patch move to use LOGDIR instead. Change-Id: Ie2323412708efd523d934690b5516d635b008fb2
* | Remove log translationsliyi2017-03-255-19/+14
|/ | | | | | | | | | | | Log messages are no longer being translated. This removes all use of the _LE, _LI, and _LW translation markers to simplify logging and to avoid confusion with new contributions. See: http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html Change-Id: Ieec8028305099422e1b0f8fc84bc90c9ca6c694f
* Trivial:Standardize the output format of 'help' in some filesshizhihui2016-09-211-10/+11
| | | | | | | | | 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
* Fix heat-keystone-setup-domainRabi Mishra2016-05-161-6/+12
| | | | | | | | | Change I4209f3bcc56467b6eb50a794694fe8d1da780161 to use oslo.log has broken the heat-keystone-setup-domain script. This patch fixes it. Change-Id: Ib98a453803d9fd2bf31056e8c9b49b84b2e7e715 Closes-Bug: #1573368
* Merge "Remove warnings in heat"Jenkins2016-01-255-19/+44
|\
| * Remove warnings in heatricolin2016-01-205-19/+44
| | | | | | | | | | | | Use warning in oslo_log instead. Change-Id: I7c2cfe3cbd7ac8b1a5870cd53633342c5622ef0b
* | use stderr for error echo messagericolin2016-01-172-9/+9
|/ | | | | | | | | Some echo message contain error or warning message which better be contain in stderr. And futher more some error message already contain in stderr, but for error message reader, the following information for that echo should be contained as well. Change-Id: I2aac631df19829218d446150c91cf6d50aa5e7e7
* Replace logging libricolin2016-01-031-1/+1
| | | | | | We use oslo_log to replace logging. Change-Id: I4209f3bcc56467b6eb50a794694fe8d1da780161
* Deprecate heat-keystone-setupEthan Lynn2015-11-131-76/+38
| | | | | | | | | Keystone shell is deprecated in this release, use openstack client in heat-keystone-setup. And add a deprecation warning to this script. Change-Id: I11334f0c8b035723a11f42bcfea054fc358a3e9f Closes-Bug: #1460884
* Fix [H405] pep rule in binPeter Razumovsky2015-10-084-22/+26
| | | | | | Implements bp docstring-improvements Change-Id: If2daff413814fe0a7b5d5fbc4e2262b06aa90c5e
* Add console_scripts entry points for all heat servicesSirushti Murugesan2015-09-034-226/+78
| | | | | | | | | | | As a follow-up to Ibfd54e7b1bae700e4fb49a32e5bf7c00d1f104d9, moving all the scripts from bin/ to setuptools entry points. The devstack change is here: Iffb6d09bfef593d854b38e68200ae6039c4727e7 partial blueprint upgrade-tests Change-Id: Ic8f5b8dc85098de752bbf673c4b15c06fdc4162a
* unify REST wordricolin2015-08-261-2/+2
| | | | | | | Representational State Transfer, by official definition the abbreviation should be *REST* not *ReST*. We should make it unified. Change-Id: Ia1e5c5145ab0db22fd9ff1393bf507648a31112b
* Update wsgi.py to support reload from conf on SIGHUPtyagi2015-07-063-6/+7
| | | | | | | | | | | | | | | These changes are taken from the glance wsgi.py from where heat wsgi.py originated. These changes are to support reload of the service with new configuration parameters when SIGHUP is received. The reload of conf will only work if the server is running with workers. If workers is 0 then it wont reload. Co-Authored-By: Tetiana Lashchova <tlashchova@mirantis.com> Change-Id: I7fd391209591c149fb95136d92dd1d82cfb7a6de Closes-Bug: #1449807 Closes-Bug: #1276694
* Introduce Guru Meditation Reports into Heatzhangchunlong1@huawei.com2015-07-024-4/+12
| | | | | | | | | | | This commit integrates functionality from the `openstack.common.report` module into Heat. This enables Heat services to receive SIGUSR1 and print a Guru Meditation Report to stderr or file. The required modules were added to 'openstack-common.conf' as well. Change-Id: I36af98590e5556f012b0e9f79e21585e216b7280 Blueprint: guru-meditation-report Co-Authored-By: huangtianhua <huangtianhua@huawei.com>
* Add domain when list users in heat-keystone-setup-domainEthan Lynn2015-07-011-1/+2
| | | | | | | Add domain when list users in heat-keystone-setup-domain Change-Id: Ib4379e3880f206caed757a2718f31b82201f4495 Closes-Bug: #1470567
* Fix heat-db-setup error on rhel7.1Ethan Lynn2015-06-241-1/+1
| | | | | | | In bash, '-gt' can not work with flaot number. Change-Id: I264e9e7ebe9de6aca116783a655a3efd9500c938 Closes-Bug: #1468217
* Switch to oslo.serviceSergey Vilgelm2015-06-234-5/+6
| | | | | | | oslo.service has graduated, so heat should consume it. Change-Id: I9c1899eb37505e64967e9cb77da23bb169498aba Closes-Bug: #1466851
* make heat-manage a console_script entry pointSean Dague2015-06-171-0/+4
| | | | | | | | | | | | | pbr has extra sauce for correctly making installed cli tools not do unneeded pkg_resources metadata checks (that can only end in tears) if those scripts are installed via the console_script entry point. heat-manage looks like it is ready to be used this way. Other scripts should be converted in the future to avoid erroneous errors due to library metadata mismatch, which these tools should not care about. Change-Id: Ibfd54e7b1bae700e4fb49a32e5bf7c00d1f104d9
* Merge "Use oslo.log in wsgi.py"Jenkins2015-03-251-1/+0
|\
| * Use oslo.log in wsgi.pyAngus Salkeld2015-03-241-1/+0
| | | | | | | | | | | | | | | | | | - Use WritebleLogger from olso.log - Use oslo.log calls directly instead of the system logger. - logging.set_default() with no arguments is pointless. Change-Id: Ife0d3ff71d0b431cc88dcdf12a58b5104b318af4 Related-bug: 1435588
* | Merge "Using OS_TENANT_NAME in heat-keystone-setup-domain"Jenkins2015-03-241-16/+19
|\ \
| * | Using OS_TENANT_NAME in heat-keystone-setup-domainMichal Rostecki2015-03-241-16/+19
| | | | | | | | | | | | | | | | | | | | | | | | Tenant name was not provided in Keystone client, so it was not authenticated properly and raised Unauthorized exception. Change-Id: I0b86ffa3eeff4a9631e36f56f4e111bb5eadf8b6 Closes-Bug: #1435415
* | | Adds version reporting for heat commandsKanagaraj Manickam2015-03-243-3/+14
|/ / | | | | | | | | | | | | | | | | | | Adds --version option for following commands heat-api-cfn heat-api-cloudwatch heat-keystone-setup-domain Change-Id: I84bdf16fd053b5eccacd99bf26ecd9eb34e57ef8 Closes-bug: #1435406
* | Merge "passed version information while parsing arguments"Jenkins2015-03-242-2/+6
|\ \ | |/ |/|
| * passed version information while parsing argumentsrajiv2015-03-222-2/+6
| | | | | | | | | | Change-Id: I1b9dd4a1353799f5001349f973f5d06ddd104069 Closes-Bug: #1432527
* | Move stack_user_domain warning to startupAngus Salkeld2015-03-231-0/+3
|/ | | | | | | | Add a startup_warnings() function in place to add other warnings there if at all possible. Change-Id: I4d8d02feccc42c2f3486f52bad488922eb08bbca Closes-bug: 1434286
* Make import of oslo libraries namespacelessJens Rosenboom2015-02-185-9/+9
| | | | | | | See https://blueprints.launchpad.net/oslo-incubator/+spec/drop-namespace-packages Closes-Bug: 1423174 Change-Id: I48680ce6e7ce91005c147ab4388203946171d433
* Move logging to use oslo_log librarySteven Hardy2015-02-174-9/+16
| | | | | | | | | | | | The oslo-incubator log modlule has been removed, so port to the oslo_log library. Note this uses the new (non namespaced, e.g oslo.log) import convention, we'll need to align other imports in a future commit. Some import reordering was required due to pedantic H30[57] checks, and the services have all been converted to initialize the oslo_log library as this is done differently to the log.py in incubator. Change-Id: Ib5a97123fe1b287bc531e42d7887c13ba6205628
* Enable H305 and H307 style checksPavlo Shchelokovskyy2015-01-204-5/+4
| | | | | | Correct grouping and ordering of imports Change-Id: I47ea0d53f80d7f0aeb01c1c6afd63713be87ddf4
* Check that template format plugins are registeredTetiana Lashchova2014-12-161-0/+10
| | | | | | | Otherwise log an error and exit Change-Id: I2beb33371cf5e6701e22dbb41c8f5aa681c379de Closes-Bug: #1402426
* Merge "Use the right log marker functions"Jenkins2014-12-043-6/+6
|\
| * Use the right log marker functionsTetiana Lashchova2014-12-023-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | According to [1] _LI() should be used for LOG.info(), _LE() for LOG.exception() and LOG.error(), _LW() for LOG.warning(). The log marker functions must only be used when the message is sent directly to the log. Debug level log messages should not be translated. [1] http://docs.openstack.org/developer/oslo.i18n/guidelines.html Change-Id: Ib9f92ef6696b9a95ddae74f0d4a0a557c06ecc91
* | Fix invalid syntax on heat-db-setupAnderson Mesquita2014-12-021-1/+1
|/ | | | | | | | ">=" comparison is only supported in certain shells. This patch changes it to "-ge" to fix this. Change-Id: I2bf1294c31d38e18b02bebd190bd4bfa45beedc5 Closes-Bug: #1398535
* Fix package name when using heat-db-setup in rhel7Ethan Lynn2014-11-261-2/+12
| | | | | | | | In rhel7 mysql-server is replaced by mariadb-server, using the right name to install package. Closes-Bug: #1395726 Change-Id: I02e79a6f8da5bd082568c22d3efc4c231dfbd8c7
* Merge "Mark stack_domain_admin_password as a secret option"Jenkins2014-11-141-0/+1
|\
| * Mark stack_domain_admin_password as a secret optionEthan Lynn2014-11-141-0/+1
| | | | | | | | | | | | | | | | 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
* | Merge "Remove die_if_not_set check for var user_roles"Jenkins2014-11-131-1/+0
|\ \ | |/ |/|
| * Remove die_if_not_set check for var user_rolesJUNJIE NAN2014-11-051-1/+0
| | | | | | | | | | | | | | | | | | Since the later logic will add role if the user role is not found. "die_if_not_set" check will exit the main script. Closes-Bug: #1389714 Change-Id: I995cf357d09267fee55e44575e3e301bcffebca3
* | Add CERT file support in heat-keystone-setup-domainEthan Lynn2014-10-311-5/+34
|/ | | | | | | | | | | Add below options to support ssl connection. --insecure --os-cacert --os-cert --os-key Change-Id: I9d1fd07df783d7410ac3f51b5d4e8434d57182a4 Close-bug: #1387063
* Add OSprofiler integration into HeatAngus Salkeld2014-10-034-0/+8
| | | | | | | | | | This adds builtin rpc and db traces to Heat, as well as some toplevel stack methods to aid in reading the output. A 'profiler' config group is added to enable profiling. Change-Id: Ie5c1c8f1931f59e4d4bcf1ec3b791f55984eb6d2 Closes-bug: #1363782
* Remove cinder-keystone-setup scriptSteven Hardy2014-10-021-17/+0
| | | | | | | | This is a legacy script from the tools/openstack days, so we don't need it now as that script no longer exists. Change-Id: Iddcd76739447e65fcbf4f4bac517cf4fd919fac9 Closes-Bug: #1376712
* Merge "Improve error handling in api files"Jenkins2014-09-293-3/+9
|\
| * Improve error handling in api filesSergey Kraynev2014-09-253-3/+9
| | | | | | | | | | Change-Id: Ib9dccf5641d72aa5d16ad3179d0df030c7664fa6 Closes-Bug: #1364018
* | Add an option to disable cloud watch liteAngus Salkeld2014-09-251-3/+4
|/ | | | | | | | | | | | | | | | This also adds a deprecation warning. This also changes the default to use Ceilometer. Release message: Anyone deploying Heat should not be using OS::Heat::CWLiteAlarm, but OS::Ceilometer::Alarm. CWLiteAlarm should be explictly disabled in /etc/heat/heat.conf by setting "enable_cloud_watch_lite=false". This will stop Heat from running a period task check for alarms. DocImpact Change-Id: I2a10c14772bdafc001e211d7e94502ac1f6b32b1 Closes-bug: #1322128
* Import oslo.i18n and port heat bins to use oslo.i18nEthan Lynn2014-09-025-17/+11
| | | | | | | | Import oslo.i18n and port heat bins to use oslo.i18n blueprint oslo-i18n Change-Id: If30df87d7d2b8047225f0c413d338ace975062b1
* Detect neutron endpoint on-the-flySteve Baker2014-08-291-19/+0
| | | | | | | | | | | | | | | | | | | | | | | This change does the following: - reverts commit 04de60093b602c2eac4a612df5d4a2e31424a25d - reimplements Resource.is_using_neutron to check for neutron by attempting to create a neutron client - fix mocking in tests for changes which landed after 04de600 If there is no 'network' entry in the service catalog then keystoneclient will raise an EndpointNotFound. The context will already have a keystone client cached which has a full service catalog locally, so calling is_using_neutron should have no particular overhead. This fixes a tripleo regression where the autodetection is triggered before keystone is ready, so that heat-engine fails to start. This race does not affect devstack as keystone is fully configured before heat services are started. Not adding config option networking_service will also prevent extra work required by downstream installation tools. Change-Id: I45a6154fa560f672d8d1942bf57f39601110bfc6 Closes-Bug: #1362812