Project

General

Profile

Actions

Bug #43744

closed

dnsmasq tasks fails on centos 8

Added by Sage Weil over 4 years ago. Updated over 4 years ago.

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

0%

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

Description

2020-01-21T01:41:14.747 INFO:teuthology.run_tasks:Running task dnsmasq...
2020-01-21T01:41:14.789 INFO:teuthology.orchestra.run.smithi189:> rpm -q dnsmasq --qf '%{VERSION}-%{RELEASE}'
2020-01-21T01:41:14.808 INFO:teuthology.orchestra.run.smithi189.stdout:package dnsmasq is not installed
2020-01-21T01:41:14.809 DEBUG:teuthology.orchestra.run:got remote process result: 1
2020-01-21T01:41:14.809 INFO:teuthology.packaging:Installing package dnsmasq on ubuntu@smithi189.front.sepia.ceph.com
2020-01-21T01:41:14.809 INFO:teuthology.orchestra.run.smithi189:> sudo yum -y install dnsmasq
2020-01-21T01:41:15.248 INFO:teuthology.orchestra.run.smithi189.stdout:Last metadata expiration check: 0:02:33 ago on Tue 21 Jan 2020 01:38:42 AM UTC.
2020-01-21T01:41:15.574 INFO:teuthology.orchestra.run.smithi189.stdout:Dependencies resolved.
2020-01-21T01:41:15.575 INFO:teuthology.orchestra.run.smithi189.stdout:================================================================================
2020-01-21T01:41:15.575 INFO:teuthology.orchestra.run.smithi189.stdout: Package          Architecture    Version              Repository          Size
2020-01-21T01:41:15.575 INFO:teuthology.orchestra.run.smithi189.stdout:================================================================================
2020-01-21T01:41:15.575 INFO:teuthology.orchestra.run.smithi189.stdout:Installing:
2020-01-21T01:41:15.575 INFO:teuthology.orchestra.run.smithi189.stdout: dnsmasq          x86_64          2.79-6.el8           AppStream          317 k
2020-01-21T01:41:15.575 INFO:teuthology.orchestra.run.smithi189.stdout:
2020-01-21T01:41:15.576 INFO:teuthology.orchestra.run.smithi189.stdout:Transaction Summary
2020-01-21T01:41:15.576 INFO:teuthology.orchestra.run.smithi189.stdout:================================================================================
2020-01-21T01:41:15.576 INFO:teuthology.orchestra.run.smithi189.stdout:Install  1 Package
2020-01-21T01:41:15.576 INFO:teuthology.orchestra.run.smithi189.stdout:
2020-01-21T01:41:15.576 INFO:teuthology.orchestra.run.smithi189.stdout:Total download size: 317 k
2020-01-21T01:41:15.576 INFO:teuthology.orchestra.run.smithi189.stdout:Installed size: 736 k
2020-01-21T01:41:15.577 INFO:teuthology.orchestra.run.smithi189.stdout:Downloading Packages:
2020-01-21T01:41:15.870 INFO:teuthology.orchestra.run.smithi189.stdout:dnsmasq-2.79-6.el8.x86_64.rpm                   3.7 MB/s | 317 kB     00:00
2020-01-21T01:41:15.870 INFO:teuthology.orchestra.run.smithi189.stdout:--------------------------------------------------------------------------------
2020-01-21T01:41:15.870 INFO:teuthology.orchestra.run.smithi189.stdout:Total                                           1.1 MB/s | 317 kB     00:00
2020-01-21T01:41:15.872 INFO:teuthology.orchestra.run.smithi189.stdout:Running transaction check
2020-01-21T01:41:15.882 INFO:teuthology.orchestra.run.smithi189.stdout:Transaction check succeeded.
2020-01-21T01:41:15.882 INFO:teuthology.orchestra.run.smithi189.stdout:Running transaction test
2020-01-21T01:41:15.937 INFO:teuthology.orchestra.run.smithi189.stdout:Transaction test succeeded.
2020-01-21T01:41:15.938 INFO:teuthology.orchestra.run.smithi189.stdout:Running transaction
2020-01-21T01:41:16.030 INFO:teuthology.orchestra.run.smithi189.stdout:  Preparing        :                                                        1/1
2020-01-21T01:41:16.088 INFO:teuthology.orchestra.run.smithi189.stdout:  Running scriptlet: dnsmasq-2.79-6.el8.x86_64                              1/1
2020-01-21T01:41:16.088 INFO:teuthology.orchestra.run.smithi189.stdout:/var/tmp/rpm-tmp.28u9Qs: line 5: 24149 Segmentation fault      (core dumped) systemd-sysusers -  &> /dev/null <<SYSTEMD_INLINE_EOF
2020-01-21T01:41:16.088 INFO:teuthology.orchestra.run.smithi189.stdout:u dnsmasq - "Dnsmasq DHCP and DNS server" /var/lib/dnsmasq
2020-01-21T01:41:16.089 INFO:teuthology.orchestra.run.smithi189.stdout:SYSTEMD_INLINE_EOF
2020-01-21T01:41:16.089 INFO:teuthology.orchestra.run.smithi189.stdout:
2020-01-21T01:41:16.089 INFO:teuthology.orchestra.run.smithi189.stdout:
2020-01-21T01:41:16.135 INFO:teuthology.orchestra.run.smithi189.stdout:  Installing       : dnsmasq-2.79-6.el8.x86_64                              1/1
2020-01-21T01:41:16.135 INFO:teuthology.orchestra.run.smithi189.stdout:warning: group dnsmasq does not exist - using root
2020-01-21T01:41:16.135 INFO:teuthology.orchestra.run.smithi189.stdout:warning: group dnsmasq does not exist - using root
2020-01-21T01:41:16.135 INFO:teuthology.orchestra.run.smithi189.stdout:warning: group dnsmasq does not exist - using root
2020-01-21T01:41:16.135 INFO:teuthology.orchestra.run.smithi189.stdout:
2020-01-21T01:41:16.387 INFO:teuthology.orchestra.run.smithi189.stdout:  Running scriptlet: dnsmasq-2.79-6.el8.x86_64                              1/1
2020-01-21T01:41:16.387 INFO:teuthology.orchestra.run.smithi189.stdout:/var/tmp/rpm-tmp.QTJc0j: line 3: 24151 Segmentation fault      (core dumped) systemd-sysusers &> /dev/null
2020-01-21T01:41:16.387 INFO:teuthology.orchestra.run.smithi189.stdout:
2020-01-21T01:41:16.738 INFO:teuthology.orchestra.run.smithi189.stdout:/var/tmp/rpm-tmp.MLa1GN: line 6: 24183 Segmentation fault      (core dumped) /usr/bin/systemd-sysusers
2020-01-21T01:41:16.738 INFO:teuthology.orchestra.run.smithi189.stdout:warning: %triggerin(systemd-239-18.el8_1.1.x86_64) scriptlet failed, exit status 139
2020-01-21T01:41:16.738 INFO:teuthology.orchestra.run.smithi189.stdout:
2020-01-21T01:41:16.738 INFO:teuthology.orchestra.run.smithi189.stderr:Error in <unknown> scriptlet in rpm package dnsmasq
2020-01-21T01:41:17.261 INFO:teuthology.orchestra.run.smithi189.stdout:  Verifying        : dnsmasq-2.79-6.el8.x86_64                              1/1
2020-01-21T01:41:17.261 INFO:teuthology.orchestra.run.smithi189.stdout:
2020-01-21T01:41:17.261 INFO:teuthology.orchestra.run.smithi189.stdout:Installed:
2020-01-21T01:41:17.261 INFO:teuthology.orchestra.run.smithi189.stdout:  dnsmasq-2.79-6.el8.x86_64
2020-01-21T01:41:17.262 INFO:teuthology.orchestra.run.smithi189.stdout:
2020-01-21T01:41:17.262 INFO:teuthology.orchestra.run.smithi189.stdout:Complete!
2020-01-21T01:41:17.513 INFO:teuthology.orchestra.run.smithi189:> cp /etc/resolv.conf /home/ubuntu/cephtest/resolv.bak
2020-01-21T01:41:17.528 INFO:teuthology.orchestra.run.smithi189:> cat > /home/ubuntu/cephtest/resolv.tmp
2020-01-21T01:41:17.613 INFO:teuthology.orchestra.run.smithi189:> sudo chattr -i /etc/resolv.conf
2020-01-21T01:41:17.683 INFO:teuthology.orchestra.run.smithi189:> sudo cp /home/ubuntu/cephtest/resolv.tmp /etc/resolv.conf
2020-01-21T01:41:17.751 INFO:tasks.dnsmasq:Configuring dnsmasq on remote ubuntu@smithi189.front.sepia.ceph.com..
2020-01-21T01:41:17.752 INFO:teuthology.orchestra.run.smithi189:> cat > /home/ubuntu/cephtest/ceph.tmp
2020-01-21T01:41:17.836 INFO:teuthology.orchestra.run.smithi189:> sudo mv /home/ubuntu/cephtest/ceph.tmp /etc/dnsmasq.d/ceph
2020-01-21T01:41:17.905 INFO:teuthology.orchestra.run.smithi189:> sudo restorecon /etc/dnsmasq.d/ceph
2020-01-21T01:41:17.977 INFO:teuthology.orchestra.run.smithi189:> sudo systemctl restart dnsmasq
2020-01-21T01:41:18.056 INFO:teuthology.orchestra.run.smithi189:> ping -c 4 s3-website.smithi170.front.sepia.ceph.com
2020-01-21T01:41:18.113 INFO:teuthology.orchestra.run.smithi189.stderr:ping: s3-website.smithi170.front.sepia.ceph.com: Name or service not known
2020-01-21T01:41:18.113 DEBUG:teuthology.orchestra.run:got remote process result: 2
2020-01-21T01:41:18.113 ERROR:teuthology.contextutil:Saw exception from nested tasks
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/contextutil.py", line 32, in nested
    vars.append(enter())
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-sage-testing-2020-01-20-1147/qa/tasks/dnsmasq.py", line 86, in setup_dnsmasq
    remote.run(args=['ping', '-c', '4', cnames.keys()[0]])
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/remote.py", line 198, in run
    r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 433, in run
    r.wait()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 158, in wait
    self._raise_for_status()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 180, in _raise_for_status
    node=self.hostname, label=self.label
CommandFailedError: Command failed on smithi189 with status 2: 'ping -c 4 s3-website.smithi170.front.sepia.ceph.com'

/a/sage-2020-01-20_22:19:19-rgw-wip-sage-testing-2020-01-20-1147-distro-basic-smithi/4689264
Actions #2

Updated by Casey Bodley over 4 years ago

  • Status changed from New to Won't Fix

needs to be fixed in centos. in the meantime we can only test this against ubuntu

Actions

Also available in: Atom PDF