← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1653904] [NEW] type of "stats['replication_enabled']" in "rbd.py" is not correct

 

Public bug reported:

In file cinder/volume/drivers/rbd.py, the type of
stats['replication_enabled'] is not correct.This variable is used in
method  "_update_volume_stats" to report cluster status to scheduler.
Scheduler need this variable a string type when filtering host, but the
current type is boolean. When creating a volume, the scheduler may
report an error.

** Affects: cinder
     Importance: Undecided
     Assignee: Zhao Liqiang (zhoaliqiang2017)
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1653904

Title:
  type of "stats['replication_enabled']" in "rbd.py" is not correct

Status in Cinder:
  New

Bug description:
  In file cinder/volume/drivers/rbd.py, the type of
  stats['replication_enabled'] is not correct.This variable is used in
  method  "_update_volume_stats" to report cluster status to scheduler.
  Scheduler need this variable a string type when filtering host, but
  the current type is boolean. When creating a volume, the scheduler may
  report an error.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1653904/+subscriptions


Follow ups