← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1516158] Re: os-instance_usage_audit_log is used instead of os-instance-usage-audit-log

 

Reviewed:  https://review.openstack.org/246383
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=80e2386a51d6a02034ca731e4906a13bcaca096a
Submitter: Jenkins
Branch:    master

commit 80e2386a51d6a02034ca731e4906a13bcaca096a
Author: Sean Dague <sean@xxxxxxxxx>
Date:   Tue Nov 17 08:20:23 2015 -0500

    fix os-instance_usage_audit_log name
    
    os-instance-usage-audit-log is not a resource, it's actually
    os-instance_usage_audit_log. Why is kind of unclear, but that's what
    we've got at this point.
    
    We should fix the docs to be accurate to the code.
    
    Change-Id: Ie9d60990c44d9571b87fe9403a3860be682ef929
    Closes-Bug: #1516158


** Changed in: openstack-api-site
       Status: Confirmed => Fix Released

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

Title:
  os-instance_usage_audit_log is used instead of os-instance-usage-
  audit-log

Status in OpenStack Compute (nova):
  Won't Fix
Status in openstack-api-site:
  Fix Released

Bug description:
  os-instance-usage-audit-log is not being used, os-instance_usage_audiog is , 
  this is really weird

  curl -g -i -X GET
  http://192.168.122.239:8774/v2.1/d1c5aa58af6c426492c642eb649017be/os-
  instance-usage-audit-log -H "User-Agent: python-novaclient" -H
  "Content-Type: application/json" -H "Accept: application/json" -H "X
  -OpenStack-Nova-API-Version: 2.6" -H "X-Auth-Token:
  2832457c94bd485094ffba70206208dc"

  404 Not Found

  The resource could not be found.

  
  curl -g -i -X GET http://192.168.122.239:8774/v2.1/d1c5aa58af6c426492c642eb649017be/os-instance_usage_audiog -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-OpenStack-Nova-API-Version: 2.6" -H "X-Auth-Token: 2832457c94bd485094ffba70206208dc"

  {"instance_usage_audit_logs": {"total_errors": 0, "total_instances":
  0, "log": {}, "num_hosts_running": 0, "num_hosts_done": 0,
  "num_hosts_not_run": 1, "hosts_not_run": ["devstack1"],
  "overall_status": "0 of 1 hosts done. 0 errors.", "period_ending":
  "2015-11-01 00:00:00", "period_beginning": "2015-10-01 00:00:00",
  "num_hosts": 1}}

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


References