Project

General

Profile

Bug #35989

Cannot run g++ on CentOS/RHEL test nodes

Added by Nathan Cutler 11 months ago. Updated 11 months ago.

Status:
Resolved
Priority:
Normal
Category:
Test Node
Target version:
-
Start date:
09/14/2018
Due date:
% Done:

0%

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

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 11 months 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 11 months ago

  • Description updated (diff)

#3 Updated by Nathan Cutler 11 months ago

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

#4 Updated by David Galloway 11 months ago

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

#5 Updated by David Galloway 11 months ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF