1. 24 Feb, 2022 3 commits
  2. 17 Feb, 2022 1 commit
  3. 11 Feb, 2022 1 commit
  4. 08 Feb, 2022 1 commit
    • Takashi Kajinami's avatar
      Add Python 3 only classifier · ef4991dc
      Takashi Kajinami authored
      Python 2 support was removed during Ussuri cycle. This change adds
      the classifier to clearly state that only Python 3 is supported.
      
      This allows us to keep the setup.cfg file in cinder and the one in
      cinderclient more consistent.
      
      Change-Id: I5ad342f2b60348a0ba79c95415fdf1ae39714558
      ef4991dc
  5. 15 Dec, 2021 1 commit
  6. 19 Nov, 2021 1 commit
  7. 09 Nov, 2021 1 commit
  8. 08 Nov, 2021 1 commit
    • whoami-rajat's avatar
      Improve help text of volume create command · e268778d
      whoami-rajat authored
      This patch adds information about whichever default type is set for
      API will be used during volume creation if we don't provide a
      volume type in volume create command.
      This patch also improves the help text of `cinder type-default` command.
      
      Change-Id: I0c437b2c4f02c12d17c04719cbeff8521647ae15
      e268778d
  9. 15 Oct, 2021 1 commit
  10. 23 Sep, 2021 1 commit
  11. 15 Sep, 2021 1 commit
  12. 03 Sep, 2021 2 commits
  13. 02 Sep, 2021 3 commits
    • Brian Rosmaita's avatar
      Prepare for Xena cinderclient release · fab6ddf3
      Brian Rosmaita authored
      Includes prelude plus a note for change I524490aa988f.
      
      Change-Id: I233faad57c9708cae9544c965fd0d94abdf6d684
      fab6ddf3
    • Brian Rosmaita's avatar
      Support Block Storage API mv 3.66 · c3c15f6c
      Brian Rosmaita authored
      Block Storage API mv 3.66 enables snapshots of in-use volumes
      without requiring a 'force' flag.  For backward compatibility,
      the API silently accepts force=true, even though the 'force' flag
      is considered invalid for that call.  That behavior is replicated
      in the client, where --force with a true value is silently accepted.
      The --force option is not advertised in the shell and an option
      value that doesn't evaluate to true raises an UnsupportedAttribute
      error.  Similar behavior from the v3 Snapshot class, except it
      raises a ValueError under similar circumstances.
      
      Change-Id: I7408d0e3a5ed7f4cbcaf65cf3434ad60aaed511d
      c3c15f6c
    • Brian Rosmaita's avatar
      Add W503 to flake8 ignores · fca89071
      Brian Rosmaita authored
      Cinder ignores both W503 and W504, and it's really annoying that
      cinderclient is not consistent with cinder about this.
      
      Change-Id: Iab7ff2bfcb61fd5d8a7ee25e245cebe7a50c46b1
      fca89071
  14. 01 Sep, 2021 2 commits
  15. 30 Aug, 2021 4 commits
  16. 26 Aug, 2021 1 commit
    • dengzhaosen's avatar
      Remove the unused tool scripts · 5bf0a663
      dengzhaosen authored
      We support Python 3.6 as a minimum now, making these checks no-ops.
      These file is unused in current project and remove them.
      
      Change-Id: Ie5cbd9653375deeb523190d9c499f0c89c035d2e
      5bf0a663
  17. 25 Aug, 2021 1 commit
    • Gorka Eguileor's avatar
      Add consumes quota field support · f9490800
      Gorka Eguileor authored
      Cinder microversion v3.65 adds consumes_quota key to volume and
      snapshots as a way to differentiate between use generated resources and
      temporary ones.
      
      This patch adds support for this microversion and presents the
      consumes_quota field when the server sends it (which only happens when
      we request this microversion).
      
      Change-Id: I524490aa988fa4d654bfa8050d89cf99ce50bb4b
      Depends-On: I655a47fc75ddc11caf1defe984d9a66a9ad5a2e7
      Implements: blueprint temp-resources
      f9490800
  18. 24 Aug, 2021 1 commit
  19. 05 Aug, 2021 2 commits
  20. 04 Aug, 2021 1 commit
  21. 30 Jul, 2021 1 commit
    • Brian Rosmaita's avatar
      Unset tempest.lib timeout in functional tests · d04ded6a
      Brian Rosmaita authored
      The test_cli.CinderBackupTests.test_backup_create_and_delete test
      is hitting timeout errors in the python-cinderclient-functional-py36
      zuul job.  This is happening because it's inheriting the
      OS_TEST_TIMEOUT value of 60 from the base testenv, and that value is
      being used by the tempest.lib class we inherit from as a timeout for
      each test.  This is a problem for test_backup_create_and_delete
      because it creates a volume, waits for available, creates a backup,
      waits for available, deletes the volume, waits for deletion, deletes
      the backup, waits for deletion.
      
      Our functional tests have their own timeout handling, so turn off
      the tempest.lib timeout and use ours.  An alternative to turning it
      off is to set it at a value that respects our timeout for our longest
      test, which would be:
      - time-to-available: 120 sec (x2)
      - time-to-deleted: 60 sec (x2)
      that is, 360 sec.
      
      Change-Id: I33399b4c094af2cc059da6e332f4c0a91e6ab57e
      d04ded6a
  22. 20 Jul, 2021 3 commits
  23. 14 Jul, 2021 2 commits
    • Brian Rosmaita's avatar
      Remove v2 classes · cb523525
      Brian Rosmaita authored
      Remove all cinderclient.v2 classes, mostly incorporating them into
      their v3 counterparts and updating the tests and test fixtures.
      
      Depends-on: https://review.opendev.org/c/openstack/horizon/+/800814
      
      Change-Id: I335db5c1799edb2273bf8bfc9e1bc9de404a4ba5
      cb523525
    • Rajat Dhasmana's avatar
      Make instance_uuid optional in attachment create · d714249c
      Rajat Dhasmana authored
      Cinder and cinderclient assumes an attachment create request will
      always contain instance_uuid. This is not true when glance calls
      cinder for attachment in glance cinder configuration.
      This patch (along with the cinder patch) make the instance_uuid
      optional and allow glance to do attachments without passing
      instance_uuid.
      
      Change-Id: Ifbaca4aa87d890bc5130069638d42665b914b378
      d714249c
  24. 13 Jul, 2021 1 commit
    • Brian Rosmaita's avatar
      Remove v2 support from the shell · 3502a559
      Brian Rosmaita authored
      Also removes the v2 support from the generic client and restores a
      skipped test.
      
      Additionally, the cinderclient.tests.v2.test_availablity_zone module
      depends on the v2.shell class, so move that module to v3, update the
      v3 AvailablityZone class, and make appropriate adjustments to the
      tests and test fixtures.
      
      Change-Id: I7a3cca15f5944141d510a75af6684221c297963b
      3502a559
  25. 07 Jul, 2021 1 commit
  26. 01 Jul, 2021 1 commit
  27. 18 Jun, 2021 1 commit