← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1367741] Re: The `fault` should be included to log error message when vmware error happens

 

This is an automated cleanup. This bug report has been closed because it
is older than 18 months and there is no open code change to fix this.
After this time it is unlikely that the circumstances which lead to
the observed issue can be reproduced.

If you can reproduce the bug, please:
* reopen the bug report (set to status "New")
* AND add the detailed steps to reproduce the issue (if applicable)
* AND leave a comment "CONFIRMED FOR: <RELEASE_NAME>"
  Only still supported release names are valid (LIBERTY, MITAKA, OCATA, NEWTON).
  Valid example: CONFIRMED FOR: LIBERTY


** Changed in: nova
   Importance: Low => Undecided

** Changed in: nova
       Status: Confirmed => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1367741

Title:
  The `fault` should be included to log error message when vmware error
  happens

Status in OpenStack Compute (nova):
  Expired
Status in oslo.vmware:
  Confirmed

Bug description:
  ... because it can contain important information. For example:

  (TaskInfo){
     key = "task-34928"
     task = 
        (task){
           value = "task-34928"
           _type = "Task"
        }
     description = 
        (LocalizableMessage){
           key = "com.vmware.vim.vpxd.vpx.vmprov.CreateDestinationVm"
           message = "Copying Virtual Machine configuration"
        }
     name = "CreateVM_Task"
     descriptionId = "Folder.createVm"
     entity = 
        (entity){
           value = "group-v3"
           _type = "Folder"
        }
     entityName = "vm"
     state = "error"
     cancelled = False
     cancelable = False
     error = 
        (LocalizedMethodFault){
           fault = 
              (PlatformConfigFault){
                 text = "Failed to attach port"
              }
           localizedMessage = "An error occurred during host configuration."
        }
     reason = 
        (TaskReasonUser){
           userName = "root"
        }
     queueTime = 2014-09-10 12:46:48.283593
     startTime = 2014-09-10 12:46:48.290384
     completeTime = 2014-09-10 12:46:49.798797
     eventChainId = 157130
   }

  Currently, only the localizedMessage is used to produce the log line
  in nova/virt/vmwareapi/driver.py  _poll_task(). In this case, the
  message is too general. The important reason is said in the
  error.fault.text, so It should be reported as well.

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


References