summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update .gitreview for stable/mitakamitaka-eolstable/mitakaDoug Hellmann2016-03-101-0/+1
| | | | Change-Id: I4f926a365658b80e3a75d03b72d204496a5b495f
* Update the README a bit1.16.0Monty Taylor2016-02-221-20/+27
| | | | | | | Cleaned up example references to now-not-existing HP Public Cloud. Also added a named-cloud entry to the make_client section. Change-Id: I398c438e22eb84d6079a5c45f068753c3bcaa216
* Allow session_client to take the same args as make_clientMonty Taylor2016-02-223-13/+38
| | | | | | | | | | | | | | | make_client is a great, simple yet flexible way to get a fully featured Client object. simple_client is similar for Session objects, but lacks the argparse and arbitrary kwargs that make_client - plus it has a weird name. Since adding those two features to make_client did not make it too confusing - do the same for simple_client. Also, rename it to session_client (with a backwards-compat alias) and add it to the README docs. In the process of doing this, extract the "get me a cloud config" functinality into an additional helper function - get_config. Change-Id: Iadd24dfa021f870b3e5858bab8cd91fc96a373c2
* Add release notes1.15.0Clark Boylan2016-02-171-0/+22
| | | | | | | Catch up the release notes from the previous release to current state. This does not catch up from the beginning of oscc's history. Change-Id: Ic981fdfbb79cd7fc70167091bdfed281c11eff03
* Merge "Send swiftclient username/password and token"Jenkins2016-02-172-15/+173
|\
| * Send swiftclient username/password and tokenMonty Taylor2016-02-122-15/+173
| | | | | | | | | | | | | | | | | | | | | | For longer-lived operations, tokens can timeout and we need to get new ones. While in theory we should be keystoneauth aware and passing around sessions, swiftclient does not yet support this. So, instead of passing in just a preauthtoken, also pass in credentials if we have them. However, for plugin types that swift does not know about directly, only preauthtoken will be used as before. Change-Id: If724fdcd0649d9fa3b3ee7b127e49a3f77e3b767
* | Merge "Added SSL support for VEXXHOST"Jenkins2016-02-111-1/+1
|\ \ | |/ |/|
| * Added SSL support for VEXXHOSTMohammed Naser2016-02-101-1/+1
| | | | | | | | | | | | | | VEXXHOST cloud uses SSL for Keystone and all other services, change the auth URL to the SSL endpoint. Change-Id: If80c76603de44d005d6af1726f34d924384bf747
* | Remove HP and RunAbove from vendor profilesMonty Taylor2016-02-103-62/+0
|/ | | | | | | | HP has already shut down its public cloud. RunAbove is shutting down 17th February as part of the migration to OVH.com. Neither are therefore valid vendors any longer. Change-Id: I8d305ca2b1cbaf67e6711eedaa1a4c5668a42be7
* Add support for zetta.ioSteve Martinelli2016-01-312-0/+27
| | | | | | | zetta has an openstack cloud, let's add support for it. Change-Id: I86cda3e42fff468786b2809bb367ad59241bb397 Closes-Bug: 1537959
* Merge "Stop ignoring v2password plugin"Jenkins2016-01-252-7/+54
|\
| * Stop ignoring v2password pluginMonty Taylor2016-01-252-7/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | We have no codepaths that currently set v2password plugin by default. However, there are some cases, such as old clouds, where a user needs to explicitly set v2password as the auth_type to avoid version discovery because their cloud is old enough to not support it. If the user sets v2password, keep it and align the auth parameters the other direction to set tenant_name and tenant_id. Co-Authored-By: David Shrewsbury <shrewsbury.dave@gmail.com> Change-Id: Ib9eb3ae163b79b67737d01868868187b6dee1756
* | Go ahead and remove final excludesMonty Taylor2016-01-221-3/+0
| | | | | | | | | | | | | | | | | | os-client-config is clean on E125 and E123 is ignored in recent pep8 by default. Also, even though they are not 'valid' pep8 rules, they are actually both nice styles and consistent with how we code os-client-config anyway. Change-Id: I7764e1511ed580d37b9a0a8be6743a5fa50441e5
* | Merge "Clean up removed hacking rule from [flake8] ignore lists"Jenkins2016-01-222-3/+3
|\ \ | |/ |/|
| * Clean up removed hacking rule from [flake8] ignore listsLiuNanke2016-01-192-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We bump hacking>=0.10.2, and hacking removed some rules, for the full list of rules please see [1]. So don't need them any more. Hacking related commits: Remove H904 in commit b1fe19ebebe47a36b905d709467f5e82521bbd96 Remove H803 in commit f01ce4fd822546cbd52a0aedc49184bddbfe1b10 Remove H307 in commit ec4833b206c23b0b6f9c6b101c70ab925a5e9c67 Remove H305 in commit 8f1fcbdb9aa4fc61349e5e879153c722195b1233 [1]https://github.com/openstack-dev/hacking/blob/master/setup.cfg#L30 Change-Id: I24b82c1913d3d42cc5228b1db700b787623fcdc5
* | Don't set project_domain if not project scopedMonty Taylor2016-01-213-0/+35
|/ | | | | | | | | | | | | The code to expand domain_{name,id} to {user,project}_domain_{name,id} is flawed in that it sets a project_domain_{name,id} even if a project_{name,id} is not set. There is a valid use case for not having a project_{name,id} - specifically getting a domain-scoped token. In the case where we do not set a project, check for that and don't make further assumptions that the domain input needs to be "fixed". Closes-Bug: #1535676 Change-Id: I825fe4bc375687208bb176bb5990c23fe87c8f9d
* set up release notes buildDoug Hellmann2016-01-156-1/+287
| | | | | | | Add release notes build files and tox environment so the existing release notes job has something to build from. Change-Id: I717d4e7af438cbc94eecf32472f6d1f8213761b8
* Merge "Pass version arg by name not position"1.14.0Jenkins2016-01-132-14/+13
|\
| * Pass version arg by name not positionMonty Taylor2016-01-132-14/+13
| | | | | | | | | | | | | | | | Everyone except neutron has a first parameter called "version" - so we can pass it by name. For neutron, add a workaround, becuase YAY people being different. Change-Id: Icfd92e5e31763ffccc1ff673298f89d1888941fe
* | Merge "Fix a precedence problem with auth arguments"Jenkins2016-01-132-1/+13
|\ \
| * | Fix a precedence problem with auth argumentsMonty Taylor2016-01-132-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the current code, OS_TENANT_NAME will take precednece over --os-project-name beause OS_TENANT_NAME gets early-moved to config['auth']['project_name'], then when the argparse value gets put into config['project_name'] the auth fixing sees auth['project_name'] and thinks it should win. Change-Id: I97084ea221eb963f14d98cf550a04bbd5c7d954c
* | | Merge "Return empty dict instead of None for lack of file"Jenkins2016-01-132-1/+8
|\ \ \ | |/ / | | / | |/ |/|
| * Return empty dict instead of None for lack of fileMonty Taylor2016-01-132-1/+8
| | | | | | | | | | | | | | | | We return None for the file content for non-existent files as a fallback. This is normally fine, but in the case of a person having _only_ a secure.conf file, this means that the dictionary merge fails. Change-Id: I61cc0a8c709ea3510428fc3dfce63dc254c07c83
* | Merge "Use _get_client in make_client helper function"Jenkins2016-01-121-3/+6
|\ \
| * | Use _get_client in make_client helper functionMonty Taylor2016-01-081-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | We have a capability to know what constructor is needed for make_client, but we didn't plumb it in. Make sure that the only thing needed is: os_client_config.make_client('compute') Change-Id: I02aa1c46fa7cdfdb1409f8e1232e364b5ba48cd2
* | | Merge "Add barbicanclient support"Jenkins2016-01-123-2/+7
|\ \ \ | |/ /
| * | Add barbicanclient supportMonty Taylor2016-01-083-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | barbicanclient is a lovely client library, so we should add support for make_legacy_client to doing the right things constructing a Client object. Change-Id: Idf015b1119ef76b951c195a6498cbb7a928d6e44
* | | Merge "Add IBM Public Cloud"Jenkins2016-01-122-0/+26
|\ \ \ | |/ /
| * | Add IBM Public CloudMonty Taylor2016-01-062-0/+26
| | | | | | | | | | | | | | | | | | IBM Cloud has a public Openstack Cloud. We should support it. Change-Id: If0bc29c41869494b2a4da944f7792cbe0f217f0e
* | | Merge "Update auth urls and identity API versions"Jenkins2016-01-1212-13/+24
|\ \ \ | |/ /
| * | Update auth urls and identity API versionsMonty Taylor2016-01-0612-13/+24
| | | | | | | | | | | | | | | | | | | | | Most of the clouds, it turns out, support unversioned auth_url as well as keystone v3. Change-Id: I088d008cd2732f137c8a1bbbd9c0a43f7d382f92
* | | Merge "Stop hardcoding compute in simple_client"Jenkins2016-01-081-1/+1
|\ \ \ | |/ /
| * | Stop hardcoding compute in simple_clientMonty Taylor2016-01-061-1/+1
| | | | | | | | | | | | | | | | | | | | | There's a debug leftover oops where we just passed 'compute' rather than the service_key requested. Change-Id: Id8c82e43ba34859426b1fdc93dcf3ab2bbde4966
* | | Merge "Remove openstack-common.conf"Jenkins2016-01-071-6/+0
|\ \ \
| * | | Remove openstack-common.confLiuNanke2016-01-071-6/+0
| |/ / | | | | | | | | | | | | | | | | | | We don't sync from oslo-incubator, so don't need this file any more. Change-Id: Ia4acc67fe38c4a27a098c4da263265ed3742b7e7
* | | Replace assertEqual(None, *) with assertIsNone in testsLiuNanke2016-01-061-2/+1
|/ / | | | | | | | | | | | | | | | | | | Replace assertEqual(None, *) with assertIsNone in tests to have more clear messages in case of failure. There have one more place should be modified. Change-Id: I53a8f129db0108892b8377edce2dbf19b0b95f5d Closes-bug: #1280522
* | Merge "Allow filtering clouds on command line"Jenkins2016-01-041-1/+13
|\ \ | |/ |/|
| * Allow filtering clouds on command lineMonty Taylor2015-12-301-1/+13
| | | | | | | | | | | | | | Add a very basic filtering to the test command line function to allow only printing one cloud or one cloud/region worth of config. Change-Id: I0d09717430f41b4229f7743f8531f871b962969e
* | Merge "Update volume API default version from v1 to v2"Jenkins2016-01-0411-1/+21
|\ \
| * | Update volume API default version from v1 to v2Yaguang Tang2015-12-3111-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | Cinder has deprecated API version v1 since Juno release, and there is a blueprint to remove v1 API support which is in progress. We should default to v2 API when it's there. Closes-Bug: 1467589 Change-Id: I83aef4c681cbe342c445f02436fcd40cf1222f23
* | | Merge "Fix README.rst, add a check for it to fit PyPI rules"Jenkins2016-01-042-2/+7
|\ \ \
| * | | Fix README.rst, add a check for it to fit PyPI rulesYuriy Taraday2015-12-312-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | README.rst doesn't appear right on PyPI currently. This commit fixes the issue and expands "docs" environment in tox.ini to use readme tool [0] to verify that README.rst is good for PyPI. [0] https://github.com/pypa/readme Change-Id: I6025bb6c661d8a4a7cd9802a1298928662278f2d
* | | | Merge "Debug log a deferred keystone exception, else we mask some useful diag"Jenkins2016-01-041-0/+4
|\ \ \ \
| * | | | Debug log a deferred keystone exception, else we mask some useful diagDoug Wiegley2015-12-311-0/+4
| |/ / / | | | | | | | | | | | | Change-Id: Ib1921698bb61f44193034065749b4e246a6258db
* | | | Merge "Use reno for release notes"Jenkins2016-01-035-1/+12
|\ \ \ \ | |/ / / |/| | |
| * | | Use reno for release notesMonty Taylor2015-12-305-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The OpenStack Release team has created a great release notes management tool that integrates with Sphinx. Start using it. For reference on how to use it, see http://docs.openstack.org/developer/reno/ Change-Id: I8153ec7861b508297a28a1916771776dee2deafe
* | | | add URLs for release announcement toolsDoug Hellmann2015-12-301-0/+8
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | The release announcement scripts expects to find URLs for the bug tracker, documentation, etc. by looking for patterns in the README.rst file. This change adds the URLs in a format consistent with other OpenStack projects and that works with the release announcement generator. Change-Id: I88151008cca91da3fed7e4c0ec6dfb641a0062b6
* | | Merge "Fix token_endpoint usage"1.13.1Jenkins2015-12-302-2/+2
|\ \ \
| * | | Fix token_endpoint usageJavier Pena2015-12-282-2/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 22d740b7007e1182c99370cb2629322384b17a14 broke token_endpoint authentication for openstackclient, by unconditionally setting auth_type to 'token' whenever a token was passed in the command line. This change reverts the portion that always overrides the auth plugin if there is a token passed via arguments. Change-Id: I835c3716dd08eaca10f56682c22fdc6ac700e0fe
* | | Merge "Munge region_name to '' if set to None"Jenkins2015-12-292-0/+9
|\ \ \