The following localrc will launch only heat in standalone mode
and allow it to provision within the openstack specified by
the configured keystone endpoint:
HEAT_STANDALONE=True
ENABLED_SERVICES=rabbit,mysql,heat,h-api,h-api-cfn,h-api-cw,h-eng
KEYSTONE_SERVICE_HOST=...
KEYSTONE_AUTH_HOST=...
Change-Id: I0d8a541fc9d592577423b074c789829f8b8d6702
heat-db-setup has been deprecated and doesn't work when
devstack uses postgres and mysql isn't installed.
This is causing postgres gating to fail for heat.
Change-Id: I84f0a2d40f0033e52c87b6f0c9c7265471134ffe
Currently lib/heat says:
To enable, add the following to localrc
ENABLED_SERVICES+=,heat,h-api-cfn,h-api-cw,h-eng
Once the stack is up, `heat list` fails because the API server
isn't running.
This commit adds h-api to that list.
Also make sure h-api is killed in stop_heat().
Change-Id: I2e818bb343680b3778f9277c23c766f784d28887
This script takes a long time to run which will affect tempest
run times. Instead of running this, example templates will be modified
to align with the default heat flavors.
Change-Id: I588b1da9f5a02de3bf64ac8011d75c7d5432ef26
This is related to this Heat change, and Heat on Devstack will not work
while only one of these changes is applied:
Consolidated api-paste.ini file
https://review.openstack.org/#/c/27384/
Change-Id: Iba02b56173f796de5348289247233c8765f83ac2
auth_token configuration can now be read from the conf files
rather than the paste.ini files.
A key cache directory has been created for each of the 3 API services
under /var/cache/heat
This is the devstack change relating to
Heat Blueprint: keystone-middleware
This is related to this committed change:
https://review.openstack.org/#/c/26351/
Devstack users will find Heat to be broken until this corresponding change
is approved.
Change-Id: If6f77f86a3eeb08a58b516725bd806e39ccedb50
for files that don't start with a #! or end in .sh, the added tags
are nice for emacs users to automatically switch to the right mode.
Change-Id: If4b93e106191bc744ccad8420cef20e751cdf902
This commit also changes the following:
- Fixes Nova QPID module path
- Fixes a bug Cinder ZeroMQ RPC points to nova module
- Adds ZeroMQ setting for Heat RPC
qpid_is_supported is moved from functions to lib/rpc_backend.
This work is based on the work by Isaku Yamahata <yamahata@valinux.co.jp>
in https://review.openstack.org/#/c/19074/.
Change-Id: I45e21b1fb85e539213f5243764132a37906d7455
On many systems the requiretty sudoers option is turned on by default.
With "requiretty" option the sudo ensures the user have real tty access.
Just several "su" variant has an option for skipping the new session creation step.
Only one session can posses a tty, so after a "su -c" the sudo will not
work.
We will use sudo instead of su, when we create the stack account.
This change adds new variable the STACK_USER for
service username.
Change-Id: I1b3fbd903686884e74a5a22d82c0c0890e1be03c
The latter is not used anywhere else, but the former is used in all
of the other projects sharing the mysql database for devstack.
Change-Id: I2a0cd7e5b908eb144468caf410a6c41e0e5e3fd0
The heat-metadata service has been removed as of the following commit
in heat master: 6ae3ff0 Remove heat-metadata service
So remove the heat-metadata service and related config-file items
Change-Id: If36efe5924e9e0a7697f51dd3c9fc140fed8090b
Signed-off-by: Steven Hardy <shardy@redhat.com>
This uses the new REST API. It installs a client executable called 'heat'.
The old heat client in the heat repo has been renamed to heat-cfn.
Change-Id: I7bc8662c531e3639cc940a44df96ff426ac3aada
This patch adds an interface for supporting multiple database backend
types and implemnts support for PostgreSQL. It also adds a function,
use_exclusive_service, which serves as a base for enabling a service
that conflicts with other services. The use_database function uses it,
and it might also be useful for selecting messaging backends.
MySQL is still selected by default. Tested on Fedora 17 and Ubuntu
12.04 with MySQL and PostgreSQL. Implements blueprint postgresql-support
Change-Id: I4b1373e25676fd9a9809fe70cb4a6450a2479174
All heat users will need to run heat/tools/nova_create_flavors.sh as an admin
user. This change runs nova_create_flavors.sh if heat is enabled.
This saves the hassle of switching to an admin user and running this every time
devstack is started.
Flavors are changed in heat_init, so heat_init is deferred until after nova
is running.
Change-Id: I4576c83f5ef55809567e40e56c25eb0e1bbe6d45
This is a REST API in the same style as other OpenStack APIs.
This also creates a new endpoint for the REST API which uses the
serivce type 'orchestration'. The old endpoint now has the service
type 'cloudformation'.
This matches the pattern where the native openstack API gets a
generic service type while the emulated EC2 API gets a specific
type (eg, object-store, s3).
There will be breakage for the time period where only one of this
change and https://review.openstack.org/#/c/14263/ are approved,
since keystone will have the incorrect service type for that period.
Change-Id: I6a0d51a63da8017d375b4c065c4c9079dfca8fe3
Set VERBOSE=False to turn off the noise of stack.sh output. All
output still is written to the logfile if LOGFILE is set.
Rebased
Change-Id: I316bc4d68c997ec907a48e720e2f7778428d935b
- Rename heat-api to heat-api-cfn
- Add heat-api-cloudwatch
- Also removed unused heat-engine-paste.ini file.
- Fix the path to the conf dir (etc/heat not etc/)
Change-Id: I9b2c7c5cd7052d5eb6d730833c65812c2f8a0ee1
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
This allows the heat service to be started as a devstack service.
Heat is disabled by default, and can be enabled with this in your localrc:
ENABLED_SERVICES+=,heat
There is now a repo of heat-enabled images here:
https://github.com/heat-api/prebuilt-jeos-images/downloads
These can be added to the IMAGE_URLS in your localrc.
After devstack is launched, a template can be invoked with:
nova keypair-add --pub_key $HOME/.ssh/id_rsa.pub heat_key
heat -d create wordpress \
--template-file=../heat/templates/WordPress_Single_Instance.template \
--parameters="InstanceType=m1.tiny;DBUsername=wpuser;DBPassword=wppassword;\
KeyName=heat_key;LinuxDistribution=F16"
Change-Id: I07591295eb2b9eb7868b1577dd3c24b19812a689