Project

General

Profile

Actions

Bug #10339

closed

downburst doesn't recognize an os version of 14.04(trusty)

Added by Andrew Schoen over 9 years ago. Updated about 6 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

While testing issue 10279 I noticed that a yaml file that contained the os_version: 14.04(trusty) would successfully lock a bare metal machine, but not a vps. However, if I changed os_version to be just 'trusty' it would work for a vps machine.

(venv)ubuntu@teuthology:~/teuthology-andrewschoen$ ./venv/bin/teuthology --verbose ~/teuthology-andrewschoen/test_configs/test.yaml --lock --machine-type vps
2014-12-16 13:25:10,412.412 WARNING:teuthology.report:No job_id found; not reporting results
2014-12-16 13:25:10,414.414 DEBUG:teuthology.run:Config:
  os_type: ubuntu
  os_version: 14.04(trusty)
  roles:
  - - mon.0
    - client.0
  tasks:
  - nop: null
2014-12-16 13:25:10,415.415 INFO:teuthology.run:Tasks not found; will attempt to fetch
2014-12-16 13:25:10,415.415 INFO:teuthology.repo_utils:Fetching from upstream into /home/ubuntu/src/ceph-qa-suite_master
2014-12-16 13:25:10,788.788 INFO:teuthology.repo_utils:Resetting repo at /home/ubuntu/src/ceph-qa-suite_master to branch master
2014-12-16 13:25:10,809.809 INFO:teuthology.run_tasks:Running task internal.lock_machines...
2014-12-16 13:25:10,809.809 INFO:teuthology.task.internal:Locking machines...
2014-12-16 13:25:10,809.809 WARNING:teuthology.report:No job_id found; not reporting results
2014-12-16 13:25:10,850.850 INFO:teuthology.lock:Using default values for supported os_type/os_version
2014-12-16 13:25:10,850.850 DEBUG:teuthology.lock:lock_many request: {'count': 1, 'locked_by': 'ubuntu@teuthology', 'description': None, 'machine_type': 'vps'}
2014-12-16 13:25:10,877.877 DEBUG:teuthology.lock:locked ubuntu@vpm160.front.sepia.ceph.com
2014-12-16 13:25:11,747.747 INFO:teuthology.provision:Downburst completed on ubuntu@vpm160.front.sepia.ceph.com: INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): ceph.com
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): cloud-images.ubuntu.com
Traceback (most recent call last):
  File "/home/ubuntu/src/downburst/virtualenv/bin/downburst", line 9, in <module>
    load_entry_point('downburst==0.0.1', 'console_scripts', 'downburst')()
  File "/home/ubuntu/src/downburst/downburst/cli.py", line 59, in main
    return args.func(args)
  File "/home/ubuntu/src/downburst/downburst/create.py", line 95, in create
    vol, raw = image.ensure_cloud_image(pool=pool, distro=distro, distroversion=distroversion, arch=arch, forcenew=args.forcenew)
  File "/home/ubuntu/src/downburst/downburst/image.py", line 125, in ensure_cloud_image
    image = discover.get(distro=distro, distroversion=distroversion, arch=arch)
  File "/home/ubuntu/src/downburst/downburst/discover.py", line 136, in get
    return handler(distroversion, arch)
  File "/home/ubuntu/src/downburst/downburst/discover.py", line 122, in __call__
    serial, state = self.get_serial(release)
  File "/home/ubuntu/src/downburst/downburst/discover.py", line 76, in get_serial
    raise NameError('Image not found on server at ' + url)
NameError: Image not found on server at http://cloud-images.ubuntu.com/query/released.latest.txt
Actions #1

Updated by Sage Weil about 6 years ago

  • Status changed from New to Won't Fix
Actions

Also available in: Atom PDF