Commit Graph

296 Commits

Author SHA1 Message Date
Andreas Jaeger 660dc49f94 Retire repo
This repo was created by accident, use deb-python-os-cloud-config
instead.

Needed-By: I1ac1a06931c8b6dd7c2e73620a0302c29e605f03
Change-Id: I81894aea69b9d09b0977039623c26781093a397a
2017-04-17 19:26:00 +02:00
Jenkins 23a4873b0f Merge "Fix wrong usage of novaclient" 2016-07-13 22:25:37 +00:00
OpenStack Proposal Bot 7e616a3a3c Updated from global requirements
Change-Id: Ief43644fa5fd472eeba191e24adf395dcbe605b0
2016-07-09 03:15:48 +00:00
Andrey Kurilin b8603c8d1d Fix wrong usage of novaclient
novaclient.client.Client is a documented way to initialize novaclient.
Also, it provides a backward compatible layer.

Change-Id: Ibeefe215ff1405d1e6bc478fee415b530813d86c
Closes-Bug: #1493576
2016-06-22 01:17:24 +03:00
OpenStack Proposal Bot 7bf38a33be Updated from global requirements
Change-Id: I374dcf24d60c8ad6f5048b3a1940c41238747b95
2016-06-03 18:17:35 +00:00
OpenStack Proposal Bot becaec5476 Updated from global requirements
Change-Id: I87c927a3e55e441cbee9402787d1991893fd7d66
2016-05-30 20:44:36 +00:00
OpenStack Proposal Bot 4ec35b7b70 Updated from global requirements
Change-Id: Iddbc3b4f0fab587e6acf1b2bca3def7acab88874
2016-05-30 00:37:55 +00:00
Brad P. Crochet 8af499e848 Add Heat CloudFormation service for endpoint creation
Depends-On: Ic9aa71bfc80ca5fdb3b3c48dc55be7b98cf22ada

Change-Id: I465e2136de49a92500115338f53845842e1f293e
2016-05-23 12:36:19 +00:00
Jenkins c29b1ad1a2 Merge "Replace deprecated LOG.warn with LOG.warning" 2016-05-16 05:55:29 +00:00
Jenkins 3056336265 Merge "Remove support for py33/py26" 2016-04-22 14:09:10 +00:00
OpenStack Proposal Bot b7c1c82716 Updated from global requirements
Change-Id: Icce2308829bf770a4b89a3a0c5b8ee401e8a7cf3
2016-04-14 02:37:03 +00:00
Jenkins 77e94ff5ab Merge "Formally deprecate os_cloud_config.nodes in favor of tripleo-common" 2016-04-11 14:20:13 +00:00
Jenkins 6cf5d63527 Merge "Allow customizing keystone endpoint ports" 2016-04-07 16:47:19 +00:00
Jiri Stransky da41a1048c Set compute API version to 2.1, don't use v3
Microversions since Nova API v2.1 are aimed to replace the v3 work. The
/v2.1 is backwards compatible with the legacy /v2 endpoint. What we
called in the past /v3 is now something defunct in-tree. The /v2.1 API
is based on the v3 work, but there are many things that differ, in
particular with the backwards-compat thing. We keep the /v2 path in
api-paste.ini for making sure an upgrade doesn't trample operators and
users but if you look in tree, that's redirecting to the v2.1
codepath (just not asking for microversions). In summary, we only need
one endpoint, ie. /v2.1.

Additional information at https://bugzilla.redhat.com/show_bug.cgi?id=1291291

Closes-Bug: #1564372
Change-Id: I6d64b8bcd0f79f1f298ddc809e6d92fbc2985c45
2016-04-01 15:19:05 +00:00
Juan Antonio Osorio Robles 9445cb10dd Allow customizing keystone endpoint ports
Currently the ports for keystone are hardcoded into the code. This
change, allows us to pass those ports as parameters from the client
code using this library.

Change-Id: I07accff0914b93be09adf17a2552c5c922236c2e
2016-03-30 14:05:24 +00:00
Dmitry Tantsur 4860bbdfb6 Formally deprecate os_cloud_config.nodes in favor of tripleo-common
The code was moved to tripleo_common.utils.nodes with many improvements.
People should not use and/or change this version any more.

Change-Id: I2dc606c0737127611711b822c1f112b8635aa577
2016-03-28 19:35:19 +02:00
reedip e6a7cd7f0c Remove support for py33/py26
Python 3.3/Python 2.6 is not supported from Mitaka, as per Infra.
The following patch removes the support for the same.

Python 2.6 support from setup.cfg is removed in
https://review.openstack.org/260818

Change-Id: Ibbc640c82cdc7f5f972f24ec00903914949eb713
Closes-Bug: #1526170
2016-03-23 02:44:27 +00:00
Swapnil Kulkarni (coolsvap) f49d3e3a90 Replace deprecated LOG.warn with LOG.warning
LOG.warn is deprecated. It still used in a few places.
Updated to non-deprecated LOG.warning.

Change-Id: I3d4285ab4f42a5cba61d8f54f379e70891b32e1e
Closes-Bug:#1508442
2016-03-11 12:15:34 +05:30
Ryota MIBU fd26d9d7e1 add aodh and gnocchi to keystone service list
This patch adds default values for aodh and gnocchi service/endpoint
to the keystone service list in order to make those services available
in TripleO setup phase.

Note: the list is to have default values and not all services will be
created automatically.

Note: alarming function in ceilometer is deprecated by aodh in Liberty
and will be removed in Mitaka. So, we need aodh to have equivalent
functionality of existing ceilometer.

Change-Id: Ib6c9c4c35da3fb55e0ca8e2d5a58ebaf4204d792
2016-03-10 10:45:29 -05:00
Jenkins e837656043 Merge "Put py34 first in the env order of tox" 2016-03-09 17:50:29 +00:00
Jenkins 26b2acdae0 Merge "Fix a typo in usage.rst" 2016-03-09 17:50:23 +00:00
Jenkins fbce9cbe33 Merge "Switch keystone certs to parameter_defaults" 2016-03-03 16:20:13 +00:00
Jenkins ffd214fdcc Merge "Remove admin role in admin tenant from ceilometer" 2016-03-02 18:21:55 +00:00
Jenkins e5ce288bdb Merge "Enable ssl for ceilometer" 2016-02-23 15:29:44 +00:00
OpenStack Proposal Bot b86d63a7fe Updated from global requirements
Change-Id: Iefabdd8825db7ce998c2946200b41fc0b1a8bd11
2016-02-11 14:50:10 +00:00
James Slagle 3d3ec81281 Add []'s around ipv6 address when creating keystone clients
[]'s are needed around ipv6 addresses when creating the initial keystone
clients in os-cloud-config. While the keystone api is on the ctlplane by
default, it can be switched to any network, including those that support
ipv6, by modifying the ServiceNetMap tripleo-heat-templates parameter.

Closes-Bug: #1543946
Change-Id: I90cb5f0fd0d7c24971bed5638d444839e2288c7d
2016-02-10 13:32:04 +00:00
Ben Nemec 7f19b5f827 Enable ssl for ceilometer
Set an ssl port for ceilometer so it gets registered as
ssl-enabled when we are running that way.

Change-Id: I59d698d887c3abdc5c98d25b312ce5c17be4b6f9
(cherry picked from commit 14edbde5a41fc9e5129c72a3d0795a04a5c53bdf)
2016-02-10 11:23:42 +02:00
Steven Hardy fa775a5eb9 Switch keystone certs to parameter_defaults
All other client parameters are now passed via parameter_defaults,
which will be required to enable moving parameters within t-h-t to
accommodate split-stack and composable roles.

Change-Id: I9d8daea560661cde5502e053f8d417957ee3e2c6
2016-01-28 18:46:53 +00:00
Jenkins 9318fcf022 Merge "Remove argparse from requirements" 2016-01-27 10:43:04 +00:00
Andreas Jaeger 06d5da667c Remove argparse from requirements
argparse was external in python 2.6 but not anymore, remove it from
requirements.

This should help with pip 8.0 that gets confused in this situation.
Installation of the external argparse is not needed.

Change-Id: Ib7e74912b36c1b5ccb514e31fac35efeff57378d
2016-01-20 19:18:20 +01:00
James Slagle ebc1352b11 Add []'s around ipv6 addresses when creating url's
Anywhere a url is formatted in order to create a Keystone endpoint, []'s
must surround the host portion of the url if it's an ipv6 address.

Change-Id: If4cf3892761ac17c08779d87c790f74f3a1ce88a
2016-01-19 16:02:57 -05:00
OpenStack Proposal Bot 643c50f103 Updated from global requirements
Change-Id: I31bc55e81b384f2d014e1f43c6489b6f95a71a27
2016-01-08 06:54:25 +00:00
Jenkins e84ece166f Merge "use keystoneclient exceptions instead of oslo-incubator code" 2016-01-08 00:20:07 +00:00
Jenkins 28ee8c1bf7 Merge "remove python 2.6 trove classifier" 2016-01-08 00:20:00 +00:00
Jenkins 4809f23bbc Merge "Remove requirement of specifying hardware stats" 2016-01-04 23:00:27 +00:00
Jenkins 843922c22b Merge "Trove Integration" 2016-01-04 15:17:16 +00:00
Steve Martinelli 2ab267107a use keystoneclient exceptions instead of oslo-incubator code
depending on any oslo-incubator code from another project is
dangerous. keystoneclient makes its exceptions public and it's
not recommended to use any code from
keystoneclient.openstack.common.apiclient since it's maintained
by oslo-incubator.

Change-Id: Ib49c2341abf5f9c45594463c5593e44ac31fbc3a
2015-12-27 01:40:44 -05:00
Jenkins fc52cd2c36 Merge "Updated from global requirements" 2015-12-23 16:22:12 +00:00
Jenkins 77afa0f79b Merge "Sahara Integration" 2015-12-23 16:12:07 +00:00
Doug Hellmann 5534c5144b remove python 2.6 trove classifier
OpenStack projects are no longer being tested under Python 2.6, so
remove the trove classifier implying that this project supports 2.6.

Change-Id: I44bcf3bc025cb87344405a0d776fe7e7bde2f0ea
2015-12-23 01:31:13 +00:00
Janonymous 10bf35c757 Put py34 first in the env order of tox
To solve the problem of "db type could
not be determined" on py34 we have to run first the py34 env to, then, run
py27. This patch puts py34 first on the tox.ini list of envs to avoid this
problem to happen.

Change-Id: I0824d8adcbf409dc024cda9479bf72782b647fb7
Closes-bug: #1489059
2015-12-22 18:43:14 +05:30
Daisuke Fujita 68d67968ed Fix a typo in usage.rst
1. "specifing" to "specifying"

Change-Id: I615d6527c44333ad4a079b3982bef38b6d8e74f5
2015-12-21 16:14:53 +09:00
OpenStack Proposal Bot d9f485be85 Updated from global requirements
Change-Id: Ib477d4af1f50309a7807d77f088f6cec1f4e322e
2015-12-19 14:37:32 +00:00
Jenkins d39c302c46 Merge "Change swift ssl port" 2015-12-18 15:56:57 +00:00
Jenkins 0172aab424 Merge "Do not pass the 'public' endpoint when doing pki initialization" 2015-12-18 12:02:26 +00:00
Jenkins 940d196c50 Merge "Allow control over the Keystone adminurl and internalurl endpoint" 2015-12-17 18:33:27 +00:00
Ben Nemec 9ec7ee81be Change swift ssl port
Using our typical ssl port scheme of "replace first digit with 13",
the swift port of 8080 conflicts with the nova novnc port of 6080
(both end up on 13080).  In the puppet-tripleo loadbalancer config
we chose to move swift to 13808, so this change updates
os-cloud-config to match.

Change-Id: I118b52cf2e5c7d292abfba2f6e8049f1bdb95a82
2015-11-30 17:57:30 +00:00
Giulio Fidente fddf26df01 Do not pass the 'public' endpoint when doing pki initialization
We should not pass the 'public' argument when doing the pki
initialization or when creating the keystone clients because 'public'
is meant to be the value to use for the public endpoint (as also the
param description suggests) and not the host against which connecting
to do the pki (via ssh) or endpoints (via http) setup, that is the
'host' param instead.

Change-Id: I8f156b3dee1df2915ca9638fa40116d0b48c09e1
2015-11-30 17:46:25 +01:00
Giulio Fidente 1c79a4b996 Allow control over the Keystone adminurl and internalurl endpoint
We publish the keystone /v2.0 api in the endpoints by default and the
keystone v2.0 client will use the adminurl by default, not the publicurl,
so we need to allow a more granular configuration of the adminurl.

We also want the internalurl to stay on an internal network which is not
necessarily the same of either the public or the admin network so we need
to allow customization of the internalurl as well.

Change-Id: I6d6ad06441514c6eca9922937dba9b521dad06db
2015-11-30 17:45:32 +01:00
xiexs 2d23211366 Add agent_irmc driver support into os-cloud-config
The agent_irmc driver is already supported by ironic,
so this patch is to add agent_irmc driver into os-cloud-config.

Change-Id: Ieb8c6e2eef96bff4aeef5c46835d56dcdf0834b8
2015-11-27 00:05:16 -05:00