Description of problem: first_uid was added to districts and is isn't really needed Need to remove the field and the migration to add the field to mongo
https://github.com/openshift/origin-server/pull/3744
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/4e9a8b967c4871a8219a5c47e2dd7f2ebfa915f8 Bug 1013788 - Remove first_uid from district model
Commit pushed to master at https://github.com/openshift/li https://github.com/openshift/li/commit/c0de83f48c02fccf683a867c2d2f47a47fc829f9 Bug 1013788 - Remove migration for adding first_uid to district model
How does QA go about verifying this?
It can be verified in the following ways: 1) Using the mongo shell (or the output of oo-admin-ctl-district) districts created do not have a first_uid field. 2) Given the above on a district node, verify that both facter on the node and /var/lib/openshift/.settings/district.info still have a first_uid field that matches the DISTRICT_FIRST_UID setting on the broker.
Verified on devenv_3871 first_uid matches on penshift-origin-msg-broker-mcollective-dev.conf and district.info, the corresponding field does not exist in mongodb. [root@ip-10-137-27-77 ~]# grep -i first /etc/openshift/plugins.d/openshift-origin-msg-broker-mcollective-dev.conf DISTRICTS_FIRST_UID=1000 [root@ip-10-137-27-77 ~]# grep -i first /var/lib/openshift/.settings/district.info first_uid=1000 ip-10-137-27-77(mongod-2.4.6)[PRIMARY] openshift_broker_dev> db.districts.find({},{available_uids:0}) { "_id": ObjectId("525366654186a23f71000001"), "active_server_identities_size": 1, "available_capacity": 6000, "created_at": ISODate("2013-10-07T21:56:53.932-0400"), "gear_size": "small", "max_capacity": 6000, "max_uid": 6999, "name": "d1", "server_identities": [ { "name": "ip-10-137-27-77", "active": true } ], "updated_at": ISODate("2013-10-07T21:57:47.310-0400"), "uuid": "525366654186a2094e000001" }