28 Commits

Author SHA1 Message Date
Luka Peschke
a3a1ee6416 Update devstack/README.rst
* 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
2017-10-24 17:38:28 +02:00
Martin CAMEY
5baa3b8fe3 Allow authentification method to be chosen
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
2017-09-25 18:15:20 +02:00
zhangguoqing
2dc80310ba Add WSGI support for `cloudkitty-api'
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
2017-07-18 12:55:11 +02:00
Maxime Cottret
4734be4ffa Fix devstack: replace deprecated screen functions
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
2017-05-31 11:17:24 +02:00
Maxime Cottret
27a50b4354 Fixing the gate
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
2017-04-19 16:09:18 +02:00
Jenkins
a6b12879b5 Merge "Generate the needed configuration files for devstack" 2017-01-08 18:33:44 +00:00
Christophe Sauthier
6761087472 Generate the needed configuration files for devstack
Generate the needed configuration files for devstack.

Change-Id: I250b70f4a937f0d5a006ca74d7fc5d6b8293e2c8
Closes-Bug: #1654742
2017-01-08 13:38:07 +01:00
Jenkins
4b8d5dcfa6 Merge "devstack: support the gnocchi collector" 2017-01-02 11:58:03 +00:00
Gauvain Pocentek
f9a16c5d50 devstack: support the gnocchi collector
Actually use CLOUDKITTY_COLLECTOR to setup the ceilometer/gnocchi
collectors.

Update the documentation accordingly.

Change-Id: I7308c0597c0ae9dac435cf1c0cc2e3b4c07ba063
2016-12-13 22:35:09 +00:00
Christophe Sauthier
8e38bd4e61 Use keystone v3 instead of keystone v2 in cloudkitty's devstack plugin
Change-Id: I4b5bc6430144a41aa16c69900489fcc54febf561
Closes-Bug: #1649053
2016-12-12 17:14:24 +01:00
Jeremy Liu
85920c9626 Fix devstack plugin compatibility
'KEYSTONE_CATALOG_BACKEND' was removed recently [1],
so delete the reference in CloudKitty as it was done
in devstack [2].

[1] https://review.openstack.org/#/c/391380/
[2] https://review.openstack.org/#/c/278333/

Change-Id: Ie6dbcc5a2a1e2958a9a3fa9e9f40f71ad57b5ebb
Closes-Bug: #1644194
2016-11-23 21:26:29 +08:00
Guillaume Espanel
d6b61b97b7 Use local.conf instead of localrc in devstack doc
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
2016-08-24 11:01:17 +00:00
Michael Rice
ab38996aaf Changes default port from 8888 to 8889
Closes-Bug: 1566705
Change-Id: I0a1e5ba643f3222bb494d16e89194a96f9395d5b
2016-06-29 14:53:00 +02:00
Stéphane Albert
097e395cee Fix devstack cleanup of data dir
Remove wasn't recursive and failing on a second run.

Change-Id: Ieb125cc78a5db2d5d93c244a71a8a2ca027d600c
2016-04-18 17:03:32 +02:00
Stéphane Albert
1a9c279236 Fixed devstack not creating folder for tooz locks
Change-Id: I6f0f2703b4d23ab9722ecbb3f2137b793f4bf8f7
2016-03-25 13:36:18 +01:00
Jenkins
219fcaf118 Merge "Load wsgi app(api) with paste.deploy" 2016-01-04 09:36:09 +00:00
Aaron-DH
a98d3b99e4 Load wsgi app(api) with paste.deploy
More scalable to add a filter

Change-Id: Ib5d3bd16d2bfbafc5a0aa5ef3b8db780e3b97520
2016-01-02 13:42:13 +08:00
ZhiQiang Fan
4ab4ee7a08 remove setting for option verbose
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
2015-12-31 21:50:33 +08:00
Stéphane Albert
91b6216976 Fixed Horizon static file compression in devstack
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
2015-11-26 11:17:47 +01:00
venkatamahesh
f331366d2e Move global variables to settings file
The global variables are moved to settings file as per
the devstack plug-ins documentation

Change-Id: Ib6f84ecaf01259c4d093df92d90d622927483033
2015-11-24 06:40:04 +01:00
Jenkins
f2400e7be9 Merge "Added AuthPlugin support in devstack" 2015-10-28 05:42:19 +00:00
Stéphane Albert
57690f152a Added AuthPlugin support in devstack
Closes-Bug: #1510547
Change-Id: I1071b560414d4cbf4c520c055a14b119a538dd1b
2015-10-28 09:48:17 +09:00
Christian Berendt
ecaa4e6dea devstack: enable cloudkitty services by default
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
2015-10-23 12:52:15 +02:00
Stéphane Albert
77347ae517 Fixed files to support liberty dashboard
Related-Bug: #1507087
Change-Id: I272fc8adb62f0bcc340c7bb3bfd9ed5cbdac42ec
2015-10-19 15:56:41 +02:00
Stéphane Albert
4be901f871 Updated files to the new namespace
Change-Id: If169e093dec77acfda028c81a193a5d867cdc8f1
2015-10-19 11:46:45 +02:00
Christian Berendt
8525b6f5a2 Fix the README file of the DevStack integration
Change-Id: I483eeb9f52a0e5475c68ea5d5ff967b71f604de0
2015-09-11 09:19:43 +02:00
Stéphane Albert
dc5f8c7295 Fixed dashboard installation with devstack
Change-Id: I92889a61f7970c5d1bbb8919deeb160e65ae4739
2015-05-13 00:21:02 +02:00
Stéphane Albert
a5961cff80 Added support for dashboard in devstack
Moved to devstack plugin.
Added section in the documentation related to CloudKitty's devstack
integration.

Change-Id: I9a7ce8c73724a54fb7855d788a1c4cb56a832535
2015-05-12 19:20:14 +02:00