Project

General

Profile

Bug #35989

Cannot run g++ on CentOS/RHEL test nodes

Added by Nathan Cutler over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Category:
Test Node
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

#15100 calls for a teuthology test that compiles the example librados program that we have in examples/librados/

I don't know how the g++ binary gets onto the test nodes, i.e. whether preinstalled in the image or via ceph-cm-ansible, but I do know that it is possible to run g++ in Ubuntu, but the CentOS and RHEL images don't have it:

2018-09-14T17:18:25.169 INFO:tasks.workunit.client.0.smithi184.stderr:+ make all-system
2018-09-14T17:18:25.170 INFO:tasks.workunit.client.0.smithi184.stdout:g++ -std=c++11 -Wno-unused-parameter -Wall -Wextra -Werror -g   -o hello_world_cpp hello_world.cc -lrados -lradosstriper
2018-09-14T17:18:25.171 INFO:tasks.workunit.client.0.smithi184.stderr:make: g++: Command not found
2018-09-14T17:18:25.171 INFO:tasks.workunit.client.0.smithi184.stderr:make: *** [hello_world_cpp] Error 127

See:


Related issues

Related to Ceph - Feature #15100: qa: test building a librados application Resolved 03/12/2016

History

#1 Updated by Nathan Cutler over 5 years ago

  • Subject changed from Cannot run g++ on RHEL test nodes to Cannot run g++ on CentOS/RHEL test nodes

#2 Updated by Nathan Cutler over 5 years ago

  • Description updated (diff)

#3 Updated by Nathan Cutler over 5 years ago

  • Related to Feature #15100: qa: test building a librados application added

#4 Updated by David Galloway over 5 years ago

  • Category set to Test Node
  • Status changed from New to Fix Under Review
  • Assignee set to David Galloway

#5 Updated by David Galloway over 5 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF