Permalink
Commits on Sep 28, 2016
  1. Remove ovo[fixtures] dependency from tox.ini

    Looks like we should now be able to add oslo.versionedobjects[fixtures]
    to test-requirements.txt and remove it from tox.ini, so this commit does
    that.
    
    Change-Id: I420ea16d8ad6d883e7c2c8de80f912ea35500367
    dulek committed Jul 8, 2016
  2. extract_host: Handle empty host string input

    This fixes an HTTP 500 error caused by the assumption
    that this field is always populated for a volume.
    
    Closes-Bug: #1628536
    
    Change-Id: I19df26c37c03f8220fb3d87395f32b5ddef6bf9d
    eharney committed Sep 28, 2016
  3. Remove dead code - replication RPC APIs

    The REST APIs for promote_replica and reenable_replication were removed
    in If862bcd18515098639f94a8294a8e44e1358c52a with implementation of
    replication V2.1. Some code was left behind and now can be considered
    dead. This commit removes it.
    
    This should be safe from upgradeability point of view as we've deleted
    the APIs back in Mitaka and we're supporting backward compatibility with
    only one previous release.
    
    Changes in the drivers are left for the driver maintainers.
    
    Change-Id: Ia7dfcaa7601176ecb3a4b19bb59f6d9329e62635
    Closes-Bug: 1620001
    dulek committed Sep 5, 2016
  4. Add 'replication_targets' and 'display_name' in API docs

    'replication_targets' is always returned in Response of GET/v2/
    {tenant_id}/capabilities/{hostname} API, but it is not written
    in either Response parameters table or JSON example.
    
    'display_name' is listed in JSON example but not described in
    Response parameter table.
    
    This patch adds the above two missing information.
    
    Change-Id: Ib3bf54df7c5c400cfec64dd9c7df136c87cd6376
    Closes-Bug: #1603306
    LujinLuo committed with LujinLuo Sep 28, 2016
  5. Imported Translations from Zanata

    For more information about this automatic import see:
    https://wiki.openstack.org/wiki/Translations/Infrastructure
    
    Change-Id: I11dcb998b62321e5032e5d7ed16eef04a759b694
    OpenStack Proposal Bot committed Sep 28, 2016
  6. OVO: OPTIONAL_FIELDS should be moved inside the OVO

    In working patch 251989, Michal Dulko points out that
    all the OVOs should have OPTIONAL_FIELDS inside object.
    
    This patch will fix the issue in OVO, group_type.
    
    Now that the OPTIONAL_FIELDS is part of the class definition,
    _from_db_object should no longer be a static method,
    but should be a class method.
    
    Change-Id: I619312761e92bc3e12d992657b7ad88331cdb060
    XinliGuan committed Sep 28, 2016
  7. OPTIONAL_FIELDS should be inside OVO object group_snapshot

    In working patch 251989, Michal Dulko points out that
    all the OVOs should have OPTIONAL_FIELDS inside object.
    
    This patch will fix the issue in OVO, group.
    
    Now that the OPTIONAL_FIELDS is part of the class definition,
    _from_db_object should no longer be a static method,
    but should be a classmethod.
    
    Change-Id: I623bd300d418938bd212418a574d2b4d8082ea08
    XinliGuan committed Sep 28, 2016
  8. Moving the OPTIONAL_FIELDS inside the OVO object group

    In working patch 251989, Michal Dulko points out that
    all the OVOs should have OPTIONAL_FIELDS inside object.
    
    This patch will fix the issue in OVO, group.
    
    Change-Id: Icdedf273333abefa5ce6daf81e7a94e0308c1a18
    XinliGuan committed Sep 28, 2016
Commits on Sep 27, 2016
  1. Updated from global requirements

    Change-Id: I97ab435b5234e5a240b02e0874605463188375bd
    OpenStack Proposal Bot committed Sep 27, 2016
  2. Cleanup lintstack exceptions related to objects

    Pylint doesn't like our cinder.objects namespace that is populated
    dynamically and shows numerous errors for non-existing members of that
    namespace. To fight this we've added multiple pylint exceptions like
    "Module 'cinder.objects' has no 'Backup' member". New additions were
    needed in case of new objects introduction or first usages of them.
    
    This commit switches these exceptions to a regexp to make sure no new
    additions will be needed in the future. Furthermore it moves some
    non-object related messages into a general exception list.
    
    Change-Id: I6252d3447f8793d4acd666265a59887e637ce614
    dulek committed Sep 27, 2016
  3. Imported Translations from Zanata

    For more information about this automatic import see:
    https://wiki.openstack.org/wiki/Translations/Infrastructure
    
    Change-Id: If1281271ae88a4efd025d85b949c3b1498bd8026
    OpenStack Proposal Bot committed Sep 27, 2016
Commits on Sep 26, 2016
  1. Merge "Remove placeholder tempest test"

    Jenkins committed with openstack-gerrit Sep 26, 2016
  2. Remove placeholder tempest test

    We don't really need this placeholder here now,
    test_volume_unicode.CinderUnicodeTest is probably a
    sufficient test for this role.
    
    Change-Id: I9dd58c05d08b6bcf2d8880e7856f679f57b0849c
    eharney committed Sep 26, 2016
  3. Allow attribute lazy loading in VolumeType OVO

    VolumeType OVO class does not allow lazy loading of attributes, which is
    usually not a problem if you are loading the volume type using
    get_by_id, but is a problem if you load for example a list of volumes
    and then go to their volume_type.extra_specs, as this will raise an
    error because extra_specs cannot be retrieved.
    
    This patch changes VolumeType OVO class to allow lazy loading all
    optional fields.
    
    Change-Id: Ief143a6c981cec4bdb21888776d610aa9d5dc9d8
    Akrog committed Sep 7, 2016
  4. Merge "Imported Translations from Zanata"

    Jenkins committed with openstack-gerrit Sep 26, 2016
  5. Merge "Mark v1 as DEPRECATED in devref"

    Jenkins committed with openstack-gerrit Sep 26, 2016
  6. Provide cfg to ignore lvm descriptor leak warnings

    For some reason the leaded descriptor warning message coming
    from LVM is causing Cinder to fail startup and it appears to be
    masking out the vg response in vgs calls.
    
    We typically don't hit this, but due to the nature of Kolla and
    I guess going through the different processes via the containers
    this gets logged every time vgs is called.  Eric Harney rightly
    pointed out that rather than use exception handling and such
    that we should use the LVM env variable mechanism we already have
    in place in Cinder.
    
    For now this patch added a new config option to the LVM driver:
        lvm_suppress_fd_warnings=True|False
    
    This is useful for K8 deployments that have an indirect call to the
    LVM cmds which results in failures.
    
    For those that are interested, this can also be done outside of
    cinder by setting the silence_logs variable in lvm.conf
    
    This is made optional as a config flag to avoid any breakage for
    existing deployments during upgrade.
    
    Change-Id: I85612fa49475beea58d30330c8fe8352a2f91123
    Closes-Bug: #1619701
    j-griffith committed with Akrog Sep 2, 2016
  7. Imported Translations from Zanata

    For more information about this automatic import see:
    https://wiki.openstack.org/wiki/Translations/Infrastructure
    
    Change-Id: Ia72978fca72e460fedd4e156a6cdc42413dc3f3a
    OpenStack Proposal Bot committed Sep 26, 2016
Commits on Sep 25, 2016
  1. Imported Translations from Zanata

    For more information about this automatic import see:
    https://wiki.openstack.org/wiki/Translations/Infrastructure
    
    Change-Id: I861f1232c9e5c89dd5826fbf15b2120059c40fc5
    OpenStack Proposal Bot committed Sep 25, 2016
Commits on Sep 24, 2016
  1. Imported Translations from Zanata

    For more information about this automatic import see:
    https://wiki.openstack.org/wiki/Translations/Infrastructure
    
    Change-Id: Ibe3116355a8b2f02ed2c588f745e9e1c73080aec
    OpenStack Proposal Bot committed Sep 24, 2016