Project

General

Profile

Actions

Feature #9568

closed

Bug #9419: dumpling->firefly upgrade, sending setallochint?

Add test case to test #9419 (ceph wip-9419)

Added by Yuri Weinstein over 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Actions #1

Updated by Yuri Weinstein over 9 years ago

  • Subject changed from Add test case to test wip-9419 to Add test case to test #9419 (ceph wip-9419)
Actions #2

Updated by Yuri Weinstein over 9 years ago

  • Status changed from In Progress to 7

Tests case:

0-cluster / start.yaml

overrides:
  ceph:
    conf:
      mon:
        mon warn on legacy crush tunables: false
    log-whitelist:
      - scrub mismatch
      - ScrubResult
roles:
- - mon.a
  - mds.a
  - osd.0
  - osd.1
- - mon.b
  - mon.c
  - osd.2
  - osd.3
- - client.0
  - client.1

1-install-dumpling / dumpling.yaml

tasks:
- install:
   branch: dumpling
- print: "**** done dumpling" 
- ceph:
   fs: xfs

2-giant-upgrade / giant.yaml

tasks:
   - install.upgrade:
       client.0:
   # client.1 will be upgraded as well as it's on the same host as client.0
   - print: "**** done install.upgrade on clinet.0 and client.1" 
   #- ceph.restart:
   - install.upgrade:
       mon.a:
       mon.b:
   #    osd.0:
   #    osd.1:
   #    osd.2:
   #- ceph.restart: [mon.a, mon.b, mon.c, mds.a, osd.0, osd.1, osd.2, osd.3]
   - print: "**** done install.upgrade on mon.a and mon.b same host as ods.0, osd.1, osd.2" 
   - ceph.restart: 
       daemons: [osd.0, osd.1, osd.2]
   - print: "**** done restart" 
   - sequential:
      - workload
   - print: "**** done workload" 

3-workload / test_rbd_python.yaml

workload:
  sequential:
  - workunit:
#      branch: dumpling
      clients:
        client.0:
        - rbd/test_librbd_python.sh
  - print: "**** done rbd/test_librbd_python.sh" 
Actions #3

Updated by Yuri Weinstein over 9 years ago

  • Status changed from 7 to Resolved
Actions #4

Updated by Tamilarasi muthamizhan over 9 years ago

this seems to require clients upgraded first running workloads against upgraded monitors and mixed versions of osds, so the config file should include something like,


tasks:
overrides:
  ceph:
    conf:
      mon:
        mon warn on legacy crush tunables: false
    log-whitelist:
      - scrub mismatch
      - ScrubResult
roles:
- - mon.a
  - mds.a
  - osd.0
  - osd.1
- - mon.b
  - mon.c
  - osd.2
  - osd.3
- - client.0

tasks:
- install:
   branch: dumpling
- print: "**** done dumpling" 
- ceph:
   fs: xfs
- install.upgrade:
    client.0:
- install.upgrade:
    mon.a:
    mon.b:
- ceph.restart: [mon.a, mon.b, mon.c, mds.a, osd.0, osd.1]
- workunit:
    branch: firefly
      clients:
        client.0:
        - rbd/test_librbd_python.sh

Actions #5

Updated by Yuri Weinstein over 9 years ago

This is done an a new case was added - PR https://github.com/ceph/ceph-qa-suite/pull/198

Actions #6

Updated by Loïc Dachary about 9 years ago

  • Target version deleted (sprint13)
Actions

Also available in: Atom PDF