Actions
Feature #10594
closedRHEL 7.1 support for chef
% Done:
100%
Source:
Q/A
Tags:
Backport:
Reviewed:
Affected Versions:
Description
running teuthology on rhel 7.1 with the following yaml file:
roles: - [mon.a, mon.c, osd.0, osd.1, osd.2, client.0] tasks: - chef: targets: magna103.ceph.redhat.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6xe1Qvf8mxM//6gZhcEY3aHdMpkr0XkOwiZqREWZYXOHkWtLb7sEmDHW33QFm267Rq+pdK+++wKb53jALSNjUB/56A7FkB2Uba+pKGLnyySPRf0cfuBNqkXHb9AVnUl1RigObnypGPmHri+OKNlx7N/6hM51XyptOP7wvKkt5K4qKffrxjrupVXwepLD6wbL1i5gc0RISKxkJJs1gsmTjW+KsiYS2goL311BQjg91QfJr1Ao2J8OKMPeMExUbJOhG2d+7WDwj0JkmgoFfYbD+xF2/L7Cy3CxLhpUGehBodyjWgREU0lw1EnqilC+qRxAPyUuyAbjAxeGkfoqCejcl
yields:
/usr/bin/wget: /usr/bin/wget: cannot execute binary file --2015-01-20 16:01:06-- http://ceph.com/git/?p=ceph-qa-chef.git;a=blob_plain;f=solo/solo-from-scratch;hb=HEAD Resolving ceph.com (ceph.com)... 2607:f298:4:147::b05:fe2a, 208.113.241.137 Connecting to ceph.com (ceph.com)|2607:f298:4:147::b05:fe2a|:80... failed: No route to host. Connecting to ceph.com (ceph.com)|208.113.241.137|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/plain] Saving to: ‘STDOUT’ [ <=> ] 0 --.-K/s in 0s Cannot write to ‘-’ (Broken pipe). [ubuntu@magna103 ~]$ ls [ubuntu@magna103 ~]$ wget -O- 'http://ceph.com/git/?p=ceph-qa-chef.git;a=blob_plain;f=solo/solo-from-scratch;hb=HEAD' | sh -x^C [ubuntu@magna103 ~]$ wget -O- 'http://ceph.com/git/?p=ceph-qa-chef.git;a=blob_plain;f=solo/solo-from-scratch;hb=HEAD' | sh -x --2015-01-20 16:12:12-- http://ceph.com/git/?p=ceph-qa-chef.git;a=blob_plain;f=solo/solo-from-scratch;hb=HEAD Resolving ceph.com (ceph.com)... 2607:f298:4:147::b05:fe2a, 208.113.241.137 Connecting to ceph.com (ceph.com)|2607:f298:4:147::b05:fe2a|:80... failed: No route to host. Connecting to ceph.com (ceph.com)|208.113.241.137|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/plain] Saving to: ‘STDOUT’ [<=> ] 0 --.-K/s + set -e ++ dirname sh + cd . ++ python -c 'import platform; distro = platform.dist()[0]; print distro.lower().rstrip()' + distro=redhat ++ python -c 'import platform; distro = platform.dist()[1]; print distro' + distroversion=7.1 ++ echo redhat ++ grep -ic -e centos -e redhat -e fedora + centos=1 ++ echo redhat ++ grep -ic -e ubuntu -e debian ++ true + ubuntu=0 ++ echo 7.1 ++ grep -ic '14\.04' ++ true + trusty=0 + '[' 0 -gt 0 ']' + '[' 1 -gt 0 ']' + sudo sed -i s@baseurl=http://vault.centos.org/@baseurl=http://apt-mirror.front.sepia.ceph.com/centosvault/@g '/etc/yum.repos.d/Cent*' sed: can't read /etc/yum.repos.d/Cent*: No such file or directory + true + sudo sed -i 's/^mirrorlist/#mirrorlist/g' '/etc/yum.repos.d/Cent*' sed: can't read /etc/yum.repos.d/Cent*: No such file or directory + true + sudo sed -i 's/^#baseurl/baseurl/g' '/etc/yum.repos.d/Cent*' sed: can't read /etc/yum.repos.d/Cent*: No such file or directory + true + sudo sed -i s@http://mirror.centos.org/centos/@http://apt-mirror.front.sepia.ceph.com/centos/@g '/etc/yum.repos.d/Cent*' sed: can't read /etc/yum.repos.d/Cent*: No such file or directory + true + sudo sed -i 's/^gpgcheck=1/gpgcheck=0/g' '/etc/yum.repos.d/Cent*' [ <=> ] 3,313 --.-K/s in 0s 2015-01-20 16:12:12 (358 MB/s) - written to stdout [3313] sed: can't read /etc/yum.repos.d/Cent*: No such file or directory + true + for package in git ++ sudo yum list installed ++ grep -ic '^git' + installed=1 + '[' 1 -eq 0 ']' ++ mktemp -d --tmpdir solo-from-scratch.XXXXXXXXXXXX + SCRATCH=/tmp/solo-from-scratch.dpmareUdAHyI + cd /tmp/solo-from-scratch.dpmareUdAHyI + trap cleanup INT TERM EXIT + git init Initialized empty Git repository in /tmp/solo-from-scratch.dpmareUdAHyI/.git/ + git pull git://ceph.com/ceph-qa-chef.git remote: Counting objects: 1980, done. remote: Compressing objects: 100% (1595/1595), done. remote: Total 1980 (delta 857), reused 147 (delta 51) Receiving objects: 100% (1980/1980), 1.96 MiB | 1.15 MiB/s, done. Resolving deltas: 100% (857/857), done. From git://ceph.com/ceph-qa-chef * branch HEAD -> FETCH_HEAD + ./solo/run There is no installed groups file. Maybe run: yum groups mark convert (see man yum) installing missing group package: Development Tools Loaded plugins: product-id, subscription-manager This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions. There is no installed groups file. Maybe run: yum groups mark convert (see man yum) Warning: Group development does not have any packages to install. Maybe run: yum groups mark install (see man yum) No packages in any requested group available to install or update Installing missing package: ruby-devel Loaded plugins: product-id, subscription-manager This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions. No package ruby-devel available. Error: Nothing to do + cleanup + rm -rf /tmp/solo-from-scratch.dpmareUdAHyI [ubuntu@magna103 ~]$ wget -O- 'http://ceph.com/git/?p=ceph-qa-chef.git;a=blob_plain;f=solo/solo-from-scratch;hb=HEAD' | sh -x --2015-01-20 16:14:36-- http://ceph.com/git/?p=ceph-qa-chef.git;a=blob_plain;f=solo/solo-from-scratch;hb=HEAD Resolving ceph.com (ceph.com)... 2607:f298:4:147::b05:fe2a, 208.113.241.137 Connecting to ceph.com (ceph.com)|2607:f298:4:147::b05:fe2a|:80... failed: No route to host. Connecting to ceph.com (ceph.com)|208.113.241.137|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/plain] Saving to: ‘STDOUT’ [<=> ] 0 --.-K/s + set -e ++ dirname sh + cd . ++ python -c 'import platform; distro = platform.dist()[0]; print distro.lower().rstrip()' + distro=redhat ++ python -c 'import platform; distro = platform.dist()[1]; print distro' + distroversion=7.1 ++ echo redhat ++ grep -ic -e centos -e redhat -e fedora + centos=1 ++ echo redhat ++ grep -ic -e ubuntu -e debian ++ true + ubuntu=0 ++ echo 7.1 ++ grep -ic '14\.04' ++ true + trusty=0 + '[' 0 -gt 0 ']' + '[' 1 -gt 0 ']' + sudo sed -i s@baseurl=http://vault.centos.org/@baseurl=http://apt-mirror.front.sepia.ceph.com/centosvault/@g '/etc/yum.repos.d/Cent*' sed: can't read /etc/yum.repos.d/Cent*: No such file or directory + true + sudo sed -i 's/^mirrorlist/#mirrorlist/g' '/etc/yum.repos.d/Cent*' sed: can't read /etc/yum.repos.d/Cent*: No such file or directory + true + sudo sed -i 's/^#baseurl/baseurl/g' '/etc/yum.repos.d/Cent*' sed: can't read /etc/yum.repos.d/Cent*: No such file or directory + true + sudo sed -i s@http://mirror.centos.org/centos/@http://apt-mirror.front.sepia.ceph.com/centos/@g '/etc/yum.repos.d/Cent*' sed: can't read /etc/yum.repos.d/Cent*: No such file or directory + true + sudo sed -i 's/^gpgcheck=1/gpgcheck=0/g' '/etc/yum.repos.d/Cent*' [ <=> ] 3,313 --.-K/s in 0s 2015-01-20 16:14:36 (368 MB/s) - written to stdout [3313] sed: can't read /etc/yum.repos.d/Cent*: No such file or directory + true + for package in git ++ sudo yum list installed ++ grep -ic '^git' + installed=1 + '[' 1 -eq 0 ']' ++ mktemp -d --tmpdir solo-from-scratch.XXXXXXXXXXXX + SCRATCH=/tmp/solo-from-scratch.zn8e3DC2h49o + cd /tmp/solo-from-scratch.zn8e3DC2h49o + trap cleanup INT TERM EXIT + git init Initialized empty Git repository in /tmp/solo-from-scratch.zn8e3DC2h49o/.git/ + git pull git://ceph.com/ceph-qa-chef.git remote: Counting objects: 1980, done. remote: Compressing objects: 100% (1595/1595), done. remote: Total 1980 (delta 858), reused 147 (delta 51) Receiving objects: 100% (1980/1980), 1.96 MiB | 1.05 MiB/s, done. Resolving deltas: 100% (858/858), done. From git://ceph.com/ceph-qa-chef * branch HEAD -> FETCH_HEAD + ./solo/run There is no installed groups file. Maybe run: yum groups mark convert (see man yum) installing missing group package: Development Tools Loaded plugins: product-id, subscription-manager This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions. There is no installed groups file. Maybe run: yum groups mark convert (see man yum) Warning: Group development does not have any packages to install. Maybe run: yum groups mark install (see man yum) No packages in any requested group available to install or update Installing missing package: ruby-devel Loaded plugins: product-id, subscription-manager This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions. No package ruby-devel available. Error: Nothing to do + cleanup + rm -rf /tmp/solo-from-scratch.zn8e3DC2h49o
sshing to magna103 and running:
wget -O- 'http://ceph.com/git/?p=ceph-qa-chef.git;a=blob_plain;f=solo/solo-from-scratch;hb=HEAD' | sh -x
yields:
/usr/bin/wget: /usr/bin/wget: cannot execute binary file --2015-01-20 16:01:06-- http://ceph.com/git/?p=ceph-qa-chef.git;a=blob_plain;f=solo/solo-from-scratch;hb=HEAD Resolving ceph.com (ceph.com)... 2607:f298:4:147::b05:fe2a, 208.113.241.137 Connecting to ceph.com (ceph.com)|2607:f298:4:147::b05:fe2a|:80... failed: No route to host. Connecting to ceph.com (ceph.com)|208.113.241.137|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/plain] Saving to: ‘STDOUT’ [ <=> ] 0 --.-K/s in 0s Cannot write to ‘-’ (Broken pipe). [ubuntu@magna103 ~]$ ls [ubuntu@magna103 ~]$ wget -O- 'http://ceph.com/git/?p=ceph-qa-chef.git;a=blob_plain;f=solo/solo-from-scratch;hb=HEAD' | sh -x^C [ubuntu@magna103 ~]$ wget -O- 'http://ceph.com/git/?p=ceph-qa-chef.git;a=blob_plain;f=solo/solo-from-scratch;hb=HEAD' | sh -x --2015-01-20 16:12:12-- http://ceph.com/git/?p=ceph-qa-chef.git;a=blob_plain;f=solo/solo-from-scratch;hb=HEAD Resolving ceph.com (ceph.com)... 2607:f298:4:147::b05:fe2a, 208.113.241.137 Connecting to ceph.com (ceph.com)|2607:f298:4:147::b05:fe2a|:80... failed: No route to host. Connecting to ceph.com (ceph.com)|208.113.241.137|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/plain] Saving to: ‘STDOUT’ [<=> ] 0 --.-K/s + set -e ++ dirname sh + cd . ++ python -c 'import platform; distro = platform.dist()[0]; print distro.lower().rstrip()' + distro=redhat ++ python -c 'import platform; distro = platform.dist()[1]; print distro' + distroversion=7.1 ++ echo redhat ++ grep -ic -e centos -e redhat -e fedora + centos=1 ++ echo redhat ++ grep -ic -e ubuntu -e debian ++ true + ubuntu=0 ++ echo 7.1 ++ grep -ic '14\.04' ++ true + trusty=0 + '[' 0 -gt 0 ']' + '[' 1 -gt 0 ']' + sudo sed -i s@baseurl=http://vault.centos.org/@baseurl=http://apt-mirror.front.sepia.ceph.com/centosvault/@g '/etc/yum.repos.d/Cent*' sed: can't read /etc/yum.repos.d/Cent*: No such file or directory + true + sudo sed -i 's/^mirrorlist/#mirrorlist/g' '/etc/yum.repos.d/Cent*' sed: can't read /etc/yum.repos.d/Cent*: No such file or directory + true + sudo sed -i 's/^#baseurl/baseurl/g' '/etc/yum.repos.d/Cent*' sed: can't read /etc/yum.repos.d/Cent*: No such file or directory + true + sudo sed -i s@http://mirror.centos.org/centos/@http://apt-mirror.front.sepia.ceph.com/centos/@g '/etc/yum.repos.d/Cent*' sed: can't read /etc/yum.repos.d/Cent*: No such file or directory + true + sudo sed -i 's/^gpgcheck=1/gpgcheck=0/g' '/etc/yum.repos.d/Cent*' [ <=> ] 3,313 --.-K/s in 0s 2015-01-20 16:12:12 (358 MB/s) - written to stdout [3313] sed: can't read /etc/yum.repos.d/Cent*: No such file or directory + true + for package in git ++ sudo yum list installed ++ grep -ic '^git' + installed=1 + '[' 1 -eq 0 ']' ++ mktemp -d --tmpdir solo-from-scratch.XXXXXXXXXXXX + SCRATCH=/tmp/solo-from-scratch.dpmareUdAHyI + cd /tmp/solo-from-scratch.dpmareUdAHyI + trap cleanup INT TERM EXIT + git init Initialized empty Git repository in /tmp/solo-from-scratch.dpmareUdAHyI/.git/ + git pull git://ceph.com/ceph-qa-chef.git remote: Counting objects: 1980, done. remote: Compressing objects: 100% (1595/1595), done. remote: Total 1980 (delta 857), reused 147 (delta 51) Receiving objects: 100% (1980/1980), 1.96 MiB | 1.15 MiB/s, done. Resolving deltas: 100% (857/857), done. From git://ceph.com/ceph-qa-chef * branch HEAD -> FETCH_HEAD + ./solo/run There is no installed groups file. Maybe run: yum groups mark convert (see man yum) installing missing group package: Development Tools Loaded plugins: product-id, subscription-manager This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions. There is no installed groups file. Maybe run: yum groups mark convert (see man yum) Warning: Group development does not have any packages to install. Maybe run: yum groups mark install (see man yum) No packages in any requested group available to install or update Installing missing package: ruby-devel Loaded plugins: product-id, subscription-manager This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions. No package ruby-devel available. Error: Nothing to do + cleanup + rm -rf /tmp/solo-from-scratch.dpmareUdAHyI [ubuntu@magna103 ~]$ wget -O- 'http://ceph.com/git/?p=ceph-qa-chef.git;a=blob_plain;f=solo/solo-from-scratch;hb=HEAD' | sh -x --2015-01-20 16:14:36-- http://ceph.com/git/?p=ceph-qa-chef.git;a=blob_plain;f=solo/solo-from-scratch;hb=HEAD Resolving ceph.com (ceph.com)... 2607:f298:4:147::b05:fe2a, 208.113.241.137 Connecting to ceph.com (ceph.com)|2607:f298:4:147::b05:fe2a|:80... failed: No route to host. Connecting to ceph.com (ceph.com)|208.113.241.137|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/plain] Saving to: ‘STDOUT’ [<=> ] 0 --.-K/s + set -e ++ dirname sh + cd . ++ python -c 'import platform; distro = platform.dist()[0]; print distro.lower().rstrip()' + distro=redhat ++ python -c 'import platform; distro = platform.dist()[1]; print distro' + distroversion=7.1 ++ echo redhat ++ grep -ic -e centos -e redhat -e fedora + centos=1 ++ echo redhat ++ grep -ic -e ubuntu -e debian ++ true + ubuntu=0 ++ echo 7.1 ++ grep -ic '14\.04' ++ true + trusty=0 + '[' 0 -gt 0 ']' + '[' 1 -gt 0 ']' + sudo sed -i s@baseurl=http://vault.centos.org/@baseurl=http://apt-mirror.front.sepia.ceph.com/centosvault/@g '/etc/yum.repos.d/Cent*' sed: can't read /etc/yum.repos.d/Cent*: No such file or directory + true + sudo sed -i 's/^mirrorlist/#mirrorlist/g' '/etc/yum.repos.d/Cent*' sed: can't read /etc/yum.repos.d/Cent*: No such file or directory + true + sudo sed -i 's/^#baseurl/baseurl/g' '/etc/yum.repos.d/Cent*' sed: can't read /etc/yum.repos.d/Cent*: No such file or directory + true + sudo sed -i s@http://mirror.centos.org/centos/@http://apt-mirror.front.sepia.ceph.com/centos/@g '/etc/yum.repos.d/Cent*' sed: can't read /etc/yum.repos.d/Cent*: No such file or directory + true + sudo sed -i 's/^gpgcheck=1/gpgcheck=0/g' '/etc/yum.repos.d/Cent*' [ <=> ] 3,313 --.-K/s in 0s 2015-01-20 16:14:36 (368 MB/s) - written to stdout [3313] sed: can't read /etc/yum.repos.d/Cent*: No such file or directory + true + for package in git ++ sudo yum list installed ++ grep -ic '^git' + installed=1 + '[' 1 -eq 0 ']' ++ mktemp -d --tmpdir solo-from-scratch.XXXXXXXXXXXX + SCRATCH=/tmp/solo-from-scratch.zn8e3DC2h49o + cd /tmp/solo-from-scratch.zn8e3DC2h49o + trap cleanup INT TERM EXIT + git init Initialized empty Git repository in /tmp/solo-from-scratch.zn8e3DC2h49o/.git/ + git pull git://ceph.com/ceph-qa-chef.git remote: Counting objects: 1980, done. remote: Compressing objects: 100% (1595/1595), done. remote: Total 1980 (delta 858), reused 147 (delta 51) Receiving objects: 100% (1980/1980), 1.96 MiB | 1.05 MiB/s, done. Resolving deltas: 100% (858/858), done. From git://ceph.com/ceph-qa-chef * branch HEAD -> FETCH_HEAD + ./solo/run There is no installed groups file. Maybe run: yum groups mark convert (see man yum) installing missing group package: Development Tools Loaded plugins: product-id, subscription-manager This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions. There is no installed groups file. Maybe run: yum groups mark convert (see man yum) Warning: Group development does not have any packages to install. Maybe run: yum groups mark install (see man yum) No packages in any requested group available to install or update Installing missing package: ruby-devel Loaded plugins: product-id, subscription-manager This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions. No package ruby-devel available. Error: Nothing to do + cleanup + rm -rf /tmp/solo-from-scratch.zn8e3DC2h49o
That wget command is the wget command that fails inside the chef task, I believe.
Updated by Zack Cerza over 9 years ago
- Status changed from New to 12
- Assignee set to Sandon Van Ness
Updated by Sandon Van Ness over 9 years ago
Do we plan to do a lot of testing on rhel 7.1 while it is still beta? If so we can get this done but depending on how sensitive the URLs and other stuff are it might make implementing this tougher.
Updated by Zack Cerza over 9 years ago
- Tracker changed from Bug to Feature
- Status changed from 12 to New
Updated by Zack Cerza over 9 years ago
- Subject changed from Chef tasks are broken on RHEL 7.1 to RHEL 7.1 support for chef
Updated by Sandon Van Ness about 9 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
This mainly involved making the repos available so we aren't forced to just do this on octo and making sure they were not publicly accessible.
Actions