Description of problem: Execute oo-app-info, and the program is broken with error "Loading broker environment... /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require': cannot load such file -- app_info" Version-Release number of selected component (if applicable): On devenv_4016 How reproducible: Always Steps to Reproduce: 1. Create an application rhc create-app r19 ruby-1.9 2. ssh into the instance, run oo-app-info oo-app-info -a r19 -d jhou -l jhou Actual results: After step 2: [root@ip-10-152-179-2 plugins.d]# oo-app-info -a r19 -d jhou -l jhou Loading broker environment... /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require': cannot load such file -- app_info (LoadError) from /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require' from /usr/sbin/oo-app-info:95:in `<main>' Expected results: Should execute successfully. Additional info:
tdawson: Should this be an oo-admin command for consistency?
I'm sorry, I only tested this on F19, not RHEL (with SCL) machines. I'll get that library fixed.
https://github.com/openshift/origin-server/pull/4179
This is fixed on devenv_4027 [root@ip-10-151-120-101 ~]# oo-app-info -a php1 -d jhou -l jhou --gear_uuid 5283104951b0a0bbc1000006 Loading broker environment... Done. ================================================================================ Login: jhou Plan: silver (ACTIVE) App Name: php1 App UUID: 5283104951b0a0bbc1000006 Creation Time: 2013-11-13 05:38:17 AM URL: http://php1-jhou.dev.rhcloud.com Group Instance[0]: Components: Cartridge Name: php-5.3 Component Name: php-5.3 Cartridge Name: mongodb-2.2 Component Name: mongodb-2.2 Gear[0] Server Identity: ip-10-151-120-101 Gear UUID: 5283104951b0a0bbc1000006 Gear UID: 1887 Current DNS ----------- php1-jhou.dev.rhcloud.com is an alias for ec2-54-221-41-129.compute-1.amazonaws.com. ec2-54-221-41-129.compute-1.amazonaws.com has address 10.151.120.101 ================================================================================