summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Change setup.py scriptbaserock/morphPedro Alvarez2014-05-121-3/+13
|
* Merge "Add os-server-external-events support"2.17.0Jenkins2014-03-077-0/+120
|\
| * Add os-server-external-events supportDan Smith2014-03-077-0/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for the os-server-external-events extension in nova, which allows other services to deliver events to nova. It also adds a shell command to trigger the "network-changed" event manually, which will cause nova to refresh its network cache from neutron. Related to blueprint admin-event-callback-api Change-Id: I1a302a43b6b7a6d8bdc03965a8f4c1a151bcab88
* | Merge "Add classifiers for specific versions of Python"Jenkins2014-03-031-0/+3
|\ \
| * | Add classifiers for specific versions of PythonCyril Roelandt2014-03-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | These are used by automated tools, such as caniusepython3 (https://github.com/brettcannon/caniusepython3) to check on what version of Python the Nova client works. Change-Id: Ie2a652a8c4797b1e1a69c91673e6009f36772667
* | | Merge "Fix in in novaclient, to avoid excessive conns"Jenkins2014-02-281-5/+33
|\ \ \
| * | | Fix in in novaclient, to avoid excessive connsTihomir Trifonov2014-02-271-5/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current client creates new .Session() on each request, but since Horizon is a stateless app, each Session creates new HttpAdapter, which itself has its own connection pool, and each connection there is used (almost) once and then is being kept in the pool(with Keep-Alive) for a certain amount of time(waiting for inactivity timeout). The problem is that the connection cannot be used anymore from next Django calls - they create new connection pool with new connections, etc. This keeps lots of open connections on the server. Now the client will store an HTTPAdapter for each URL into a singleton object, and will reuse its connections between Django calls, but still taking advantage of Sessions during a single page load(although we do not fully use this). Note: the default pool behavior is non-blocking, which means that if the max_pool_size is reached, a new connection will still be opened, and when released - will be discarded. It could be useful to add max_pool_size param into settings, for performance fine-tuning. The default max_pool_size is 10. Since python-novaclient is also used from non-Django projects, I'd expect feedback from more people on the impact this change could have over other projects. Patch Set 3: Removed explicit connection closing, leaving connections open in the pool. Change-Id: Icc9dc2fa2863d0e0e26a86c8180f2e0fbcd1fcff Closes-Bug: #1247056
* | | | Merge "oslo sync apiclient and cliutils"Jenkins2014-02-286-31/+137
|\ \ \ \
| * | | | oslo sync apiclient and cliutilsJoe Gordon2014-02-276-31/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generated with: ./update.sh --base novaclient --config-file ../python-novaclient/openstack-common.conf --dest-dir ../python-novaclient/ Synced patches: apiclient: 04a1abe Revert "Removed set_loaded() method from Resource class" 5e76477 Merge "Handle 300 status code in common HTTPClient" 492fe2c Merge "py3kcompat: remove" 466ad64 Merge "Fix usage of dict.keys in apiclient.exceptions" 8630a44 Merge "Removed set_loaded() method from Resource class" 41fbfea Merge "Add to_dict() method to apiclient Resource" 6650435 Fix usage of dict.keys in apiclient.exceptions 35dc1d7 py3kcompat: remove 9f1e7eb Correct docstring in load_plugin_from_args 0c4d2c7 Removed set_loaded() method from Resource class 3b248dd Add to_dict() method to apiclient Resource 71c22e9 Handle 300 status code in common HTTPClient cliutils: 9a7f2f8 Merge "Deleted duplicated method in cliutils." 8f2effd Use `six.text_type` instead of `str` in cliutils 885828a Deleted duplicated method in cliutils. 71a2d90 Add common methods to cliutils Change-Id: I0c8849d8d5dd71f34aa5dbcd2c0875c164706d70
* | | | | Merge "oslo-sync of low hanging fruit"Jenkins2014-02-286-35/+117
|\ \ \ \ \ | |/ / / /
| * | | | oslo-sync of low hanging fruitJoe Gordon2014-02-266-35/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generated with: ./update.sh --base novaclient --config-file ../python-novaclient/openstack-common.conf --dest-dir ../python-novaclient/ Skipped modules: apiclient and cliutils due to oslo issue in apiclient (cliutils depends on apiclient). https://review.openstack.org/#/c/76718/ Removed non-existent modules from openstack-commit.conf: py3kcompat I06b90f789ae21f2ef8b8071b4298bfc0406482a6 intall_venv_common I84267f3c6726cb2e750f615e107c48b12c6ed353 Synced patches: __init__.py [first sync]: c178e56 Add basic Python 3 tests 12bcdb7 Remove vim header 547ab34 Fix Copyright Headers - Rename LLC to Foundation 96b9a54 Rajaram/Vinkesh|Added nova's serializaiton classes into common c85e1f7 Initial skeleton project gettextutils: 6d55e26 Add support for translating log levels separately afdbc0a Fix E501 in individual openstack projects 6b2d15f Merge "Add support for locales missing from babel" 9d529dd Make Message keep string interpolation args importutils: 885828a Deleted duplicated method in cliutils. strutils: bec3a5e Implements SI/IEC unit system conversion to bytes timeutils: d815087 Merge "Fix spelling errors in comments" 71208fe Fix spelling errors in comments Change-Id: I8f82acb63e61a64eeb6caba9d2d9c81d9cb766d8
* | | | | Merge "Updated from global requirements"OpenStack Jenkins2014-02-281-1/+1
|\ \ \ \ \
| * | | | | Updated from global requirementsOpenStack Jenkins2014-02-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I870165ea9be249b1cda937307a32ab29d8270d94
* | | | | | Revert "'name' should as be optional param on aggregate-update"Alan Pevec2014-02-274-60/+20
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit a2a1ef8f36644c3487bdaf00b2e70bcc6b948fb4. Change-Id: I43bdc254e391c4b20254b8732c772fc9e728310c Reopens-bug: #1280118 Partial-bug: #1281416
* | | | | Merge "Remove usage of module py3kcompat"Jenkins2014-02-2714-30/+41
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Remove usage of module py3kcompatEric Guo2014-02-2514-30/+41
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Module py3kcompat was removed from oslo-incubator. We need remove its usage in client side firstly. This make us move smoothly when sync oslo-incubator code. Change-Id: I8b07c32c9852e747579a23685f3c8a07ac13ec01 Partial-Bug: #1280033
* | | | 'name' should as be optional param on aggregate-updatehuangtianhua2014-02-264-20/+60
| |/ / |/| | | | | | | | | | | | | | | | | | | | 'name' should be an optional parameter not required on aggregate-update, so we can update 'availability_zone' only. Change-Id: I23e669a3362e0bea44adc88744eed823ec1e7ebb Closes-Bug: #1280118
* | | Fix typo in novaclient2.16.0wingwj2014-02-252-2/+2
|/ / | | | | | | | | | | | | sapshot --> snapshot messanges --> messages Change-Id: I21d9f3bd02c435f92f8ba20e85898d7a11e6a0af
* | Merge "Fix i18n messages in novaclient, part II"Jenkins2014-02-241-440/+467
|\ \
| * | Fix i18n messages in novaclient, part IISergio Cazzolato2014-02-151-440/+467
| | | | | | | | | | | | | | | | | | | | | | | | This change make all the text visible by the user i18n. The messages changes are in prints, logs, exceptions, helps, etc Pep8 errors about "Multiple positional placeholders" also fixed. Change-Id: Ia69c86bb2ee8be3fa8af734f793a81eefebe362d
* | | Updated from global requirementsOpenStack Jenkins2014-02-232-3/+3
| |/ |/| | | | | Change-Id: I0456dea975c2ce3d45caa9c1813a8ac9e966976a
* | Merge "Replace assertEqual(None, *) with assertIsNone in tests"Jenkins2014-02-202-2/+2
|\ \
| * | Replace assertEqual(None, *) with assertIsNone in testszhang-jinnan2014-02-192-2/+2
| |/ | | | | | | | | | | | | Replace assertEqual(None, *) with assertIsNone in tests to have more clear messages in case of failure. Change-Id: I6deee90c31adf61d80e2678a5f29ba9e187281c9
* | Merge "Invalid client version message unclear"Jenkins2014-02-201-1/+1
|\ \
| * | Invalid client version message unclearLeandro I. Costantino2014-02-191-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | The error message when using an invalid os-compute-api-version is created by joining all the available versions without space. This patch will add ', ' between versions. Ex: nova --os-compute-api-version v3 list ERROR: Invalid client version 'v3'. must be one of: 321.1 Now: nova --os-compute-api-version v3 list ERROR: Invalid client version 'v3'. must be one of: 3, 2, 1.1 Change-Id: I825df89d38adc9e4bd3fb900cd0199f159c04a6b
* | Remove None for dict.get()zhang-jinnan2014-02-196-11/+11
|/ | | | | | Because If no default value is specified it defaults to None already. Change-Id: I3caad9f17840347e30465c7bd4c9c4fe53d991e3
* Merge "Remove invalid parameter of quota-update"Jenkins2014-02-155-75/+2
|\
| * Remove invalid parameter of quota-updateshihanzhang2014-02-115-75/+2
| | | | | | | | | | | | | | | | | | nova quota-update doesn't support update '--gigabytes' and '--volumes', but CLI include these two parameter, so it should remove these two parameter from novaclient Change-Id: I9db39dd397ba3368f214377f37b56ac4f4f3864c Closes-bug: #1277673
* | Merge "Adds support for the get_rdp_console API"Jenkins2014-02-155-0/+63
|\ \
| * | Adds support for the get_rdp_console APIAlessandro Pilotti2014-02-085-0/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hyper-V employs RDP to access virtual machine consoles, unlike most other hypervisors which support VNC. In order to support this scenario, the get_rdp_console API has been added to Nova. This commit adds the corresponding client side feature, implemented in a way consistent with existing VNC and SPICE console support. Nova Gerrit commit: https://review.openstack.org/#/c/43502/ Change-Id: I86b814797d234f1eb49a7fa67ed27a9bcda034ae Implements: blueprint hyper-v-rdp-console
* | | Merge "Fix spelling miss of password_func variable"Jenkins2014-02-151-1/+1
|\ \ \
| * | | Fix spelling miss of password_func variableHaiwei Xu2014-02-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In novaclient/shell.py there is a variable called 'password_fun' which isn't used anywhere. In fact it's a spelling miss, and should be modified to 'password_func' which is used in novaclient/client.py This patch fixes this bug. Change-Id: Ibb8e95a2efc77575dcc8544584c708c5c62b7dea
* | | | Merge "Update broken command line reference link"Jenkins2014-02-151-1/+1
|\ \ \ \
| * | | | Update broken command line reference linkEric Guo2014-02-131-1/+1
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | The old reference link of nova command line was broken, update it with latest one. Change-Id: I4ab8a4750c7090ba20def6e47d1c4fe905a8256d
* | | | Fix copy/paste errors in print messageshuangtianhua2014-02-132-6/+12
|/ / / | | | | | | | | | | | | | | | | | | | | | "Aggregate %s has been successfully updated." as the print message of do_aggregate_set_metadata/do_aggregate_add_host/do_aggregate_remove_host is incorrect. Change-Id: I18c1c3a4403a8ebe3062ef7a695b0e643619dc74
* | | Merge "Remove tox locale overrides"Jenkins2014-02-111-2/+0
|\ \ \
| * | | Remove tox locale overridesJeremy Stanley2014-02-101-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tox.ini: The LANG and LANGUAGE environment overrides were introduced originally during the testr migration in an attempt to be conservative about the possibility that locale settings in the calling environment could cause consistency problems for test runs. In actuality, this should be unnecessary and any place where it does cause issues ought to be considered an actual bug. Change-Id: I0f30b45033145c61ad2a9b232cb1178c48c7fc97
* | | | Merge "Fixed super constructor call for TestResponse class"Jenkins2014-02-111-1/+1
|\ \ \ \
| * | | | Fixed super constructor call for TestResponse classAndrew Lazarev2014-02-041-1/+1
| | |_|/ | |/| | | | | | | | | | Change-Id: Idbd436d63af152d4a73e747bf00a82fc0308a036
* | | | Merge "[UT] Removed duplicate key from dict in fake baremetal_node"Jenkins2014-02-101-1/+0
|\ \ \ \ | |_|/ / |/| | |
| * | | [UT] Removed duplicate key from dict in fake baremetal_nodeAndrew Lazarev2014-02-041-1/+0
| |/ / | | | | | | | | | | | | | | | | | | Python takes only the last value if several keys with the same name listed. Removed the first one to make value evident. Change-Id: I6cef783ff245073b4c0fde0e4d60ff69fb02fc22
* | | Merge "Fix i18n messages in novaclient, part I"Jenkins2014-02-1017-108/+131
|\ \ \
| * | | Fix i18n messages in novaclient, part ISergio Cazzolato2014-01-2817-108/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change make all the text visible by the user i18n. The messages changes are in prints, logs, exceptions, helps, etc Pep8 errors about "Multiple positional placeholders" also fixed Change-Id: I731afea790baddbc34d059b93a35e3d275fc1df8
* | | | Merge "Fixed multi validation and wrong fail calls in unit tests"Jenkins2014-02-101-3/+2
|\ \ \ \
| * | | | Fixed multi validation and wrong fail calls in unit testsAndrew Lazarev2014-02-041-3/+2
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Positive test was calling the same check several times. Replaced with one call. * Negative test was failing with "'object has no attribute 'assertFail'" error message in case of failure. Replaced with appropriate message. Change-Id: Id03a452f7735d6b4d13f54036f1bd3ae50cb487a
* | | | Merge "[UT] Fixed floating_ip_pools fake return to expected one"Jenkins2014-02-101-1/+1
|\ \ \ \
| * | | | [UT] Fixed floating_ip_pools fake return to expected oneAndrew Lazarev2014-02-041-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | It seems that author wanted to return two pools. But because of typo, method now returns only one of them. Fixed typo to return two pools. Change-Id: Ia77a8529fd4db1b06860073ebf33bd54b43438cd
* | | | Merge "Fix Serivce class AttributeError"Jenkins2014-02-102-1/+2
|\ \ \ \
| * | | | Fix Serivce class AttributeErrorMasayuki Igawa2014-02-052-1/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we str(service_object), an AttributeError occurred like this: ======================== File "/opt/stack/python-novaclient/novaclient/v1_1/services.py", line 24, in __repr__ return "<Service: %s>" % self.service File "/opt/stack/python-novaclient/novaclient/openstack/common/apiclient/base.py", line 463, in __getattr__ raise AttributeError(k) AttributeError: service ======================== This commit fixes it. Change-Id: I496d522591273bf1b1e7dbadf19afaf5e64e41e3 Closes-Bug: #1276408
* | | | Merge "Update my mailmap"Jenkins2014-02-101-0/+2
|\ \ \ \