Project

General

Profile

Bug #8295

"Namespace'' object has no attribute ''cache_pools''" in upgrade:dumpling-x:stress-split-firefly-distro-basic-vps

Added by Yuri Weinstein about 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature:

Description

Upgrade tests failed with this error

Logs are in http://qa-proxy.ceph.com/teuthology/teuthology-2014-05-05_20:35:20-upgrade:dumpling-x:stress-split-firefly-distro-basic-vps/238397/

014-05-05T22:15:11.388 INFO:teuthology.task.rgw:creating data pools
2014-05-05T22:15:11.388 DEBUG:teuthology.orchestra.run:Running [10.214.138.145]: 'ceph osd pool create .rgw.buckets 64 64'
2014-05-05T22:15:12.815 INFO:teuthology.task.thrashosds.thrasher:in_osds:  [4, 2, 3, 1, 5, 0]  out_osds:  [] dead_osds:  [] live_osds:  [2, 3, 0, 4, 1, 5]
2014-05-05T22:15:12.815 INFO:teuthology.task.thrashosds.thrasher:choose_action: min_in 3 min_out 0 min_live 2 min_dead 0
2014-05-05T22:15:12.815 INFO:teuthology.task.thrashosds.thrasher:fixing pg num pool metadata
2014-05-05T22:15:12.815 DEBUG:teuthology.orchestra.run:Running [10.214.138.140]: 'adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage ceph pg dump --format=json'
2014-05-05T22:15:13.062 INFO:teuthology.orchestra.run.err:[10.214.138.140]: dumped all in format json
2014-05-05T22:15:13.117 DEBUG:teuthology.orchestra.run:Running [10.214.138.140]: 'adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage ceph osd pool set metadata pgp_num 154'
2014-05-05T22:15:13.374 INFO:teuthology.orchestra.run.err:[10.214.138.145]: pool '.rgw.buckets' created
2014-05-05T22:15:13.380 ERROR:teuthology.contextutil:Saw exception from nested tasks
Traceback (most recent call last):
  File "/home/teuthworker/teuthology-firefly/teuthology/contextutil.py", line 27, in nested
    vars.append(enter())
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/teuthworker/teuthology-firefly/teuthology/task/rgw.py", line 512, in create_nonregion_pools
    if ctx.rgw.cache_pools:
AttributeError: 'Namespace' object has no attribute 'cache_pools'
2014-05-05T22:15:13.380 INFO:teuthology.task.rgw:Cleaning up apache directories...
2014-05-05T22:15:13.380 DEBUG:teuthology.orchestra.run:Running [10.214.138.145]: 'rm -rf /home/ubuntu/cephtest/apache/tmp.client.0 && rmdir /home/ubuntu/cephtest/apache/htdocs.client.0'
2014-05-05T22:15:13.386 DEBUG:teuthology.orchestra.run:Running [10.214.138.145]: 'rmdir /home/ubuntu/cephtest/apache'
2014-05-05T22:15:13.454 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
  File "/home/teuthworker/teuthology-firefly/teuthology/run_tasks.py", line 41, in run_tasks
    manager.__enter__()
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/teuthworker/teuthology-firefly/teuthology/task/rgw.py", line 805, in task
    with contextutil.nested(*subtasks):
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/teuthworker/teuthology-firefly/teuthology/contextutil.py", line 27, in nested
    vars.append(enter())
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/teuthworker/teuthology-firefly/teuthology/task/rgw.py", line 512, in create_nonregion_pools
    if ctx.rgw.cache_pools:
AttributeError: 'Namespace' object has no attribute 'cache_pools'
archive_path: /var/lib/teuthworker/archive/teuthology-2014-05-05_20:35:20-upgrade:dumpling-x:stress-split-firefly-distro-basic-vps/238397
branch: firefly
description: upgrade/dumpling-x/stress-split/{0-cluster/start.yaml 1-dumpling-install/dumpling.yaml
  2-partial-upgrade/firsthalf.yaml 3-thrash/default.yaml 4-mon/mona.yaml 5-workload/rados_api_tests.yaml
  6-next-mon/monb.yaml 7-workload/rados_api_tests.yaml 8-next-mon/monc.yaml 9-workload/{rados_api_tests.yaml
  rbd-python.yaml rgw-s3tests.yaml snaps-many-objects.yaml} distros/debian_7.0.yaml}
email: null
job_id: '238397'
kernel: &id001
  kdb: true
  sha1: distro
last_in_suite: false
machine_type: vps
name: teuthology-2014-05-05_20:35:20-upgrade:dumpling-x:stress-split-firefly-distro-basic-vps
nuke-on-error: true
os_type: debian
os_version: '7.0'
overrides:
  admin_socket:
    branch: firefly
  ceph:
    conf:
      mon:
        debug mon: 20
        debug ms: 1
        debug paxos: 20
        mon warn on legacy crush tunables: false
      osd:
        debug filestore: 20
        debug journal: 20
        debug ms: 1
        debug osd: 20
    log-whitelist:
    - slow request
    - wrongly marked me down
    - objects unfound and apparently lost
    - log bound mismatch
    sha1: 491cfdb35ddca011bdf3e59f6c51937024389771
  ceph-deploy:
    branch:
      dev: firefly
    conf:
      client:
        log file: /var/log/ceph/ceph-$name.$pid.log
      mon:
        debug mon: 1
        debug ms: 20
        debug paxos: 20
        osd default pool size: 2
  install:
    ceph:
      sha1: 491cfdb35ddca011bdf3e59f6c51937024389771
  s3tests:
    branch: master
  workunit:
    sha1: 491cfdb35ddca011bdf3e59f6c51937024389771
owner: scheduled_teuthology@teuthology
roles:
- - mon.a
  - mon.b
  - mds.a
  - osd.0
  - osd.1
  - osd.2
- - osd.3
  - osd.4
  - osd.5
  - mon.c
- - client.0
suite: upgrade:dumpling-x:stress-split
targets:
  ubuntu@vpm062.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDox+u9v/05ibZT0iPhcnsjekvXF21k8iPBL6FX7r/o4ZOmcOWGgiyJfATDWJyBwl9wfPiY+x8dQfB2gr2cSXhC6W7+ePc0Uq0inXMm20RaMmOE/8gDLCYWVyyqae6p5Gt4futRAwPEF2MLFzIO1ud/f9YUQmSjbU6ka1pZvYu1xQNEkSZFvd6/MP/RloQaqVBAv7oO9YS1v0ANRuAC53wa7LWh/a6I05BlDuvSSxGKXWS50DNVZ77FUVCC4xMdEi8KkZ1yxmjumQUn6MYVR1BzETb2O4S9mPUFNmfK7VawUOv+Oo+hDqHwwXQYC4fj1VX/VLg0yRxQybhgiQv33Y2P
  ubuntu@vpm063.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDcMjcDSxDp9RO3M1Qo+LGA7LS8e+fDY3QstF0EKAA/dGEGKfUG3GfjsGj2QUlhvyIvRtRt4IArCqKgnB9taUB8sI5f/sHVCQhpSW5SPDkY9Z0CGoAj8E9oT+k9actpg4OkJ4q6AY8zPvaIN5odT4foXUZEbe386ompFu7Rda1+11n3ZOGFBkc2dHoQMFMC+t1aoA9gtOnKfi+busfibKI3+UPNgDbW4804kKuSiB8diBs+ZG9bA13gIZVNSVXH1IRyXqOjHewKNHJyIl4PlRT4yDqvZlNzGVMmFBh4fnmRmDy36UgMgxSE4V2gdqd3/Q1LHQWdYGuQo5sJWTnZwMVZ
  ubuntu@vpm066.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8tTUsHOaJdUIqWJ7Q8Rms0D11e8G/QbOVXe44r9Yz5lxK/vOHuyZn7OzBUY3M8mrYGEFC66snO4YW3+08kNBw/Cqc4ZYHrEJnUXxjJjKcizIgr9EznkxAmf6GcHGZIa0SPYQj55dbAWn1uCRlJfZis2Ak1o1eE5/nuCP/bAZ1+E+lgmElyX+4Rruxg/WRPq3t6UNw5+0pSXVjPHfFYTaYX0yrqRMZ3SVS91QO0U9obriYhxWr1nhc/BwxKT/hLw2QSr8YH+kSAlsiu5NoodcvVm9DefaepYVOGU7Sf42aGkbjEcN4qJfMOTSzRw4yzd5bZHSCR9URWMnUK8bveHw/
tasks:
- internal.lock_machines:
  - 3
  - vps
- internal.save_config: null
- internal.check_lock: null
- internal.connect: null
- internal.serialize_remote_roles: null
- internal.check_conflict: null
- internal.check_ceph_data: null
- internal.vm_setup: null
- kernel: *id001
- internal.base: null
- internal.archive: null
- internal.coredump: null
- internal.sudo: null
- internal.syslog: null
- internal.timer: null
- chef: null
- clock.check: null
- install:
    branch: dumpling
- ceph:
    fs: xfs
- install.upgrade:
    osd.0: null
- ceph.restart:
    daemons:
    - osd.0
    - osd.1
    - osd.2
- thrashosds:
    chance_pgnum_grow: 1
    chance_pgpnum_fix: 1
    thrash_primary_affinity: false
    timeout: 1200
- ceph.restart:
    daemons:
    - mon.a
    wait-for-healthy: false
    wait-for-osds-up: true
- workunit:
    branch: dumpling
    clients:
      client.0:
      - rados/test-upgrade-firefly.sh
- ceph.restart:
    daemons:
    - mon.b
    wait-for-healthy: false
    wait-for-osds-up: true
- workunit:
    branch: dumpling
    clients:
      client.0:
      - rados/test-upgrade-firefly.sh
- install.upgrade:
    mon.c: null
- ceph.restart:
    daemons:
    - mon.c
    wait-for-healthy: false
    wait-for-osds-up: true
- ceph.wait_for_mon_quorum:
  - a
  - b
  - c
- workunit:
    branch: dumpling
    clients:
      client.0:
      - rados/test-upgrade-firefly.sh
- workunit:
    branch: dumpling
    clients:
      client.0:
      - rbd/test_librbd_python.sh
- rgw:
    client.0:
      idle_timeout: 300
- swift:
    client.0:
      rgw_server: client.0
- rados:
    clients:
    - client.0
    objects: 500
    op_weights:
      delete: 50
      read: 100
      rollback: 50
      snap_create: 50
      snap_remove: 50
      write: 100
    ops: 4000
teuthology_branch: firefly
verbose: true
worker_log: /var/lib/teuthworker/archive/worker_logs/worker.vps.19335
description: upgrade/dumpling-x/stress-split/{0-cluster/start.yaml 1-dumpling-install/dumpling.yaml
  2-partial-upgrade/firsthalf.yaml 3-thrash/default.yaml 4-mon/mona.yaml 5-workload/rados_api_tests.yaml
  6-next-mon/monb.yaml 7-workload/rados_api_tests.yaml 8-next-mon/monc.yaml 9-workload/{rados_api_tests.yaml
  rbd-python.yaml rgw-s3tests.yaml snaps-many-objects.yaml} distros/debian_7.0.yaml}
duration: 5905.9261429309845
failure_reason: '''Namespace'' object has no attribute ''cache_pools'''
flavor: basic
owner: scheduled_teuthology@teuthology
success: false

Associated revisions

Revision 4ad23dc5 (diff)
Added by Sage Weil about 6 years ago

rgw: fix indentation for cache_pools

Fixes: #8295
Signed-off-by: Sage Weil <>

History

#2 Updated by Sage Weil about 6 years ago

  • Status changed from New to In Progress
  • Assignee set to Sage Weil
  • Priority changed from Normal to Urgent

#3 Updated by Sage Weil about 6 years ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF