Friday, 2017-01-13

*** openstack has joined #openstack-valence20:30
ntpttrhey lin_yang, I just raised this question on your compose node patch, but where do you think we should be getting the power state of a composed node from?422:43
ntpttrthere's PowerState, but also ComposedNodeState22:43
ntpttrpower state is on after allocation, but it'll say ComposedNodeState: PoweredOff until you hit it with the patch request to power on22:43
ntpttrright now we're getting the info from PowerState, so the nodes are displaying as on when their composednodestate is still poweredoff22:44
lin_yangI think PowerState will only be Poweron/off, or poweringOn/Off, ComposedNodeState will show more status like Allocated/Assembling22:50
lin_yangBecause we combine allocate and assemble into one step, so after compose, ComposedNodeState will be PowerOff22:51
lin_yangI will check the status inconsistent, may be caused by simulator22:51
ntpttryeah maybe it is the simulator..23:10
ntpttrbut it seems odd23:10
lin_yangI cannot access the RSD hardware right now, will check it later23:11
ntpttrsure, np23:16
openstackgerritLin Yang proposed openstack/valence: Align api /nodes with api-ref spec  https://review.openstack.org/41865723:16
ntpttrI'll go check the API spec and see if they document the difference between those two values, so we can figure out which we should care about23:17
lin_yangthanks :)23:17
ntpttrokay the documentation doesn't really clear things up I'm afraid23:18
ntpttrPowerState is the current power state for the node obviously, so it seems like that's what we should go with23:19
ntpttrand composed node state is the current assembly process23:19
ntpttrbut composed node state can be PoweredOff as well as PoweredOn, which it says mean 'node successfully assembled and powered on'23:19
ntpttrperhaps PowerState is just for the underlying system, wheras composed node state has to do with the assembled node being powered on and useable as the node itsel23:20
lin_yangit's confusing to me if it implement by designed in this way23:21
ntpttrme too. Maybe Priyank or someone from the pod manager side would know23:22

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!