Project

General

Profile

Actions

Bug #55177

closed

gcc is not installed on centos 8.stream nodes

Added by Ilya Dryomov about 2 years ago. Updated about 2 years ago.

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

0%

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

Description

2022-04-04T09:35:31.257 INFO:tasks.workunit.cluster1.client.mirror.smithi037.stderr:HEAD is now at b2b4ff400c5 Merge branch 'pacific-backport-march' of https://github.com/adk3798/ceph into wip-yuri2-testing-2022-03-31-1523-pacific
2022-04-04T09:35:31.258 DEBUG:teuthology.orchestra.run.smithi037:> cd -- /home/ubuntu/cephtest/clone.cluster1.client.mirror/qa/workunits && if test -e Makefile ; then make ; fi && find -executable -type f -printf '%P\0' >/home/ubuntu/cephtest/workunits.list.cluster1.client.mirror
2022-04-04T09:35:31.326 INFO:tasks.workunit.cluster1.client.mirror.smithi037.stdout:for d in direct_io fs ; do ( cd $d ; make all ) ; done
2022-04-04T09:35:31.328 INFO:tasks.workunit.cluster1.client.mirror.smithi037.stdout:make[1]: Entering directory '/home/ubuntu/cephtest/clone.cluster1.client.mirror/qa/workunits/direct_io'
2022-04-04T09:35:31.328 INFO:tasks.workunit.cluster1.client.mirror.smithi037.stdout:cc -Wall -Wextra -D_GNU_SOURCE direct_io_test.c -o direct_io_test
2022-04-04T09:35:31.329 INFO:tasks.workunit.cluster1.client.mirror.smithi037.stderr:make[1]: cc: Command not found
2022-04-04T09:35:31.329 INFO:tasks.workunit.cluster1.client.mirror.smithi037.stderr:make[1]: *** [Makefile:6: direct_io_test] Error 127
2022-04-04T09:35:31.330 INFO:tasks.workunit.cluster1.client.mirror.smithi037.stdout:make[1]: Leaving directory '/home/ubuntu/cephtest/clone.cluster1.client.mirror/qa/workunits/direct_io'
2022-04-04T09:35:31.330 INFO:tasks.workunit.cluster1.client.mirror.smithi037.stdout:make[1]: Entering directory '/home/ubuntu/cephtest/clone.cluster1.client.mirror/qa/workunits/fs'
2022-04-04T09:35:31.330 INFO:tasks.workunit.cluster1.client.mirror.smithi037.stdout:cc -Wall -Wextra -D_GNU_SOURCE test_o_trunc.c -o test_o_trunc
2022-04-04T09:35:31.331 INFO:tasks.workunit.cluster1.client.mirror.smithi037.stderr:make[1]: cc: Command not found
2022-04-04T09:35:31.331 INFO:tasks.workunit.cluster1.client.mirror.smithi037.stdout:make[1]: Leaving directory '/home/ubuntu/cephtest/clone.cluster1.client.mirror/qa/workunits/fs'
2022-04-04T09:35:31.332 DEBUG:teuthology.orchestra.run:got remote process result: 2
2022-04-04T09:35:31.333 INFO:tasks.workunit.cluster1.client.mirror.smithi037.stderr:make[1]: *** [Makefile:6: test_o_trunc] Error 127
2022-04-04T09:35:31.333 INFO:tasks.workunit.cluster1.client.mirror.smithi037.stderr:make: *** [Makefile:4: all] Error 2

http://qa-proxy.ceph.com/teuthology/dis-2022-04-04_09:20:17-rbd-wip-yuri2-testing-2022-03-31-1523-pacific-distro-default-smithi/6776190/teuthology.log

Looking at ceph-cm-ansible, gcc seems to be there in the list of packages to install:

$ cat roles/testnode/vars/centos_8.yml
---
# vars specific to any centos 8.x version
[...]
packages:
[...]
  # for workunits,
  - gcc
  - git

and there is also

$ cat roles/testnode/vars/centos_8_stream.yml
---
# vars specific to centos stream version 8.x

packages_to_upgrade:
  - systemd

packages:
  - lvm2

which, for 8.stream, is supposed to be applied in addition to centos_8.yml.

But, only libgcc is actually installed:

$ yum list | grep gcc
libgcc.x86_64                                                     8.5.0-10.el8                                               @baseos                                             
csgcca.x86_64                                                     2.1.1-1.el8                                                epel                                                
gcc.x86_64                                                        8.5.0-10.el8                                               CentOS-AppStream                                    
gcc-c++.x86_64                                                    8.5.0-10.el8                                               CentOS-AppStream
[...]
Actions

Also available in: Atom PDF