728 Commits

Author SHA1 Message Date
Jenkins
7941ba0f9e Merge "Bump version for Pike M3 Dev" 2017-06-09 09:26:21 +00:00
Alex Schultz
a11b9faa37 Bump version for Pike M3 Dev
Pike M2 has been released. Prepare version numbers for M3.

Change-Id: Id5c924580e26ce2e3e226193f79635487e5931a9
2017-06-08 15:32:45 -06:00
ZhongShengping
4940185f28 Update global requirements
Pin reno version to reno!=2.0.0,!=2.3.1,>=1.8.0
Pin sphinx version to sphinx!=1.6.1,>=1.5.1
reno=2.3.1 and sphinx=1.6.1 break releasenotes and doc tests.

Change-Id: Id8b7f47be40b08c0a67a8fca58f2d4d262f1d78d
2017-06-08 11:49:34 +08:00
Alex Schultz
3606511806 Drop -dev in preparation for Pike M2
We're coming up on the Pike M2 release and we need to prepare the
metadata.json and reno configuration for the release.

Change-Id: I1ba45ef5cb1c0b47fed0ced1c63fc8e657ebaf24
2017-06-01 08:53:55 -06:00
ZhongShengping
11babea0d1 Fix unit test
The db_backend_package name has changed in puppet-oslo[0], so fix it.

[0]: https://review.openstack.org/#/c/467582/

Change-Id: I7a75ca9fcd6e9a9c2a88455567083e9c4067fa6d
Closes-Bug: #1693403
2017-05-26 08:30:57 +08:00
ZhongShengping
524db15a0a oslo policy: check puppet resource instead of actual config in spec
Change-Id: I0fff21c49f31ee4e6cabdf7edff1e1160b326e65
2017-05-23 14:19:27 +08:00
Alex Schultz
1d7f3d7b05 Align Stars, Fix CI
1) Update tox configuration

Update the tox configuration to pull in the openstack
upper-constraints.txt when running releasenotes. This will
fix the releasenotes job that is currently failing due to
a new version of sphinx. Additionally this change includes
updates from puppet-modulesync-configs.

2) beaker: stop deploying glance-registry and glance v1 API

The API and services are deprecated and marked as removed for Pike.

Change-Id: I860ecb2a49fb1feb3a4a24d5ee8271161e4ccc0a
Co-Authored-By: Emilien Macchi <emilien@redhat.com>
2017-05-18 20:15:03 +00:00
Jenkins
b01ba77e9a Merge "Set debug to true" 2017-05-08 09:15:34 +00:00
ZhongShengping
a9c000a679 Set debug to true
In order to better view log error messages, set log debug to true.

Change-Id: Ibcc8b06254bd39909e418e786e935e53dc0c278c
2017-05-05 15:15:46 +08:00
Arnaud Morin
4aef3d93a5 Add parameter to manage packages in rbd backend
Some of us may install python-ceph package with other module.
With this new 'manage_packages' parameter, we can avoid an duplicate
package declaration when it's done in an other part of puppet code.

Default behavior is not changed (package will still be installed).

Change-Id: I75ffa9c3dd05ea31f41b032f4778f967b1c6d974
Signed-off-by: Arnaud Morin <arnaud.morin@corp.ovh.com>
2017-04-26 17:23:44 +02:00
Alex Schultz
53d268aa8b Bump modules to next minor with -dev
After releasing Pike M1, we need to bump the metadata version
information for the next release with a -dev.

Change-Id: Idd4786398abb3ef74dc6b9746dcd7646f30f8f40
2017-04-21 17:22:44 -06:00
ZhongShengping
efe9727528 Add support for db_max_retries param
The db_max_retries parameter regulates the number of reconnection
attempts performed after an error raised rather than at startup.

Change-Id: Ib3cfc7b27945389f523d7112d88462995e7416af
Releated-Bug: #1579718
2017-04-18 11:05:31 +08:00
ZhongShengping
45bd308020 oslo db: check puppet resource instead of actual config in spec
Change-Id: Ie511b047870974096e2db52c6d7a381cb59b78a1
2017-04-09 14:54:07 +08:00
Alex Schultz
97a16cc066 Drop -dev for release prep
Removing the -dev from the version to prepare for Pike M1

Change-Id: I781059a8b305f02d7a06fbcdd49543f0542333b2
2017-04-05 10:44:32 -06:00
Jenkins
b42c78d853 Merge "Password should be secured" 2017-03-29 01:43:32 +00:00
ZhongShengping
f9cb037517 Password should be secured
Change-Id: Ia607403c7744f2bf5a1837d1fd29e607cb7c37b3
Closes-Bug: #1676708
2017-03-28 17:11:27 +08:00
ZhongShengping
f880bdaace Update test-requirements.txt
This patch brings it in line with the latest global requirements.
By being in line with global requirements, this is a more accurate
list with respect to how things are actually tested in the gate.
The following links[0][1][2] show the latest reno, oslosphinx, sphinx
packages.

[0]https://github.com/openstack/requirements/blob/master/global-requirements.txt#L263
[1]https://github.com/openstack/requirements/blob/master/global-requirements.txt#L372
[2]https://github.com/openstack/requirements/blob/master/global-requirements.txt#L395

Change-Id: I9c2226ed87ea45f3a862b821dfebaae4251d2d04
2017-03-23 14:42:07 +08:00
Christian Schwede
bdd52684d6 Load Glance DB metadefs
This will load default metadata definitions into Glance when syncing the
DB.

Closes-Bug: 1664995
Change-Id: Id043e36b32516ae077239f5af0b6017104e99b83
2017-03-20 14:04:08 +01:00
Mykyta Karpin
8061a018a6 oslo log: check puppet resource instead of actual config in spec
Change-Id: I121946989719eafe9526e0d732aad6859d086caa
2017-03-16 11:09:52 +02:00
ZhongShengping
400daa15b7 Fix typo
Change-Id: I7ce70a877ad9c66734d8b236517ed50cec026024
2017-03-13 20:12:17 +08:00
Juan Antonio Osorio Robles
a37f9c81ee rabbitmq SSL: check puppet resource instead of actual config
The configuration is done via the oslo::messaging::rabbit resource
from puppet-oslo. We should be checking for the resource that we're
using instead of the underlying configuration file.

Change-Id: Ic078c7f036ce93fc91bd496884e4423b9653b1c8
2017-03-10 16:47:01 +00:00
Emilien Macchi
2cd9666d59 acceptance: remove Glare testing
Glare was removed:
https://review.openstack.org/#/c/427535/

So we don't want to deploy it anymore in beaker tests.

Change-Id: I1130d146563bd547b6424604a52996fbba892dea
2017-03-10 09:28:13 -05:00
Alex Schultz
5ebf8b96ca Prepare Pike metadata
Bump metadata.json and reno configs for Pike

Change-Id: Icc92d2e8b915d5782efae4cd98baa816f206e083
2017-03-07 15:33:43 -07:00
Saverio Proto
ebbac230d1 Add more settings to glance-api
Settings added:
- limit_param_default, The default number of results to return
  for a request.
- api_limit_max, Maximum number of results that could be returned
  by a request.

Change-Id: I5362e2b15531df1d2160b67ce2b572c64b1b0989
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
2017-02-23 10:40:23 -07:00
37eab64f9c Update reno for stable/ocata
Change-Id: I2bc5b12cbd613990d304e14f2924ff448d6df067
2017-02-08 11:03:50 +00:00
Alex Schultz
672c0b6560 Prepare ocata-rc1 release
Bump metadata.json and reno configs for ocata-rc1 release

Change-Id: Ifb03dcdb1c8101e7a872745632d19c65f228682e
2017-02-03 16:23:02 -07:00
ZhongShengping
4570df5d79 Add control_exchange and rpc_response_timeout options
Add control_exchange to configure an exchange name for message.
Add rpc_response_timeout to configure seconds time for waiting
for a response from a call.

Change-Id: I255c4ceda252f0f39eecc823cef2820c9e7b1e48
2017-01-28 13:52:04 +08:00
ZhongShengping
31ca15b037 Add oslo::db to dependency chain
All db settings should be applied and all releated packages should be
installed before dbsync starts.

Change-Id: Iae4f582d43aabeafa7fc50447addee9468d91f2a
2017-01-22 21:40:05 +08:00
Evgeny Antyshev
d66fa43019 Add ploop to supported disk formats
"ploop" image format is supported in upstream Glance:
https://review.openstack.org/341633
And also in python-openstackclient
in Ic79f29a1fe9ea5016d3d5520c2b06e39da01ff61

Change-Id: I2336687db363136e12c5fca5d46e9ce0ba5d791c
2017-01-18 13:24:29 +00:00
Alex Schultz
2a57b21e77 Prepare 10.2.0 release
The third release for Ocata.

Change-Id: Ia1d55b9a2e88acdb68e8389f542236941c731a5c
2017-01-13 17:31:13 -07:00
Matthew J. Black
a964f9f925 Allow python-memcache install from authtoken class
The python-memcache package is required if using memcached. By
default the package is not installed and the define has it set to
false. This change allows managing the python-memcache package
install from the authtoken class.

Change-Id: I7de3338061bad949f26ed0d84782124c7b61eb70
2017-01-11 11:44:55 -05:00
Jenkins
e014854e62 Merge "Don't use copy from but download the image locally" 2017-01-05 14:52:16 +00:00
Flavio Percoco
07a7b66bae Don't pass glance-registry.conf in every sync_db
Since it's possible to run glance-api without glance-registry, we
shouldn't be passing the registry config file in every database sync.

This patch keeps the extra_param so that we can pass the config file if
the registry is enabled from other places.

Depends-On: Ib9f511219e8cb9a7322745b6bd7c4f9c9cc0c198
Change-Id: I4e7570bdc1b8d89c9914855fd8eec13688fbf9f3
2017-01-04 14:43:09 +00:00
Flavio Percoco
b5e0ce81b1 Don't use copy from but download the image locally
Glance's v2 doesn't have support for copy-from. This patch removes that
capability in a backwards compatible way by keeping the parameter and
downloading the image locally first and then uploading it into Glance.

Change-Id: Id475b1204f80062bdd357cf2bd979f757e6573ff
2017-01-04 10:06:20 +01:00
ZhongShengping
e6a6df773b Deprecate signing_dir option
The signing_dir is deprecated for removel because of PKI token format
is no longer supported.
Update warning message and release note.

Change-Id: Ifaad2dffab360df2790dac8d9ad8c9a87f719f6b
Closes-Bug: #1652700
2016-12-28 09:03:30 +08:00
iberezovskiy
59e6152fcb Pin reno version to reno>=0.1.1,!=2.0.0
reno=2.0.0 breaks releasenotes test

Change-Id: I59252deb202031c0ee98cd8de301296913b5e290
Closes-Bug: #1651995
2016-12-22 11:25:08 +00:00
Alex Schultz
3c9a2a8611 Add oslo_messaging_notifications transport_url
Adding the ability to configure the oslo_messaging_notifications
transport_url.

Change-Id: I55b718618d3ede8b0483bd8b4c0877339b6fc0b4
2016-12-14 09:57:31 -07:00
Alex Schultz
77d8f0f46c Prepare 10.1.0 release
The second release for Ocata.

Change-Id: I3a966c7ddd1360e665fc72aef598fe7d0cbf40c0
2016-12-09 09:34:32 -07:00
Emilien Macchi
465cd11025 Move sync_db parameter to glance::api
Glance Registry will at some point be removed from puppet-glance once
API v1 is totally remove from Glance tree.
Some people using 100% v2 API don't need Glance Registry, so they don't
have to run glance::registry class. Though they need the db_sync, so
this patch aims to move the db_sync parameter from glance::registry to
glance::api.

The parameter in glance::registry is deprecated and will be removed in a
future release. Now people should use glance::api::sync_db.

Change-Id: Ib554edb13386845198140c87b0a9b931500656d2
2016-12-07 16:07:27 +01:00
Jenkins
e2a267aabe Merge "Allow to choose which Glance API to enable" 2016-12-07 14:48:09 +00:00
Emilien Macchi
d9fe9380d6 Allow to choose which Glance API to enable
- Allow to configure Glance API v1 with enable_v1_api boolean.
  If set to True, the glance::registry::enable_v1_registry also needs to
  be set to True. Note that if you set these values to True, Glance will
  send some deprecation warnings.
  This option is separated from enable_v2_api, and both API versions can be
  deployed together.

- Allow to configure Glance API v2 with enable_v2_api boolean.
  This option is separated from enable_v1_api, and both API versions can be
  deployed together.

Change-Id: Ibbb8b970971c899ae94097042465f605fe55f748
2016-12-06 16:51:35 +01:00
Saverio Proto
5b044addf7 neat: missing : in $::os_service_default
Change-Id: I36fb6de1f9113f5ba328c7c86003c572a1465d23
2016-12-06 10:53:34 +01:00
ZhongShengping
634b182f55 Fix spec tset for sync
Change-Id: I0220a0db13923fe7fb573ec388fe9735f71b316e
2016-12-01 16:27:42 +08:00
Jenkins
866cd4e99d Merge "Show team and repo badges on README" 2016-11-25 17:48:11 +00:00
Flavio Percoco
08e3b4f287 Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

https://gist.github.com/37bf460dffab4fbadb4be981904b75ca

Change-Id: I0db8b075872e17e1b8ce0c51a75384c73a6190f1
2016-11-25 17:42:11 +01:00
ZhongShengping
54f6ba25f7 Add deps to authtoken
The authtoken class needs to include the ::glance::deps class.

Change-Id: I554f17cd2c5ef47eeb72df8e9a116493389e11e3
2016-11-24 11:58:21 +08:00
Jenkins
f958cb6d7c Merge "Remove old authtoken options" 2016-11-19 01:05:50 +00:00
Iury Gregory Melo Ferreira
ddfd2150b9 Remove old authtoken options
Since we are in ocata lets remove all old parameters in api
to configure the keystone_authtoken section

Change-Id: I4dc0bd544f91fd52ad437b4c3ebbd16a43895726
2016-11-15 23:40:36 -03:00
Alex Schultz
d4bcd17b65 Prepare 10.0.0 release
First release of Ocata.

Change-Id: I679fb4f253f0ddef02a1248078f538a6bdca6a12
2016-11-14 16:39:56 -07:00
Jenkins
a86e414994 Merge "Deprecate rabbitmq connection parameters" 2016-11-09 09:51:56 +00:00