Project

General

Profile

Bug #35989

Updated by Nathan Cutler over 5 years ago

#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, Ubuntu and CentOS, but the CentOS and RHEL images don't have it: 

 <pre>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 
 </pre> 

 See: 

 * RHEL run: http://pulpito.ceph.com/smithfarm-2018-09-14_16:55:55-rados-master-distro-basic-smithi/ 
 * CentOS run: http://pulpito.ceph.com/smithfarm-2018-09-14_19:22:48-rados-master-distro-basic-smithi/ 
 * Ubuntu run (for comparison): http://pulpito.ceph.com/smithfarm-2018-09-14_16:54:14-rados-master-distro-basic-smithi/ 
 * http://tracker.ceph.com/issues/15100 
 * https://github.com/ceph/ceph/pull/23131

Back