Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dtroyer/python-openstackclient
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: dtroyer/python-openstackclient
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: stable/stein
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 11 commits
  • 26 files changed
  • 9 contributors

Commits on Mar 22, 2019

  1. Update .gitreview for stable/stein

    Change-Id: Icc67cd81394243683642d8ba8c164453fdd0f997
    openstackadmin committed Mar 22, 2019
    Configuration menu
    Copy the full SHA
    a95a6b6 View commit details
    Browse the repository at this point in the history
  2. Update UPPER_CONSTRAINTS_FILE for stable/stein

    Update the URL to the upper-constraints file to point to the redirect
    rule on releases.openstack.org so that anyone working on this branch
    will switch to the correct upper-constraints list automatically when
    the requirements repository branches.
    
    Until the requirements repository has as stable/stein branch, tests will
    continue to use the upper-constraints list on master.
    
    Change-Id: I15d679b0f432c219d48b6e00bd0fe1cedd9620eb
    openstackadmin committed Mar 22, 2019
    Configuration menu
    Copy the full SHA
    5e1ae22 View commit details
    Browse the repository at this point in the history
  3. Fix: set invalid None project_id on range creation

    "project_id" attribute should not be set to None on shared network
    segment range creation since it is not a valid string type which is
    required for the API.
    
    Change-Id: Ia2bab12e39b4bb7e05ff2acfffb851252c100651
    Story: 2005205
    Task: 29975
    (cherry picked from commit 28c06d0)
    kailun-qin authored and Dean Troyer committed Mar 22, 2019
    Configuration menu
    Copy the full SHA
    b90a5d0 View commit details
    Browse the repository at this point in the history
  4. Fix service discovery in functional tests

    If a required service is not enabled then we skip the test.
    The discovery is done by tests/functional/base.py:is_service_enabled
    but this method is broken, credentials are not passed to the
    'openstack service show' command so every call will fail and every test
    that relies on it will be skipped. This commit fixed that method and
    the issues that popped up when re-enabling tests.
    
    Network segment range:
     - issue where we assumed network-segment-range extension is always
       present
     - issue where we compare integers and string representations of numbers
    
    Subnet:
     - issue where we try to deepcopy an uncopyable object in UnsetSubnet
    
    Change-Id: Id3cc907c1ed2a25b49cf6f4a7233e0401a02383a
    Story: 2005169
    Task: 29908
    (cherry picked from commit 7741347)
    Glenn Van de Water Dean Troyer
    Glenn Van de Water authored and Dean Troyer committed Mar 22, 2019
    Configuration menu
    Copy the full SHA
    8fe4557 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2019

  1. Configuration menu
    Copy the full SHA
    487b748 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2019

  1. OpenDev Migration Patch

    This commit was bulk generated and pushed by the OpenDev sysadmins
    as a part of the Git hosting and code review systems migration
    detailed in these mailing list posts:
    
    http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
    http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html
    
    Attempts have been made to correct repository namespaces and
    hostnames based on simple pattern matching, but it's possible some
    were updated incorrectly or missed entirely. Please reach out to us
    via the contact information listed at https://opendev.org/ with any
    questions you may have.
    OpenDev Sysadmins
    OpenDev Sysadmins committed Apr 19, 2019
    Configuration menu
    Copy the full SHA
    97da13d View commit details
    Browse the repository at this point in the history

Commits on May 16, 2019

  1. Stable branch combination fix

    We have two dueling problems in the stable branches that have to be
    fixed at the same time:
    
    * bandit 1.6.0
    * sphinx 2.0
    
    This is a squash of the two cherry-picks from master:
    
    ----------
    Blacklist Bandit 1.6.0 due to directory exclusion bug
    
    Bandit 1.6.0 introduces a regression[0] with the -x option, a fix
    is expected to be included in 1.6.1 soon.
    
    [0] PyCQA/bandit#488
    [1] PyCQA/bandit#489
    
    Signed-off-by: Dean Troyer <dtroyer@gmail.com>
    (cherry picked from commit 6385d64)
    
    ----------
    
    Update sphinx requirement.
    
    Sphinx 2.0 no longer works on python 2.7, start cappingit there as well.
    
    (cherry picked from commit f179117)
    
    Change-Id: I0076645d9e1a2429efce39f51ceea679fa6c13cb
    Dean Troyer
    Dean Troyer committed May 16, 2019
    Configuration menu
    Copy the full SHA
    b507f60 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2019

  1. Fix bug in endpoint group deletion

    There is a typo in the endpoint group deletion, due to this you
    can't remove endpoint groups once assigned. I am adding also the
    unit tests to avoid this kind of issues in the future
    
    Task: 30640
    Story: 2005521
    Change-Id: Ie938f2c9894bb39b4c0ed1f7aa3a6a751a303058
    (cherry picked from commit 04e03b2)
    josecastroleon authored and mgariepy committed Jun 27, 2019
    Configuration menu
    Copy the full SHA
    fd3a94d View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2019

  1. Fix BFV server list handling with --name-lookup-one-by-one

    When the --name-lookup-one-by-one option passed to the 'server list'
    command, the image and flavor names will be looked up for each
    server being listed instead of fetching all image/flavor names.
    
    The current code assumes all servers have an image attribute, but
    servers booted from volumes have no image, so the following error is
    raised when listing BFV servers with --name-lookup-one-by-one:
    
      AttributeError: ('unicode'|'str') object has no attribute 'get'
    
    The error occurs when the code attempts server.image.get('id').
    
    This fixes the --name-lookup-one-by-one code not to assume an image
    for a server. The unit tests for 'server list' have also been
    robustified to feature one BFV server to enhance our test coverage.
    
    Story: #2006063
    Task: #34777
    
    Change-Id: I312c971346c7ded93f6fcaa515098554b8580295
    (cherry picked from commit bfc34e1)
    melwitt authored and mriedem committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    83359fb View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2019

  1. Fix compute service set handling for 2.53+

    With compute API microversion 2.53 there is a single
    PUT /os-services/{service_id} API which takes the service
    id as a UUID. Since the openstack compute service set
    command only takes --host and --service (binary) to identify
    the service, this change checks if 2.53 or greater is being
    used and if so, looks up the service by host and binary and
    calls the appropriate methods in novaclient.
    
    If the command cannot uniquely identify a compute service
    with the given host and binary, an error is raised. A future
    change could add an --id option to be used with 2.53+ to
    pass the service id (as UUID) directly to avoid the host/binary
    filtering.
    
    Change-Id: I868e0868e8eb17e7e34eef3d2d58dceedd29c2b0
    Story: 2005349
    Task: 30302
    (cherry picked from commit 4bd53dc)
    mriedem committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    100d34c View commit details
    Browse the repository at this point in the history
  2. Document 2.53 behavior for compute service list/delete

    With compute API microversion 2.53, nova-compute services
    can only be deleted with the ID as a UUID to uniquely identify
    the service in a multi-cell deployment. This documents that for
    the "compute service delete <service>" argument. The description
    of the "compute service list" command is also updated to mention
    that the ID can be retrieved as a UUID using 2.53 or greater.
    
    Change-Id: If7d4a27c0aaef588bcd77dd9edddec1e535fbf31
    Story: 2005349
    Task: 30302
    (cherry picked from commit 1557afb)
    mriedem authored and Elod Illes committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    111d6a9 View commit details
    Browse the repository at this point in the history
Loading