551 Commits

Author SHA1 Message Date
106bb783bd Update reno for stable/queens
Change-Id: I0e66c5ef109dc237455eedc59ae1c3af0bbf8b47
2018-02-01 14:15:21 +00:00
Zuul
ed71a5994f Merge "Updated from global requirements" 1.29.0 queens-em 2018-01-31 21:25:14 +00:00
Zuul
b9af73dc55 Merge "Split docs requirements and update tox.ini" 2018-01-31 21:24:04 +00:00
Monty Taylor
9d730a30b2 Merge "Add betacloud to the vendors" 2018-01-31 21:03:27 +00:00
OpenStack Proposal Bot
fb7006374f
Updated from global requirements
Change-Id: I6f0d1ff2c139d77511937326d0d050135b97e0e2
2018-01-31 11:36:56 -06:00
Monty Taylor
5dbfc60fde
Split docs requirements and update tox.ini
Get ourselves up to date with the latest in PTI hotness.

Change-Id: Ied98273dcfa0b9622d603a8e9a8e2146fb1e081f
2018-01-31 11:34:57 -06:00
Zuul
c9b8ead15a Merge "Updated from global requirements" 2017-12-13 17:34:56 +00:00
Christian Berendt
593ed45db9 Add betacloud to the vendors
Change-Id: I599156ee4e2ff52e4db5669fce6cacd22447c3b0
2017-12-11 22:31:01 +01:00
Zuul
480bfc2722 Merge "Do not apply format expansions to passwords" 2017-12-09 23:02:35 +00:00
Dean Troyer
f0ce20703d
Make the get_service_type() overrides tolernat of no defaults
The service type overrides in get_service_type() fail if the
API version keys are not present in the config dict, which happens
when CloudConfig is created without reading defaults.

Change-Id: I8d035cfd1afc1cad01ceac7cd643568e94897e27
2017-12-08 09:29:27 -06:00
Monty Taylor
1cb33d4bc9
Remove osc devstack tips jobs
They dont' work, and we need this patch to land to land the patch to
make them work.

Change-Id: I14584aebdfbecc9b7fea071048f07cc9b804f597
2017-12-08 09:29:27 -06:00
John Dennis
c7243f1747 Do not apply format expansions to passwords
get_one_cloud() and get_one_cloud_osc() iterate over config
values and try to expand any variables in those values by
calling value.format(), however some config values
(e.g. password) should never have format() applied to them, not
only might that change the password but it will also cause the
format() function to raise an exception if it can not parse the
format string. Examples would be single brace (e.g. 'foo{')
which raises an ValueError because it's looking for a matching
end brace or a brace pair with a key value that cannot be found
(e.g. 'foo{bar}') which raises a KeyError.

It is not reasonsable to try to escape any braces because:

1) Escaping all braces breaks valid use of the format string syntax.

2) Trying to determine exactly which braces should be escaped and
which should be preserved is a daunting task and likely would not be
robust.

3) Some strings might look like valid format syntax but still should
be escaped (e.g. "foo{bar}", if this appeared in a password we
wouldn't escape it and there would be a key error on the 'bar' key.

4) In general passwords should never be modified, you never want to
apply formatting to them.

The right approach is to maintain a list of config values which are
excluded from having formatting applied to them. At the moment that
list just includes 'password' but perhaps down the road other
exceptions might crop up. This patch follows this approach,
the list of excluded values can easily be updated if others are
discovered.

Change-Id: I187bdec582d4c2cc6c7fda47a1538194137c616b
Closes-Bug: 1635696
Signed-off-by: John Dennis <jdennis@redhat.com>
2017-12-05 15:00:30 -06:00
OpenStack Proposal Bot
eca5f69f11 Updated from global requirements
Change-Id: I760104d4a94f67da4677e1ecf8f47150605d4d33
2017-12-05 03:26:19 +00:00
Andreas Jaeger
0d062b7d6f Remove setting of version/release from releasenotes
Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is entirely
due to the current convention of pulling in the version information.

Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.

This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting
at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html
.

Change-Id: I8eca3dae9db90d7c592eb5bcebb2273a81d1a571
2017-11-16 22:05:30 +01:00
Zuul
e193a0ee06 Merge "Add shade-functional-tips jobs" 2017-11-14 14:43:39 +00:00
Monty Taylor
fad7d783b2
Add shade-functional-tips jobs
shade provides a project-template to run its functional tests against
tips of key libraries, such as os-client-config and keystoneauth.

Add these to os-client-config so we can ensure we don't break anything.

Change-Id: I9619fc09ca7c0f6fd3021d3b5194131ad172ad16
Depends-On: I544fdf515f8df38d73cee64a6de799ab384a326e
2017-10-26 06:28:50 +13:00
Dean Troyer
8b22d88ad6 Consume the osc-functional-devstack-tips job
Depends-on: Ia8c08be81605da885b9eee799fc58129305dfc41
Change-Id: Id331adbc5862b651f2754b3cb53f2bccee1be46c
2017-10-25 08:47:32 -05:00
Monty Taylor
a4535baf6b Fix doc typo
The word is 'router'.

Change-Id: Icf27d930f877d57f2b09a4e4e201c89f1d64b2a8
2017-10-21 19:04:38 +00:00
Monty Taylor
162a7a59fd Added nat_source flag for networks.
In some more complex clouds there can not only be more than one valid network
on a server that NAT can attach to, there can also be more than one valid
network from which to get a NAT address. Allow flagging a network so that it
can be found.

Change-Id: I3d8dd6d734a1013d2d4a43e11c3538c3a345820b
2017-10-21 19:04:30 +00:00
Monty Taylor
9c243d4006 Add shade-tox-tips jobs
Breaking shade with changes to os-client-config is bad. Add shade's
unittest jobs that are configured to work against os-client-config
master.

Also move the legacy osc dsvm job here so we can remove it from
project-config.

Change-Id: Ie3e9a4deca1d74b94e810e87e130706fe15fe2c9
Depends-On: I5b411be5c5aa43535fa89a51d6099aadd7a8ea60
2017-10-21 19:04:18 +00:00
Zuul
da432d4a51 Merge "Update make_rest_client to work with version discovery" 2017-10-21 15:19:51 +00:00
Zuul
eab9a3ed7b Merge "Treat clouds.yaml with one cloud like envvars" 2017-10-18 19:10:59 +00:00
Zuul
2ed3b34a78 Merge "Protect against p_opt not having prompt attribute" 2017-10-18 18:48:20 +00:00
Monty Taylor
3e66722b29
Update make_rest_client to work with version discovery
Using make_rest_client on clouds that put unversioned endpoints in the
catalog results in incorrectly set up adapters.

Add the plumbing to get_session_client to pass version args to
keystoneauth. Then use that from make_rest_client.

Change-Id: I69ad746f672ef0b12680e9db3c7b0c691c9f87e4
2017-10-18 15:49:23 +02:00
Monty Taylor
ed09236683
Protect against p_opt not having prompt attribute
In ansible/ansible#28746 it was reported that there are times
when a p_opt is getting here that does not have a prompt
attribute. Protecting against that is fairly easy to do.

Change-Id: Ia02528f4a107893e480135bc214aa156b8684507
Closes-Bug: #1717906
2017-09-21 09:07:31 -05:00
Monty Taylor
45fd7b4a94
Treat clouds.yaml with one cloud like envvars
If there is only one cloud and that cloud is envvars, things work as
expected. If there is only one cloud in clouds.yaml and no envvars
cloud, we throw an error, even though it should be obvious which cloud
was intended.

Change-Id: Ia49d0fb2cc7dca36476d0e5ae3fe2b2aa1209e59
2017-09-19 14:40:53 -05:00
Jenkins
15834d7620 Merge "Fix requires_floating_ip" 2017-09-19 16:41:02 +00:00
OpenStack Proposal Bot
94ace709e2 Updated from global requirements
Change-Id: I1bbda934cc65d508f1cece8c5adc714e9f464707
2017-09-16 23:21:20 +00:00
Monty Taylor
eafc8bed56
Fix requires_floating_ip
This isn't a required piece of the config, so it might be unset. Use get
instead of [].

Change-Id: I1bbbcb4ac63a4f6d4399c0fa8881c21264a03e4b
2017-09-16 13:13:25 -05:00
Jenkins
424d112cd7 Merge "Updates for stestr" 2017-09-15 19:18:05 +00:00
Dean Troyer
6f72637fb6 Updates for stestr
Change-Id: I344cd6ce38d8db8fe24e1611c9c61e1ffa1b586d
2017-09-14 16:57:42 -05:00
OpenStack Proposal Bot
3fb4fec1d6 Updated from global requirements
Change-Id: I6ecb4e80d2944bf592a2cbd41695643bc49f832d
2017-09-13 13:00:03 +00:00
Jenkins
d94ef7dfeb Merge "Updated from global requirements" 2017-09-06 14:21:26 +00:00
Jenkins
6dba2bf7a0 Merge "DataCentred supports Keystone V3 and Glance V2." 2017-09-06 14:21:18 +00:00
OpenStack Proposal Bot
371c3ebc0e Updated from global requirements
Change-Id: I7b1217cd50a3e3c89edcb5bda1d22cded90e9b4b
2017-09-01 12:44:43 +00:00
OpenStack Proposal Bot
b5af1ae936 Updated from global requirements
Change-Id: I805c30c0a522c03721a97118594030b9c8dfcd51
2017-08-18 11:39:22 +00:00
OpenStack Proposal Bot
15a83dab9a Updated from global requirements
Change-Id: Iad6eba535f48d0f09e5507db32399623f63a4f88
2017-08-12 11:50:13 +00:00
Jenkins
5209b3089a Merge "Update the documentation link for doc migration" 2017-08-11 18:31:15 +00:00
Sean Handley
164501c715 DataCentred supports Keystone V3 and Glance V2.
Change-Id: Ia8c656e2c6b97c877f5028fef8a94a2c41909bc5
2017-08-11 14:12:50 +01:00
Joshua Harlow
d597ee271e Update globals safely
The right way to update these globals is to use a lock
and ensure that nobody else is updating them at the same
time. Also update a temporary dictionary before setting
the global one so that nobody sees partial updates to the
global one.

This should help fix the thread-safety of shade (and other
tooling built ontop of this library).

Change-Id: Ie0e0369d98ba6a01edcbf447378a786eec3f13f9
2017-08-07 15:46:59 -07:00
lingyongxu
240e2594b9 Update the documentation link for doc migration
This patch is proposed according to the Direction 10 of doc
migration(https://etherpad.openstack.org/p/doc-migration-tracking).

Change-Id: Ida458338d353cbd6cc0162263db25f533b0bd9fd
2017-08-07 15:10:42 +08:00
Andreas Jaeger
eed1cbb8cd Remove OSIC
OSIC has been decommissioned, remove the now useless vendor data.

Change-Id: I57c6043018e96c0069c7db777b9f585cb7d535e7
Related-Change: I2d1b0710e875bd1ebc305fb5b184b68bf18f2ef7
2017-08-05 18:52:47 +02:00
8c8f365a9f Update reno for stable/pike
Change-Id: Ie69ff1e5a5d3cf3a762d6915c5d596de4f919931
2017-07-28 21:04:06 +00:00
OpenStack Proposal Bot
1d4c124bb1 Updated from global requirements
Change-Id: I611163aecdc4810e6fd1d7e47e60171d72db0ea3
2017-07-27 20:30:31 +00:00
Dirk Mueller
623593a693 Manually sync with g-r
Change-Id: I4298bb7c2d66632b716b0dbeae64c9dca2b3434d
2017-07-24 21:46:26 +02:00
Doug Hellmann
f74902b0b9 use openstackdocstheme html context
Set some of the new config values and enable openstackdocstheme as an
extension so it will inject values into the page context as it writes
each documentation page. This ensures the pages link to the right bug
tracker, etc.

Change-Id: Id9cc61e81aa43f4b69883d338090716005477d0a
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
1.28.0
2017-06-29 15:27:53 -04:00
Doug Hellmann
30c8729f78 switch from oslosphinx to openstackdocstheme
Change-Id: Ie45909df0b5a118d0200a1ee71277f4dbfe41d08
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-22 15:26:16 -04:00
Doug Hellmann
412f0fdd85 turn on warning-is-error in documentation build
Change-Id: I18cdecec84f8dd5f11741ac1ffc35630f7eb64b8
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-22 15:17:54 -04:00
Doug Hellmann
95f44f171c rearrange existing documentation to follow the new standard layout
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454
Change-Id: Ib68812eda4ab0ce09c6d438f9f236111d61ef38b
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-22 15:16:06 -04:00
Jenkins
fe39a9f020 Merge "Revert "Revert "Use interface not endpoint_type for keystoneclient""" 2017-05-25 23:10:41 +00:00