* Horizon is enabled by default, so there is no need to enable it.
* The Gnocchi plugin should be enabled
* The CloudKitty services need to be enabled
Change-Id: I2b0bac8c8c62479a4701f66efc2703e12ecbaaa3
To reach Cloudkitty API endpoints, an authentification method must be set.
No authentification or Keystone authentification are allowed.
This should be set in the configuration file, within the DEFAULT block,
using the auth_strategy field.
Task: 4902
Story: 2001168
Change-Id: I3f9d5700e4c2d1a69b5514fd9932a62238ee659c
Recommands to setup cloudkitty through an other WSGI services
like Apache 'mod_wsgi'. And the community has set a community wide goal
in Pike cycle: "Control Plane API endpoints deployment via WSGI"
https://governance.openstack.org/tc/goals/pike/deploy-api-in-wsgi.html
Work Item: Add WSGI support
1. Provide WSGI application script file.
2. Removing the cloudkitty-api command line.
3. Adding cloudkitty-api wsgi_scripts, by 'cloudkitty-api -p 8889' to run.
Work Item: Make the devstack setup ck-api with wsgi
1. Switch devstack jobs to deploy control-plane API services in WSGI with Apache.
2. Default to deploy with Apache by global ENABLE_HTTPD_MOD_WSGI_SERVICES, in
local.conf expose CLOUDKITTY_USE_MOD_WSGI=False to run without Apache.
Work Item: Update the docs about installation
1. Installing the cloudkitty-api behind mod_wsgi.
2. Updating the installation about the cloudkitty-api.
Implements: blueprint wsgi-support
Change-Id: I207587c5360bb80c0e856cd0239e4073578951aa
Since [1], systemd is the default process init. Therefore,
CK devstack plugin still uses screen_it function instead of
generic run_process function. This leads to strange behavior
of the plugin.
This patch fixes this problem.
[1] https://review.openstack.org/#/c/461716/
Story: 2001047
Task: 4634
Change-Id: I57c71c85f2a31cd90afeaf7f32754f1f1a503753
A recent patch in devstack [1] forces the use of path access instead
of port for Keystone authentication, leading to connection error in CK
when launching the devstack.
Now CK devstack plugin uses $KEYSTONE_SERVICE_URI to support now and
future keystone devstack modification.
[1] https://review.openstack.org/#/c/456344/
Change-Id: I7ef964185b029036e7ea7abfb555162e9f2d6ec6
Actually use CLOUDKITTY_COLLECTOR to setup the ceilometer/gnocchi
collectors.
Update the documentation accordingly.
Change-Id: I7308c0597c0ae9dac435cf1c0cc2e3b4c07ba063
The plugin.sh file contained a reference to the localrc configuration
file, but devstack is now configured by a local.conf file.
Change-Id: I37a73b9ef1dc1f8f1a6f640f65240997e132e9fd
ck-api log complains:
Option "verbose" from group "DEFAULT" is deprecated for removal.
Its value may be silently ignored in the future.
If this option is not set explicitly, there is no such warning.
Furthermore, the default value of verbose is true, so there is
no need to set this value in devstack plugin.
Change-Id: I0dbf2ec729482883c87a89f2a13a406ff4998754
Static files needs to be compressed in Horizon. Since CloudKitty is
loaded as a devstack plugin its files are copied after Horizon
initialization. This patch add calls to django-admin to process new
files.
Change-Id: I51b703f682b74a35a1fb6cad64856093011ee2e2
Users using the cloudkitty devstack plugin want to use cloudkitty.
Because of that it makes no sense to not enable the cloudkitty services
provided by this devstack plugin by default.
Change-Id: I7188397233bcc43df39a66d407d92f6a844f374c
Moved to devstack plugin.
Added section in the documentation related to CloudKitty's devstack
integration.
Change-Id: I9a7ce8c73724a54fb7855d788a1c4cb56a832535