← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 1799154] Re: The fault object not available for some instances in ERROR state

 

Not happening anymore, and everything has changed since then.

** Changed in: auto-package-testing
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of
Canonical's Ubuntu QA, which is subscribed to Auto Package Testing.
https://bugs.launchpad.net/bugs/1799154

Title:
  The fault object not available for some instances in ERROR state

Status in Auto Package Testing:
  Won't Fix

Bug description:
  Recently we started getting spammed by failing autopkgtest-
  cloud/tools/cloud-worker-maintenance runs for 3 clouds. Some of the
  instances that were in the ERROR state and were waiting for getting
  deleted had no 'fault' object in them (which seems to be required by
  the openstack spec?).

  Traceback (most recent call last):
    File "autopkgtest-cloud/tools/cleanup-instances", line 45, in <module>
      logging.warning('instance %s is in error state (message: %s), deleting', instance.name, str(instance.fault))
    File "/usr/lib/python3/dist-packages/novaclient/base.py", line 176, in __getattr__
      raise AttributeError(k)
  AttributeError: fault

  I have fixed that by making cleanup-instances handle the case of ERROR
  state instances with no fault details, but I guess this might be
  something needing additional investigation. Like, is this normal? What
  changed?

To manage notifications about this bug go to:
https://bugs.launchpad.net/auto-package-testing/+bug/1799154/+subscriptions