Project

General

Profile

Bug #45384

bootstrapping teuthology on Ubuntu 20.04 does not work

Added by Michael Roesch 2 months ago. Updated about 2 months ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature:

Description

We try to get teuthology working on Ubuntu 20.04, following this guide: https://docs.ceph.com/teuthology/docs/LAB_SETUP.html. However we are currently stuck on the Worker part, i.e. when we try to execute "worker_start magna 1", after it git clones the repo, it tries to execute the bootstrap script, which fails, because the packages that the bootstrap script is expecting, are named differently.
Changing the bootstrap script also does not work, because on every start, the repo gets cloned again and overwrites the changes.

History

#1 Updated by Michael Roesch 2 months ago

Here's the output:

teuthworker@kvm06:~$ worker_start magna 1
magna 1
Starting 1 workers for magna
teuthworker@kvm06:~$ 2020-05-05 12:55:15,686.686 INFO:root:teuthology version: 1.0.0-58684fc5
2020-05-05 12:55:15,700.700 INFO:teuthology.repo_utils:Fetching master from origin
2020-05-05 12:55:17,404.404 INFO:teuthology.repo_utils:Resetting repo at /home/teuthworker/src/github.com_ceph_teuthology_master to branch origin/master
2020-05-05 12:55:17,412.412 INFO:teuthology.repo_utils:Bootstrapping /home/teuthworker/src/github.com_ceph_teuthology_master
2020-05-05 12:55:17,575.575 INFO:teuthology.repo_utils:Bootstrap exited with status 1
2020-05-05 12:55:17,575.575 WARNING:teuthology.repo_utils:dpkg-query:
2020-05-05 12:55:17,575.575 WARNING:teuthology.repo_utils:package
2020-05-05 12:55:17,576.576 WARNING:teuthology.repo_utils:'python-pip'
2020-05-05 12:55:17,576.576 WARNING:teuthology.repo_utils:is
2020-05-05 12:55:17,576.576 WARNING:teuthology.repo_utils:not
2020-05-05 12:55:17,576.576 WARNING:teuthology.repo_utils:installed
2020-05-05 12:55:17,576.576 WARNING:teuthology.repo_utils:and
2020-05-05 12:55:17,576.576 WARNING:teuthology.repo_utils:no
2020-05-05 12:55:17,576.576 WARNING:teuthology.repo_utils:information
2020-05-05 12:55:17,576.576 WARNING:teuthology.repo_utils:is
2020-05-05 12:55:17,576.576 WARNING:teuthology.repo_utils:available
2020-05-05 12:55:17,576.576 WARNING:teuthology.repo_utils:Use
2020-05-05 12:55:17,576.576 WARNING:teuthology.repo_utils:dpkg
2020-05-05 12:55:17,577.577 WARNING:teuthology.repo_utils:--info
2020-05-05 12:55:17,577.577 WARNING:teuthology.repo_utils:(=
2020-05-05 12:55:17,577.577 WARNING:teuthology.repo_utils:dpkg-deb
2020-05-05 12:55:17,577.577 WARNING:teuthology.repo_utils:--info)
2020-05-05 12:55:17,577.577 WARNING:teuthology.repo_utils:to
2020-05-05 12:55:17,577.577 WARNING:teuthology.repo_utils:examine
2020-05-05 12:55:17,577.577 WARNING:teuthology.repo_utils:archive
2020-05-05 12:55:17,577.577 WARNING:teuthology.repo_utils:files.
2020-05-05 12:55:17,577.577 WARNING:teuthology.repo_utils:./bootstrap:
2020-05-05 12:55:17,577.577 WARNING:teuthology.repo_utils:missing
2020-05-05 12:55:17,577.577 WARNING:teuthology.repo_utils:required
2020-05-05 12:55:17,577.577 WARNING:teuthology.repo_utils:packages:
2020-05-05 12:55:17,578.578 WARNING:teuthology.repo_utils:python-pip
2020-05-05 12:55:17,578.578 WARNING:teuthology.repo_utils:Please
2020-05-05 12:55:17,578.578 WARNING:teuthology.repo_utils:install
2020-05-05 12:55:17,578.578 WARNING:teuthology.repo_utils:missing
2020-05-05 12:55:17,578.578 WARNING:teuthology.repo_utils:packages
2020-05-05 12:55:17,578.578 WARNING:teuthology.repo_utils:or
2020-05-05 12:55:17,578.578 WARNING:teuthology.repo_utils:run
2020-05-05 12:55:17,578.578 WARNING:teuthology.repo_utils:'./bootstrap
2020-05-05 12:55:17,578.578 WARNING:teuthology.repo_utils:install'
2020-05-05 12:55:17,578.578 WARNING:teuthology.repo_utils:if
2020-05-05 12:55:17,578.578 WARNING:teuthology.repo_utils:you
2020-05-05 12:55:17,578.578 WARNING:teuthology.repo_utils:have
2020-05-05 12:55:17,578.578 WARNING:teuthology.repo_utils:sudo
2020-05-05 12:55:17,579.579 WARNING:teuthology.repo_utils:sudo
2020-05-05 12:55:17,579.579 WARNING:teuthology.repo_utils:apt-get
2020-05-05 12:55:17,579.579 WARNING:teuthology.repo_utils:-y
2020-05-05 12:55:17,579.579 WARNING:teuthology.repo_utils:install
2020-05-05 12:55:17,579.579 WARNING:teuthology.repo_utils:python-pip
2020-05-05 12:55:17,579.579 INFO:teuthology.repo_utils:Removing /home/teuthworker/src/github.com_ceph_teuthology_master/virtualenv
2020-05-05 12:55:17,579.579 ERROR:teuthology.repo_utils:Bootstrap error encountered; retrying
Traceback (most recent call last):
File "/home/teuthworker/src/teuthology_master/teuthology/repo_utils.py", line 331, in fetch_repo
bootstrap(dest_path)
File "/home/teuthworker/src/teuthology_master/teuthology/repo_utils.py", line 423, in bootstrap_teuthology
raise BootstrapError("Bootstrap failed!")
BootstrapError: Bootstrap failed!

#2 Updated by Kefu Chai about 2 months ago

  • Status changed from New to Fix Under Review
  • Assignee set to Kefu Chai

Also available in: Atom PDF