Hello community, here is the log from the commit of package python-novaclient for openSUSE:Factory checked in at 2017-11-24 10:56:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-novaclient (Old) and /work/SRC/openSUSE:Factory/.python-novaclient.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-novaclient" Fri Nov 24 10:56:01 2017 rev:27 rq:544933 version:9.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-novaclient/python-novaclient.changes 2017-08-28 15:31:18.269488363 +0200 +++ /work/SRC/openSUSE:Factory/.python-novaclient.new/python-novaclient.changes 2017-11-24 10:56:04.172780902 +0100 @@ -1,0 +2,8 @@ +Thu Nov 23 17:17:58 UTC 2017 - [email protected] + +- update to version 9.1.1 + - Update .gitreview for stable/pike + - Update UPPER_CONSTRAINTS_FILE for stable/pike + - Allow boot server with multiple nics + +------------------------------------------------------------------- Old: ---- python-novaclient-9.1.0.tar.gz New: ---- python-novaclient-9.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-novaclient.spec ++++++ --- /var/tmp/diff_new_pack.3U7hFW/_old 2017-11-24 10:56:04.900754314 +0100 +++ /var/tmp/diff_new_pack.3U7hFW/_new 2017-11-24 10:56:04.904754168 +0100 @@ -17,13 +17,13 @@ Name: python-novaclient -Version: 9.1.0 +Version: 9.1.1 Release: 0 Summary: Python API and CLI for OpenStack Nova License: Apache-2.0 Group: Development/Languages/Python -Url: http:///launchpad.net/{name} -Source0: https://pypi.io/packages/source/p/%{name}/%{name}-%{version}.tar.gz +Url: https://launchpad.net/{name} +Source0: https://files.pythonhosted.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz BuildRequires: openssl BuildRequires: openstack-macros BuildRequires: python-cinderclient >= 2.1.0 @@ -49,8 +49,6 @@ Requires: python-oslo.serialization >= 1.10.0 Requires: python-oslo.utils >= 3.20.0 Requires: python-pbr >= 2.0.0 -Requires: python-requests >= 2.14.2 -Requires: python-setuptools >= 16.0 Requires: python-simplejson >= 2.2.0 Requires: python-six >= 1.9.0 BuildArch: noarch ++++++ _service ++++++ --- /var/tmp/diff_new_pack.3U7hFW/_old 2017-11-24 10:56:04.944752707 +0100 +++ /var/tmp/diff_new_pack.3U7hFW/_new 2017-11-24 10:56:04.944752707 +0100 @@ -1,8 +1,8 @@ <services> <service mode="disabled" name="renderspec"> - <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/openstack/python-novaclient/python-novaclient.spec.j2</param> + <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/master/openstack/python-novaclient/python-novaclient.spec.j2</param> <param name="output-name">python-novaclient.spec</param> - <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/global-requirements.txt</param> + <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/master/requirements.txt</param> <param name="changelog-email">[email protected]</param> <param name="changelog-provider">gh,openstack,python-novaclient</param> </service> ++++++ python-novaclient-9.1.0.tar.gz -> python-novaclient-9.1.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-9.1.0/ChangeLog new/python-novaclient-9.1.1/ChangeLog --- old/python-novaclient-9.1.0/ChangeLog 2017-07-27 22:57:05.000000000 +0200 +++ new/python-novaclient-9.1.1/ChangeLog 2017-10-04 14:22:47.000000000 +0200 @@ -1,6 +1,13 @@ CHANGES ======= +9.1.1 +----- + +* Allow boot server with multiple nics +* Update UPPER\_CONSTRAINTS\_FILE for stable/pike +* Update .gitreview for stable/pike + 9.1.0 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-9.1.0/PKG-INFO new/python-novaclient-9.1.1/PKG-INFO --- old/python-novaclient-9.1.0/PKG-INFO 2017-07-27 22:57:05.000000000 +0200 +++ new/python-novaclient-9.1.1/PKG-INFO 2017-10-04 14:22:48.000000000 +0200 @@ -1,11 +1,12 @@ Metadata-Version: 1.1 Name: python-novaclient -Version: 9.1.0 +Version: 9.1.1 Summary: Client library for OpenStack Compute API Home-page: http://docs.openstack.org/developer/python-novaclient Author: OpenStack Author-email: [email protected] License: Apache License, Version 2.0 +Description-Content-Type: UNKNOWN Description: ======================== Team and repository tags ======================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-9.1.0/novaclient/tests/unit/v2/test_shell.py new/python-novaclient-9.1.1/novaclient/tests/unit/v2/test_shell.py --- old/python-novaclient-9.1.0/novaclient/tests/unit/v2/test_shell.py 2017-07-27 22:56:01.000000000 +0200 +++ new/python-novaclient-9.1.1/novaclient/tests/unit/v2/test_shell.py 2017-10-04 14:21:19.000000000 +0200 @@ -695,6 +695,29 @@ }, ) + def test_boot_with_multiple_nics(self): + cmd = ('boot --image %s --flavor 1 ' + '--nic net-id=net_a,v4-fixed-ip=10.0.0.1 ' + '--nic net-id=net_b some-server' % + FAKE_UUID_1) + self.run_command(cmd) + self.assert_called_anytime( + 'POST', '/servers', + { + 'server': { + 'flavorRef': '1', + 'name': 'some-server', + 'imageRef': FAKE_UUID_1, + 'min_count': 1, + 'max_count': 1, + 'networks': [ + {'uuid': 'net_a', 'fixed_ip': '10.0.0.1'}, + {'uuid': 'net_b'} + ], + }, + }, + ) + def test_boot_nics_with_tag(self): cmd = ('boot --image %s --flavor 1 ' '--nic net-id=a=c,v4-fixed-ip=10.0.0.1,tag=foo some-server' % diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-9.1.0/novaclient/v2/shell.py new/python-novaclient-9.1.1/novaclient/v2/shell.py --- old/python-novaclient-9.1.0/novaclient/v2/shell.py 2017-07-27 22:56:02.000000000 +0200 +++ new/python-novaclient-9.1.1/novaclient/v2/shell.py 2017-10-04 14:21:20.000000000 +0200 @@ -268,12 +268,11 @@ supports_auto_alloc = cs.api_version >= api_versions.APIVersion('2.37') supports_nic_tags = _supports_nic_tags(cs) - nic_info = {"net-id": "", "v4-fixed-ip": "", "v6-fixed-ip": "", - "port-id": "", "net-name": ""} + nic_keys = {'net-id', 'v4-fixed-ip', 'v6-fixed-ip', 'port-id', 'net-name'} if supports_auto_alloc and supports_nic_tags: # API version >= 2.42 - nic_info.update({"tag": ""}) + nic_keys.add('tag') err_msg = (_("Invalid nic argument '%s'. Nic arguments must be of " "the form --nic <auto,none,net-id=net-uuid," "net-name=network-name,v4-fixed-ip=ip-addr," @@ -292,7 +291,7 @@ "be used with any other --nic value.")) elif not supports_auto_alloc and supports_nic_tags: # 2.36 >= API version >= 2.32 - nic_info.update({"tag": ""}) + nic_keys.add('tag') err_msg = (_("Invalid nic argument '%s'. Nic arguments must be of " "the form --nic <net-id=net-uuid," "net-name=network-name,v4-fixed-ip=ip-addr," @@ -310,6 +309,7 @@ auto_or_none = False nics = [] for nic_str in args.nics: + nic_info = {} nic_info_set = False for kv_str in nic_str.split(","): if auto_or_none: @@ -341,13 +341,13 @@ except ValueError: raise exceptions.CommandError(err_msg % nic_str) - if k in nic_info: + if k in nic_keys: # if user has given a net-name resolve it to network ID if k == 'net-name': k = 'net-id' v = _find_network_id(cs, v) # if some argument was given multiple times - if nic_info[k]: + if k in nic_info: raise exceptions.CommandError(err_msg % nic_str) nic_info[k] = v nic_info_set = True @@ -357,15 +357,15 @@ if auto_or_none: continue - if nic_info['v4-fixed-ip'] and not netutils.is_valid_ipv4( + if 'v4-fixed-ip' in nic_info and not netutils.is_valid_ipv4( nic_info['v4-fixed-ip']): raise exceptions.CommandError(_("Invalid ipv4 address.")) - if nic_info['v6-fixed-ip'] and not netutils.is_valid_ipv6( + if 'v6-fixed-ip' in nic_info and not netutils.is_valid_ipv6( nic_info['v6-fixed-ip']): raise exceptions.CommandError(_("Invalid ipv6 address.")) - if bool(nic_info['net-id']) == bool(nic_info['port-id']): + if bool(nic_info.get('net-id')) == bool(nic_info.get('port-id')): raise exceptions.CommandError(err_msg % nic_str) nics.append(nic_info) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-9.1.0/python_novaclient.egg-info/PKG-INFO new/python-novaclient-9.1.1/python_novaclient.egg-info/PKG-INFO --- old/python-novaclient-9.1.0/python_novaclient.egg-info/PKG-INFO 2017-07-27 22:57:05.000000000 +0200 +++ new/python-novaclient-9.1.1/python_novaclient.egg-info/PKG-INFO 2017-10-04 14:22:47.000000000 +0200 @@ -1,11 +1,12 @@ Metadata-Version: 1.1 Name: python-novaclient -Version: 9.1.0 +Version: 9.1.1 Summary: Client library for OpenStack Compute API Home-page: http://docs.openstack.org/developer/python-novaclient Author: OpenStack Author-email: [email protected] License: Apache License, Version 2.0 +Description-Content-Type: UNKNOWN Description: ======================== Team and repository tags ======================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-9.1.0/python_novaclient.egg-info/SOURCES.txt new/python-novaclient-9.1.1/python_novaclient.egg-info/SOURCES.txt --- old/python-novaclient-9.1.0/python_novaclient.egg-info/SOURCES.txt 2017-07-27 22:57:05.000000000 +0200 +++ new/python-novaclient-9.1.1/python_novaclient.egg-info/SOURCES.txt 2017-10-04 14:22:48.000000000 +0200 @@ -211,6 +211,7 @@ releasenotes/notes/deprecate_cell_name_arg-eb34cb7c43cfcb89.yaml releasenotes/notes/deprecate_contrib_extensions-0ec70c070b09eedb.yaml releasenotes/notes/drop-deprecated-aggregate-update-args-17bd019f4be34b18.yaml +releasenotes/notes/fix-booting-with-multiple-nics-c6e5885b948d35ba.yaml releasenotes/notes/fix-tag-attribute-disappearing-25483a80f548ef35.yaml releasenotes/notes/fix-token-auth-6c48c63a759f51d5.yaml releasenotes/notes/fixed-ListExtResource-given-in-place-of-ListExtManager-a759a27079d16a44.yaml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-9.1.0/python_novaclient.egg-info/pbr.json new/python-novaclient-9.1.1/python_novaclient.egg-info/pbr.json --- old/python-novaclient-9.1.0/python_novaclient.egg-info/pbr.json 2017-07-27 22:57:05.000000000 +0200 +++ new/python-novaclient-9.1.1/python_novaclient.egg-info/pbr.json 2017-10-04 14:22:47.000000000 +0200 @@ -1 +1 @@ -{"git_version": "0a53d19", "is_release": true} \ No newline at end of file +{"git_version": "a1c0074", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-9.1.0/releasenotes/notes/fix-booting-with-multiple-nics-c6e5885b948d35ba.yaml new/python-novaclient-9.1.1/releasenotes/notes/fix-booting-with-multiple-nics-c6e5885b948d35ba.yaml --- old/python-novaclient-9.1.0/releasenotes/notes/fix-booting-with-multiple-nics-c6e5885b948d35ba.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/python-novaclient-9.1.1/releasenotes/notes/fix-booting-with-multiple-nics-c6e5885b948d35ba.yaml 2017-10-04 14:21:19.000000000 +0200 @@ -0,0 +1,4 @@ +--- +fixes: + - Fix an ability to boot server with multiple nics which was broken with + microversion 2.42 (fix tag attribute disappearing). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-9.1.0/tox.ini new/python-novaclient-9.1.1/tox.ini --- old/python-novaclient-9.1.0/tox.ini 2017-07-27 22:56:01.000000000 +0200 +++ new/python-novaclient-9.1.1/tox.ini 2017-10-04 14:21:20.000000000 +0200 @@ -11,7 +11,7 @@ bash passenv = ZUUL_CACHE_DIR REQUIREMENTS_PIP_LOCATION -install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} +install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/pike} {opts} {packages} setenv = VIRTUAL_ENV={envdir} BRANCH_NAME=master CLIENT_NAME=python-novaclient
