Bug 1265528 - App shows gear info incorrectly after moved to node with different profile
Summary: App shows gear info incorrectly after moved to node with different profile
Keywords:
Status: CLOSED EOL
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 2.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Timothy Williams
QA Contact: Yanping Zhang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-23 07:22 UTC by Yanping Zhang
Modified: 2017-01-13 22:30 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-13 22:30:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Yanping Zhang 2015-09-23 07:22:59 UTC
Description of problem:
After move a small gear to medium profile node, the "rhc app show <appname>" still shows gear info with small profile.(Same when move medium gear to small profile node).

Version-Release number of selected component (if applicable):
OpenShiftEnterpriseErrata/2.2/2015-09-22.1/

How reproducible:
Always

Steps to Reproduce:
1.Create app with small gear.
# rhc app create phptest php-5.4 -g small
2.Move the small gear to a medium profile node.
# oo-admin-move --gear_uuid dom1-phptest-1 -p medium --change_district
3.Show the app.
# rhc app show phptest
4.Show the app with -g option.
# rhc app show phptest -g

Actual results:
1.Create app successfully.
2.Move gear to medium profile node successfully.
3.It shows gear info with small profile
# rhc app show phptest
phptest @ http://phptest-dom1.ose22-auto.com.cn/ (uuid: 5602170682611db5f2000c80)
---------------------------------------------------------------------------------
  Domain:     dom1
  Created:    11:05 AM
  Gears:      1 (defaults to small)
  Git URL:    ssh://dom1-phptest-1.com.cn/~/git/phptest.git/
  SSH:        dom1-phptest-1.com.cn
  Deployment: auto (on git push)

  php-5.4 (PHP 5.4)
  -----------------
    Gears: 1 small

4.Show gear info with medium profile correctly
# rhc app show phptest -g
ID             State   Cartridges Size   SSH URL
-------------- ------- ---------- ------ ---------------------------------------------
dom1-phptest-1 started php-5.4    medium dom1-phptest-1.com.cn



Expected results:
3.In the app info, the gear should be medium profile, not small.

Additional info:

Comment 1 Yanping Zhang 2015-09-24 01:12:54 UTC
Check on web, after moving app to another profile node, in app info, it also shows the original gear profile and storage info. The cause may be the same as in client.

Comment 6 Rory Thrasher 2017-01-13 22:30:24 UTC
OpenShift Enterprise v2 has officially reached EoL.  This product is no longer supported and bugs will be closed.

Please look into the replacement enterprise-grade container option, OpenShift Container Platform v3.  https://www.openshift.com/container-platform/

More information can be found here: https://access.redhat.com/support/policy/updates/openshift/


Note You need to log in before you can comment on or make changes to this bug.