Cinder-backup can not delete backup by Name

Bug #1440087 reported by Kyrylo Romanenko
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
Medium
Anton Arefiev

Bug Description

Cinder-backup can not delete backup by Name.

Steps:
[root@node-1 ~]# cinder backup-delete BACKUP1GB1
ERROR: list() got an unexpected keyword argument 'search_opts'

Expected:
Backup should be deleted being specified by Name without any messages.

Environment:
Juno on CentOS 6.5, Multi-node with HA
1 controller+ceph-osd, 1 compute+ceph-osd, 1 ceph-osd
Ceph for Cinder and Glance.

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "6.1"
  api: "1.0"
  build_number: "260"
  build_id: "2015-03-31_22-54-44"
  nailgun_sha: "51ddbe0a2e379e82af531b1c6d45fd386d2f894e"
  python-fuelclient_sha: "9b0b6ab2f09ff75445550b7210104e21df5d8cd6"
  astute_sha: "7292fc2a673cb1c32a688a46fd4836ca0500a957"
  fuellib_sha: "27459a89cdac078ec4046a442a11d750c5eccc2e"
  ostf_sha: "1c7f799cb0e159737d1f910b13e4073b16d1eb8c"
  fuelmain_sha: "178812b1971a900c49a8afc1688afd7475a6ffbb"

Tags: cinder
Changed in mos:
milestone: none → 6.1
assignee: nobody → MOS Cinder (mos-cinder)
Revision history for this message
Anton Arefiev (aarefiev) wrote :

Fix https://review.openstack.org/#/c/74880/ will be able in next cinderclient release.

Changed in mos:
status: New → Confirmed
importance: Undecided → Medium
Ivan Kolodyazhny (e0ne)
tags: added: cinder
Ivan Kolodyazhny (e0ne)
Changed in mos:
assignee: MOS Cinder (mos-cinder) → Anton Arefiev (aarefiev)
Ivan Kolodyazhny (e0ne)
Changed in mos:
status: Confirmed → In Progress
Anton Arefiev (aarefiev)
Changed in mos:
status: In Progress → Fix Committed
Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :

Verified on build info:
VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "6.1"
  openstack_version: "2014.2-6.1"
  api: "1.0"
  build_number: "310"
  build_id: "2015-04-13_22-54-31"
  nailgun_sha: "d22c074dec091e5ddd8ea3003c37665058303cd5"
  python-fuelclient_sha: "9208ff4a08dcb674ce2df132399a5aa3ddfac21c"
  astute_sha: "d96a80b63198a578b2c159edbd76048819039eb0"
  fuellib_sha: "8b80657e9ceed8d59c2dff1c11e1481c7e69380e"
  ostf_sha: "c2a76a60ec4ebbd78e508216c2e12787bf25e423"
  fuelmain_sha: "335d3ed09ed79bd37e1f7a90442c4831c8845582"

Changed in mos:
status: Fix Committed → Fix Released
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/python-cinderclient (openstack-ci/fuel-7.0/2015.1.0)

Fix proposed to branch: openstack-ci/fuel-7.0/2015.1.0
Change author: seungjin <email address hidden>
Review: https://review.fuel-infra.org/8295

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/python-cinderclient (openstack-ci/fuel-7.0/2015.1.0)

Reviewed: https://review.fuel-infra.org/8295
Submitter: mos-infra-ci <>
Branch: openstack-ci/fuel-7.0/2015.1.0

Commit: 7a7f4b98e1e1e68676130739db5a2373e9deae5a
Author: seungjin <email address hidden>
Date: Fri Jul 17 17:24:32 2015

Fix 'search_opts' error with backup delete command

The following error message is yield when we try to
backup volume which is not present.

ERROR: list() got an unexpected keyword argument 'search_opts'

This is from findall() method in the
cinderclient.base.ManagerWithFind class.

When cinderclient get a specific resource, it use the findall() method.

The error will yields which list() in
VolumeEncryptionTypeManager did not have.

Change-Id: Iffe568c6d2de41b8e24658f3a54f2861e2f7db31
Closes-Bug: #1440082
Closes-Bug: #1440087

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.