Apologies. This is fixed in 3.7.2.

On 7 Jul 2010, at 19:07, Natxo Asenjo wrote:

hi,

when I try to delete a host clicking on the dustbin next to the host,
I get this error:

Opsview error: DBIx::Class::Relationship::CascadeActions::delete():
DBI Exception: DBD::mysql::st execute failed: Cannot delete or update
a parent row: a foreign key constraint fails (`opsview/snmpwalkcache`,
CONSTRAINT `snmpwalkcache_hosts_fk` FOREIGN KEY (`hostid`) REFERENCES
`hosts` (`id`)) [for Statement "DELETE FROM hosts WHERE ( id = ? )"
with ParamValues: 0='2'] at
/usr/local/opsview-web/script/../lib/Opsview/Web/ControllerBase/Admin.pm
line 298

This is on the community edition, version 3.7.1, running on debian
lenny fully patched.
--
Groeten,
natxo asenjo
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users


Ton Voon
Product Architect



Global Headquarters: Unit 69 Suttons Business Park | Reading | Berkshire | RG6 1AZ | UK

UK:      +44 (0) 845 057 7887
USA:     +1 866 879 9184
Email:    [email protected]
Skype:   tonvoon
Web:     www.opsview.com

This e-mail is confidential, intended only for the named recipient(s) above and may contain information that is privileged and confidential. If you receive this message in error, or are not the named recipient(s), please notify the sender at the phone number above, do not copy this message, do not disclose its contents to anyone, and delete this e-mail message from your computer. Although we routinely screens for viruses, addressees should scan this e-mail and any attachments for viruses. Opsera makes no representation or warranty as to the absence of viruses in this e-mail or any attachments.

_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to