Dynamic Types
Heiko W.Rupp
hrupp at redhat.com
Thu Oct 21 20:31:16 UTC 2010
Hi,
a lot of our current functionality assumes that fixed types are already present
in the system via the plugin-descriptor.
Now with the dynamic type work by Alex the game has changed: there is
a ChildTypeDiscoveryFacet that can detect new resource types and ChildTypeDiscovery
classes can find resources of that type and the world is good again :)
But after a pc/agent restart, the type is not know (anymore), but resources of the
type are commited in the server, which leads to situations like this:
2010-10-21 22:25:00,360 DEBUG [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Merging [Resource[id=10411, type=FooBar, key=nagiosKey at Nr: foo, name=nagiosKey at Nr: foo, parent=Nagios at pickeldi:6557]] into local inventory...
2010-10-21 22:25:00,360 ERROR [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Unable to merge Resource Resource[id=10411, type=FooBar, key=nagiosKey at Nr: foo, name=nagiosKey at Nr: foo, parent=Nagios at pickeldi:6557] - its type is unknown - perhaps the [NagiosMonitor] plugin jar was manually removed from the Server's rhq-plugins dir?
Is there an (easy) way to reconnect the resources to the type once the type got re-discovered as described above?
Thanks
Heiko
--
Reg. Adresse: Red Hat GmbH, Otto-Hahn-Strasse 20, 85609 Dornach bei München
Handelsregister: Amtsgericht München HRB 153243
Geschaeftsführer: Brendan Lane, Charlie Peters, Michael Cunningham, Charles Cachera
More information about the rhq-devel
mailing list