Code review comment for lp:~nuclearbob/utah/consolidate-scripts

Revision history for this message
Javier Collado (javier.collado) wrote :

When trying to provision a VM, I got the following traceback:

Unhandled error in UTAH:
Traceback (most recent call last):
  File "examples/run_utah_tests.py", line 216, in <module>
    exitstatus = timeout(config.jobtimeout, run_utah_tests)
  File "utah/timeout.py", line 65, in timeout
    return command(*args, **kw)
  File "examples/run_utah_tests.py", line 205, in run_utah_tests
    exitstatus, locallogs = run_tests(args, _get_machine(args))
  File "examples/run_utah_tests.py", line 187, in _get_machine
    machine = inventory.request(**kw)
  File "utah/provisioning/vm/vm.py", line 570, in request
    return machinetype(machineid=machineid, *args, **kw)
  File "utah/provisioning/vm/vm.py", line 173, in __init__
    self._namesetup()
  File "utah/provisioning/provisioning.py", line 208, in _namesetup
    self.name = self._makename()
  File "utah/provisioning/provisioning.py", line 238, in _makename
    machineid = str(self.machineid)
AttributeError: 'CustomVM' object has no attribute 'machineid'

review: Needs Fixing

« Back to merge proposal