← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1581159] [NEW] ceph testing: parsing osd crush rule dump devstack output with awk is wrong

 

Public bug reported:

We noticed that setting up ceph with 2 replicas fails in the nova live
migration job:

http://logs.openstack.org/73/312773/1/experimental/gate-tempest-dsvm-
multinode-live-migration/c57f6b9/console.html#_2016-05-08_09_18_59_103

jbernard said the awk here needs to use $2:

https://github.com/openstack/devstack-plugin-
ceph/blob/master/devstack/lib/ceph#L318

https://github.com/openstack/nova/blob/master/nova/tests/live_migration/hooks/ceph.sh#L109

The reason the devstack ceph plugin job doesn't fail is because it
defaults to using 1 replica, so we don't get into that block, but the
nova live migration job uses 2 replicas, so we get into that code and it
fails.

** Affects: devstack-plugin-ceph
     Importance: Undecided
         Status: Confirmed

** Affects: nova
     Importance: High
         Status: Triaged


** Tags: ceph live-migration testing

** Also affects: nova
   Importance: Undecided
       Status: New

** Changed in: nova
   Importance: Undecided => High

** Changed in: devstack-plugin-ceph
       Status: New => Confirmed

** Changed in: nova
       Status: New => Triaged

** Tags added: ceph live-migration testing

-- 
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/1581159

Title:
  ceph testing: parsing osd crush rule dump devstack output with awk is
  wrong

Status in devstack-plugin-ceph:
  Confirmed
Status in OpenStack Compute (nova):
  Triaged

Bug description:
  We noticed that setting up ceph with 2 replicas fails in the nova live
  migration job:

  http://logs.openstack.org/73/312773/1/experimental/gate-tempest-dsvm-
  multinode-live-migration/c57f6b9/console.html#_2016-05-08_09_18_59_103

  jbernard said the awk here needs to use $2:

  https://github.com/openstack/devstack-plugin-
  ceph/blob/master/devstack/lib/ceph#L318

  https://github.com/openstack/nova/blob/master/nova/tests/live_migration/hooks/ceph.sh#L109

  The reason the devstack ceph plugin job doesn't fail is because it
  defaults to using 1 replica, so we don't get into that block, but the
  nova live migration job uses 2 replicas, so we get into that code and
  it fails.

To manage notifications about this bug go to:
https://bugs.launchpad.net/devstack-plugin-ceph/+bug/1581159/+subscriptions


Follow ups