Public bug reported:

Description
===========

sync_guest_time relies on qemu guest agent.

If hw_qemu_guest_agent is not set, we'll get:

DEBUG nova.virt.libvirt.guest Failed to set time: agent not configured

if sync_guest_time is called.

We could improve this by checking whether qga is enabled,
other than call libvirt and catch a exception.

Steps to reproduce
==================
1) start a VM without hw_qemu_geust_agent
2) pause that VM then unpause
3) check the log of nova-compute


Expected result
===============
No related logs

Actual result
=============
Got a error log: Failed to set time: agent not configured

** Affects: nova
     Importance: Undecided
     Assignee: Chen Hanxiao (chenhanxiao)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Chen Hanxiao (chenhanxiao)

-- 
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/1738997

Title:
  don't call sync_guest_time if qga is not enabled

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ===========

  sync_guest_time relies on qemu guest agent.

  If hw_qemu_guest_agent is not set, we'll get:

  DEBUG nova.virt.libvirt.guest Failed to set time: agent not configured

  if sync_guest_time is called.

  We could improve this by checking whether qga is enabled,
  other than call libvirt and catch a exception.

  Steps to reproduce
  ==================
  1) start a VM without hw_qemu_geust_agent
  2) pause that VM then unpause
  3) check the log of nova-compute

  
  Expected result
  ===============
  No related logs

  Actual result
  =============
  Got a error log: Failed to set time: agent not configured

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to