Add tenant id to /etc/guest_info

Bug #1235039 reported by Steve Leon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Undecided
Steve Leon

Bug Description

We need to know the tenant id that guest agents belong to. This is helpful to track and monitor guests agent for billing and/or logging purposes

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

Fix proposed to branch: master
Review: https://review.openstack.org/49671

Changed in trove:
assignee: nobody → Steve Leon (steve-leon)
status: New → In Progress
Revision history for this message
Illia Khudoshyn (ikhudoshyn) wrote :

Do we really need it? I mean it's better to have all the billing server-side (Pls keep in mind upcoming conductor, so GA will not access DB directly) and we can easily obtain tenant id by guest id. The same is true for logging: for server-side logging we already have it and for GA side - there is no other guest agents anyway.
But if you have a real use case when you need tenant id on GA side, pls share it -- I may be missing something.

Revision history for this message
Steve Leon (steve-leon) wrote :

Hi Illia,

I understand where you coming from but i forgot one important use case we need this for. Our guest-agent deployer needs to identify whose tenant the guest-agent belongs to. It is needed to allow certain tenants (with high privileges or who are paying more) to different type of mysql configuration (different my.conf).

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/49671
Committed: http://github.com/openstack/trove/commit/c919f2c35fb8836ec3f0ccd0211a3458fd562ad3
Submitter: Jenkins
Branch: master

commit c919f2c35fb8836ec3f0ccd0211a3458fd562ad3
Author: Steve Leon <email address hidden>
Date: Thu Oct 3 20:55:12 2013 -0700

    Add tenant id to guest_info file

    Fixes bug 1235039

    Change-Id: I358fe58bbe343cdf65b18b391196d36d4647b35e

Changed in trove:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in trove:
milestone: none → icehouse-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in trove:
milestone: icehouse-1 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.