← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1192675] Re: smithy -a start doesn't detect errors

 

** Changed in: anvil
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to anvil.
https://bugs.launchpad.net/bugs/1192675

Title:
  smithy -a start doesn't detect errors

Status in ANVIL for forging OpenStack.:
  Fix Released

Bug description:
  Using anvil, stable/grizzly branch, RHEL6.2.

  When I ran ./smithy -a start, I got the happy cow (or whatever it was
  at the end).

  However, the output actually showed several errors:

  INFO: @anvil.components.base_runtime : Starting program api-metadata under component nova.
  ERROR: @anvil.components.base_runtime : Failed to start program api-metadata under component nova.
  INFO: @anvil.components.base_runtime : Starting program compute under component nova.
  INFO: @anvil.components.base_runtime : Starting program network under component nova.
  INFO: @anvil.components.base_runtime : Starting program conductor under component nova.
  INFO: @anvil.components.base_runtime : Starting program api-ec2 under component nova.
  ERROR: @anvil.components.base_runtime : Failed to start program api-ec2 under component nova.
  INFO: @anvil.components.base_runtime : Starting program scheduler under component nova.
  INFO: @anvil.components.base_runtime : Starting program api-os-compute under component nova.
  ERROR: @anvil.components.base_runtime : Failed to start program api-os-compute under component nova.

  The above are serious errors.

  This one, however, is fine:

  ERROR: @anvil.components.helpers.glance : Installing 'http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-disk.img' fail
  ed due to: Image named cirros-0.3.1-x86_64-disk already exists.
  Traceback (most recent call last):
    File "/home/rloo/anvil/anvil/components/helpers/glance.py", line 451, in install
      (name, img_id) = img_handle.install()
    File "/home/rloo/anvil/anvil/components/helpers/glance.py", line 399, in install
      img_id = self._register(tgt_image_name, unpack_info)
    File "/home/rloo/anvil/anvil/components/helpers/glance.py", line 322, in _register
      self._check_name(image_name)
    File "/home/rloo/anvil/anvil/components/helpers/glance.py", line 280, in _check_name
      raise IOError("Image named %s already exists." % (name))
  IOError: Image named cirros-0.3.1-x86_64-disk already exists.

  I guess if it isn't easy to flag certain ERRORs, maybe it should spit
  out something about 'Cannot determine if everything started properly;
  check this output for ERRORs'.

To manage notifications about this bug go to:
https://bugs.launchpad.net/anvil/+bug/1192675/+subscriptions