Discussion:
ZenDeviceDump hangs
James Newman
2012-12-19 05:38:01 UTC
Permalink
James Newman [http://community.zenoss.org/people/JimForTheWin] created the discussion

"ZenDeviceDump hangs"

To view the discussion, visit: http://community.zenoss.org/message/70626#70626

--------------------------------------------------------------
Hello all,

I'm having problems with extracting the device details for our platform.  When running the following:

/opt/zenoss/bin/zendevicedump -o /tmp/zenoss_dump.xml


The terminal hangs for a considerable amount of time (enough for me to go and get lunch and come back).  Eventually the following error was dumped out:

Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenRelations/ExportDevices.py", line 229, in <module>
    ex.export()
  File "/opt/zenoss/Products/ZenRelations/ExportDevices.py", line 215, in export
    doc = parseString(buffer.getvalue())
  File "/opt/zenoss/lib/python/_xmlplus/dom/minidom.py", line 1925, in parseString
    return expatbuilder.parseString(string)
  File "/opt/zenoss/lib/python/_xmlplus/dom/expatbuilder.py", line 942, in parseString
    return builder.parseString(string)
  File "/opt/zenoss/lib/python/_xmlplus/dom/expatbuilder.py", line 223, in parseString
    parser.Parse(string, True)
  File "/opt/zenoss/lib/python/_xmlplus/dom/expatbuilder.py", line 787, in start_element_handler
    aname, EMPTY_PREFIX)
  File "/opt/zenoss/lib/python/_xmlplus/dom/minidom.py", line 359, in __init__
    d['childNodes'] = NodeList()


I've tried Googling, and Searching here, but can't seem to find any solutions.

Anyone have any ideas?
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70626#70626]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
James Newman
2012-12-24 10:22:18 UTC
Permalink
James Newman [http://community.zenoss.org/people/JimForTheWin] created the discussion

"Re: ZenDeviceDump hangs"

To view the discussion, visit: http://community.zenoss.org/message/70660#70660

--------------------------------------------------------------
No worries.  Turns out if you leave it long enough (well over two hours) it will eventually complete successfully.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70660#70660]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...