538 Commits

Author SHA1 Message Date
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
Jenkins
2f377fc9f7 Merge "Don't pop from os.environ" 2017-05-25 22:55:30 +00:00
Jenkins
0020d9c192 Merge "Keep a singleton to support multiple get_config calls" 2017-05-25 22:55:25 +00:00
Jenkins
357244a2d1 Merge "Add ironicclient to constructors list" 2017-05-25 22:55:19 +00:00
Jenkins
9332c5acfd Merge "Add helper method to fetch service catalog" 2017-05-25 22:55:10 +00:00
Matthew Booth
990cfa3ce2
Don't pop from os.environ
It's rude to other users and subsequent callers.

Change-Id: I7789f381c99311bfd1c1e0a9869cbacbc96b17d6
2017-05-25 08:31:42 -05:00
Monty Taylor
8235e0ce6c
Keep a singleton to support multiple get_config calls
We are destructive to os.environ in the OpenStackConfig constructor- so
it really should only ever be called once. Make sure get_config does
this.

Change-Id: I279bdf68408a807ec18fba634df3769c9b8fc4dc
Closes-Bug: #1691294
2017-05-16 18:13:48 -05:00
Monty Taylor
a483534123
Revert "Revert "Use interface not endpoint_type for keystoneclient""
Unrevert the endpoint_type/interface patch. But this time around, put in
a check for API version 2.0 and only apply the interface arg if it's for
v3.

This reverts commit 4493871824839782846c3825c754895876f8d08e.

Change-Id: Ib347ec686d4d01788ee943c4c4f809aad06d9ccf
2017-05-13 08:56:41 -05:00
Jordan Pittier
4493871824 Revert "Use interface not endpoint_type for keystoneclient"
This reverts commit 38e5eba621e48d74c05315da2b89e6c801f4c43f.

This patch introduced a bug when using Keystone v2. With this patch, the
following works:

python -c "import os_client_config; print(os_client_config.make_client('identity', auth_url='http://localhost/identity_admin', username='admin', project_name='admin', password='testtest', identity_api_version='3').roles.list())"

But changing identity_api_version from 3 to 2.0 raises an exception.

Without this patch, both 3 and 2.0 works.

Change-Id: I8d2ad71ff51a08af1166d36805b740ea272939ed
2017-05-13 08:35:02 +00:00
Monty Taylor
7a3acde3ed
Add ironicclient to constructors list
Change-Id: I29db3c830759a80d8ea9f0d93a213b4bae4c8b59
2017-05-12 12:05:50 -05:00
Monty Taylor
347fe82c92
Add helper method to fetch service catalog
Grabbing the catalog is weird. OCC should help.

Change-Id: I6e7176568311c1f0e644a8e8876f56c3e153d6e8
2017-05-08 07:20:53 -04:00
Monty Taylor
17debbb099
Fix interactions with keystoneauth from newton
keystoneauth in newton did not have app_name or app_version
as Session parameters. Although it isn't a super common combination,
user agent strings aren't a reason to break something. Add a
simple workaround.

Change-Id: Ib5774389fefdbc190a4b78dd6784c8006afbb270
2017-04-28 15:06:27 -05:00
Jenkins
f6804f6b0d Merge "Make _fix_argv() somewhat compatible with Argparse action='append'" 1.27.0 2017-04-25 22:58:22 +00:00
Jenkins
d300678f40 Merge "Add designateclient to constructors list" 2017-04-25 15:07:20 +00:00