[Bug 1447858] Re: OSD weight should be the TB capacity of the drive

James Page james.page at ubuntu.com
Fri Sep 4 08:36:05 UTC 2015


Chris - can you confirm that this is actually a problem in a unbalanced
server configuration? - I think things should be working OK already.

** Also affects: ceph (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: ceph (Ubuntu)
       Status: New => Invalid

** Changed in: ceph (Ubuntu)
       Status: Invalid => New

** Changed in: ceph-osd (Juju Charms Collection)
       Status: New => Invalid

** Changed in: ceph (Juju Charms Collection)
       Status: New => Invalid

** Changed in: ceph (Ubuntu)
       Status: New => Incomplete

** Changed in: ceph (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/1447858

Title:
  OSD weight should be the TB capacity of the drive

Status in ceph package in Ubuntu:
  Incomplete
Status in ceph package in Juju Charms Collection:
  Invalid
Status in ceph-osd package in Juju Charms Collection:
  Invalid

Bug description:
  I got a test cluster up and running today and it shows the following
  OSD tree:

  chris at chris-ThinkPad-T410s:~$ ceph osd tree
  # id	weight	type name	up/down	reweight
  -1	0.9899	root default
  -2	0.33		host chris-local-machine-22
  0	0.11			osd.0	up	1	
  1	0.11			osd.1	up	1	
  4	0.11			osd.4	up	1	
  -3	0.33		host chris-local-machine-21
  3	0.11			osd.3	up	1	
  5	0.11			osd.5	up	1	
  8	0.11			osd.8	up	1	
  -4	0.33		host chris-local-machine-20
  2	0.11			osd.2	up	1	
  6	0.11			osd.6	up	1	
  7	0.11			osd.7	up	1	

  Everything looks to be evenly weighed.  That's fine for a cluster that
  has the same capacity in every server.  However we could enhance this
  by assigning a weight point of 1 for every TB of disk capacity on the
  server.  With that in place Ceph will balance the servers even if the
  capacity is not even.

  I'm not entirely sure but I think the total weight of all the ceph osd
  servers needs to add up to 1.00.  I'll double check on that.

  We could add this in with a statvfs call to the device.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1447858/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list