Deleted VMs lingering in domain_list #16

Closed
opened 2018-08-08 13:39:58 -04:00 by JoshuaBoniface · 7 comments
JoshuaBoniface commented 2018-08-08 13:39:58 -04:00 (Migrated from git.bonifacelabs.ca)
e43c838a-a613-4391-a778-4fabaa064416
Traceback (most recent call last):
  File "pvc/pvc.py", line 1672, in <module>
    main()
  File "pvc/pvc.py", line 1669, in main
    return cli(obj={})
  File "/usr/lib/python3/dist-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3/dist-packages/click/core.py", line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3/dist-packages/click/core.py", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "pvc/pvc.py", line 677, in node_list
    duuid, dname, dmemory, dvcpu, dvcputopo = getDomainMainDetails(parsed_xml)
  File "pvc/pvc.py", line 75, in getDomainMainDetails
    duuid = str(parsed_xml.uuid)
AttributeError: 'NoneType' object has no attribute 'uuid'

VM e43c838a-a613-4391-a778-4fabaa064416 was previously created and deleted but is still present in the node list and hence throwing this error, even though there is no ZK entry for it.

``` e43c838a-a613-4391-a778-4fabaa064416 Traceback (most recent call last): File "pvc/pvc.py", line 1672, in <module> main() File "pvc/pvc.py", line 1669, in main return cli(obj={}) File "/usr/lib/python3/dist-packages/click/core.py", line 716, in __call__ return self.main(*args, **kwargs) File "/usr/lib/python3/dist-packages/click/core.py", line 696, in main rv = self.invoke(ctx) File "/usr/lib/python3/dist-packages/click/core.py", line 1060, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3/dist-packages/click/core.py", line 1060, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3/dist-packages/click/core.py", line 889, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3/dist-packages/click/core.py", line 534, in invoke return callback(*args, **kwargs) File "pvc/pvc.py", line 677, in node_list duuid, dname, dmemory, dvcpu, dvcputopo = getDomainMainDetails(parsed_xml) File "pvc/pvc.py", line 75, in getDomainMainDetails duuid = str(parsed_xml.uuid) AttributeError: 'NoneType' object has no attribute 'uuid' ``` VM e43c838a-a613-4391-a778-4fabaa064416 was previously created and deleted but is still present in the node list and hence throwing this error, even though there is no ZK entry for it.
JoshuaBoniface commented 2018-08-09 01:26:48 -04:00 (Migrated from git.bonifacelabs.ca)

Fixed by d205ef2072

Fixed by https://git.bonifacelabs.ca/bonifacelabs/pvc/commit/d205ef20725117d434673333f41802548a5b6cdb
JoshuaBoniface commented 2018-08-09 01:26:49 -04:00 (Migrated from git.bonifacelabs.ca)

closed

closed
JoshuaBoniface commented 2018-08-20 11:56:38 -04:00 (Migrated from git.bonifacelabs.ca)

reopened

reopened
JoshuaBoniface commented 2018-08-20 11:56:43 -04:00 (Migrated from git.bonifacelabs.ca)

Still occurring.

Still occurring.
JoshuaBoniface commented 2018-08-20 12:04:22 -04:00 (Migrated from git.bonifacelabs.ca)

mentioned in commit cffb9cff5c

mentioned in commit cffb9cff5cd0d3217f7d53a57cce8023a469b721
JoshuaBoniface commented 2018-10-16 12:32:11 -04:00 (Migrated from git.bonifacelabs.ca)

This should be solved, as it was caused by the ZKWatcher bug keeping the domain object around. It seems to not have reoccurred.

This should be solved, as it was caused by the ZKWatcher bug keeping the domain object around. It seems to not have reoccurred.
JoshuaBoniface commented 2018-10-16 12:32:12 -04:00 (Migrated from git.bonifacelabs.ca)

closed

closed
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: parallelvirtualcluster/pvc#16
No description provided.