Bug 663779
Summary: | The config/classad variables WallabyFeatures and WallabyGroups are not being populated on config update | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise MRG | Reporter: | Erik Erlandson <eerlands> | ||||||
Component: | condor-wallaby-tools | Assignee: | Robert Rati <rrati> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Lubos Trilety <ltrilety> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | Development | CC: | ltrilety, matt | ||||||
Target Milestone: | 1.3.2 | Keywords: | FutureFeature | ||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | condor-wallaby-client-3.8-6 | Doc Type: | Enhancement | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2011-02-15 13:02:09 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Erik Erlandson
2010-12-16 20:04:04 UTC
Created attachment 469211 [details]
Dump of the wallaby store used during the scenario
Created attachment 469212 [details]
tarball of my config.d from scenario
I added some log output to WallabyHelpers.get_node_features(), and it looks like node.memberships is from the "current" config, as opposed to the config that is incoming. # when I activate a config including group GridScaleTestMicro: 12/16 16:23:14 INFO: Retrieving configuration version "1292541793631614" from the store 12/16 16:23:15 INFO: in get_node_features 12/16 16:23:15 INFO: id_name= +++1d1676d34b812e185c99321e43602092 12/16 16:23:15 INFO: group_list= [u'+++1d1676d34b812e185c99321e43602092', '+++DEFAULT'] 12/16 16:23:15 INFO: list= [] 12/16 16:23:15 INFO: list= [] 12/16 16:23:15 INFO: list= [] # next, when I activate a config that does *not* include group GridScaleTestMicro: 12/16 16:24:25 INFO: Retrieving configuration version "1292541863832308" from the store 12/16 16:24:25 INFO: in get_node_features 12/16 16:24:25 INFO: id_name= +++1d1676d34b812e185c99321e43602092 12/16 16:24:25 INFO: group_list= [u'+++1d1676d34b812e185c99321e43602092', u'GridScaleTestMicro', '+++DEFAULT'] 12/16 16:24:25 INFO: list= [] 12/16 16:24:25 INFO: list= [] 12/16 16:24:26 INFO: list= [] 12/16 16:24:26 INFO: list= [] The issue is that the groups and features are retrieved from an attribute on the node obj, but get_config was not guaranteeing the local version of the node object was updated. get_config will now call node.update before it accesses any attributes on the node object. Unable to reproduce on previous version, because it's a new feature. Also unable to reproduce on devel version of condor from 22.11. till 22.12. because they are not working correctly.
Works fine on version:
condor-wallaby-client-3.8-8
Tested on:
RHEL5 i386,x86_64 - passed
>>> VERIFIED
|