On Wed, Dec 22, 2010 at 8:52 PM, Carl Trieloff <cctrieloff(a)redhat.com> wrote:
Note that I have not yet updated the makefile, as I still pull a function
from hosts.h, note the TBD in
the code next to this line.
For the short term, we can change it to use "get_hostname()" from
utilities.h and drop the dependency on mhost.
This is probably a reasonable baseline if we
want to commit it.
I think what I'd like to do at this point is take everything except
the agent and schema.
Unless I'm missing the intention of
+// do post boot whada..
+// bla bla
+
+// Insert code here....
the agent isn't fully functional yet.
So we're probably not adding much value by rushing it into the
upcoming release.
Better to wait and include a completed agent in the next one.
Did we get sign-off from Dimitri on the use of console sessions within
the agent?
Output from a test run showing the full lifecycle working correctly:
(pre_register)
Agent cache:{_instance:6937c86b-fcae-405c-bde3-5d545ac3bd62,
_name:matahariproject.org:mantahari-config:6937c86b-fcae-405c-bde3-5d545ac3bd62,
_product:mantahari-config,
_vendor:matahariproject.org, cache:True,
heartbeat_interval:60, qmf.agent_capability:1,
schemaUpdated:1293027624423704932, timestamp:1293027628574731257}
Cache result [0]:{config_xml:config... fooo, status:Pending, uuid:myuuid}
(guest waiting for config from cache)
Agent machine:{_instance:6cedfeb4-3fbd-47d1-acf3-3d406170682b,
_name:matahariproject.org:mantahari-config:6cedfeb4-3fbd-47d1-acf3-3d406170682b,
_product:mantahari-config,
_vendor:matahariproject.org, cache:False,
heartbeat_interval:60, qmf.agent_capability:1,
schemaUpdated:1293027640289416415, timestamp:1293027640334367174}
Cache result [0]:{my_conf_addr:cctrieloff, status:Waiting for configuration
from cache, uuid:myuuid}
(Cache and guest updated and synced)
Agent cache:{_instance:6937c86b-fcae-405c-bde3-5d545ac3bd62,
_name:matahariproject.org:mantahari-config:6937c86b-fcae-405c-bde3-5d545ac3bd62,
_product:mantahari-config,
_vendor:matahariproject.org, cache:True,
heartbeat_interval:60, qmf.agent_capability:1,
schemaUpdated:1293027624423704932, timestamp:1293027628574731257}
Cache result
[0]:{config_hosts:matahariproject.org:mantahari-config:6937c86b-fcae-405c-bde3-5d545ac3bd62,
config_xml:config... fooo, my_conf_addr:cctrieloff, parameter_map:<void>,
status:Synced and running, uuid:myuuid}
Agent machine:{_instance:6cedfeb4-3fbd-47d1-acf3-3d406170682b,
_name:matahariproject.org:mantahari-config:6cedfeb4-3fbd-47d1-acf3-3d406170682b,
_product:mantahari-config,
_vendor:matahariproject.org, cache:False,
heartbeat_interval:60, qmf.agent_capability:1,
schemaUpdated:1293027640289416415, timestamp:1293027640334367174}
Cache result
[0]:{config_hosts:matahariproject.org:mantahari-config:6937c86b-fcae-405c-bde3-5d545ac3bd62,
config_xml:config... fooo, my_conf_addr:cctrieloff, status:Synced and
running, uuid:myuuid}
_______________________________________________
Matahari mailing list
Matahari(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/matahari