Bug 1118417
Summary: | Unable to add new nodes to old districts | |||
---|---|---|---|---|
Product: | OpenShift Online | Reporter: | Stefanie Forrester <dakini> | |
Component: | Pod | Assignee: | Abhishek Gupta <abhgupta> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 2.x | CC: | jhou, jokerman, mmccomas | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1118862 (view as bug list) | Environment: | ||
Last Closed: | 2014-10-10 00:48:30 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1118862 |
Description
Stefanie Forrester
2014-07-10 16:19:53 UTC
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/11632afde2d6b407ef1a6fe217e31b9cc0f5ce88 Bug 1118417: Using default district platform when missing Looked into this PR and bug desc, I think this raise because the old districts do not have 'platform' attribute. Verified this bug on devenv-stage_910 with following steps 1. Create a district 2. Remove the 'platform' fied in district collection in mongo ip-10-111-162-53(mongod-2.4.6)[PRIMARY] openshift_broker_dev> db.districts.update({name:'test'},{$unset:{platform:1}}) Updated 1 existing record(s) in 1ms ip-10-111-162-53(mongod-2.4.6)[PRIMARY] openshift_broker_dev> db.districts.find({},{available_uids:0}) { "_id": ObjectId("53c629535b990c78e5000001"), "active_servers_size": 0, "available_capacity": 6000, "created_at": ISODate("2014-07-16T07:27:15.266Z"), "gear_size": "small", "max_capacity": 6000, "max_uid": 6999, "name": "test", "updated_at": ISODate("2014-07-16T07:27:15.266Z"), "uuid": "9c1fac2c0cba11e4af80cafa18121884" } Fetched 1 record(s) in 1ms 3. Add new node [root@ip-10-111-162-53 ~]# oo-admin-ctl-district -n test -c add-node -i ip-10-111-162-53 Success for node 'ip-10-111-162-53'! {"_id"=>"53c629535b990c78e5000001", "active_servers_size"=>1, "available_capacity"=>6000, "available_uids"=>"<6000 uids hidden>", "created_at"=>2014-07-16 07:27:15 UTC, "gear_size"=>"small", "max_capacity"=>6000, "max_uid"=>6999, "name"=>"test", "servers"=> [{"_id"=>"53c62a2c748d8d5cc7000001", "active"=>true, "name"=>"ip-10-111-162-53", "unresponsive"=>false}], "updated_at"=>2014-07-16 07:27:15 UTC, "uuid"=>"9c1fac2c0cba11e4af80cafa18121884"} |