Page MenuHomePhabricator

nova: can we expose the creator and virt host of VMs to the public?
Closed, ResolvedPublic

Description

This info is available to people with admin creds; I wonder if there's just a policy change or something that will get this info in Horizon and eventually OpenStackBrowser.

Event Timeline

It looks like user_id is already public; revealing the virt host may be just a policy change to extended_server_attributes; I'll make some tests.

Yeah we can already see the creator info.

Change 470540 had a related patch set uploaded (by Andrew Bogott; owner: Andrew Bogott):
[operations/puppet@production] nova-api: Allow everyone to view the hypervisor for a given VM

https://gerrit.wikimedia.org/r/470540

Change 470540 merged by Andrew Bogott:
[operations/puppet@production] nova-api: Allow everyone to view the hypervisor for a given VM

https://gerrit.wikimedia.org/r/470540

Andrew claimed this task.

Now in Horizon I see "Host cloudvirt1018" in the server overview page. So I think this is done!

I can see the info through the API, but not horizon. maybe something like https://gerrit.wikimedia.org/r/470617 ?

Change 470647 had a related patch set uploaded (by Andrew Bogott; owner: Andrew Bogott):
[openstack/horizon/horizon@master] Server overview: display the hypervisor name

https://gerrit.wikimedia.org/r/470647

Change 470648 had a related patch set uploaded (by Andrew Bogott; owner: Andrew Bogott):
[openstack/horizon/horizon@ocata] Server overview: display the hypervisor name

https://gerrit.wikimedia.org/r/470648

Change 470647 merged by Andrew Bogott:
[openstack/horizon/horizon@master] Server overview: display the hypervisor name

https://gerrit.wikimedia.org/r/470647

Change 470648 merged by Andrew Bogott:
[openstack/horizon/horizon@ocata] Server overview: display the hypervisor name

https://gerrit.wikimedia.org/r/470648

Change 470649 had a related patch set uploaded (by Andrew Bogott; owner: Andrew Bogott):
[openstack/horizon/deploy@ocata] horizon: update horizon submodule

https://gerrit.wikimedia.org/r/470649

Change 470649 merged by Andrew Bogott:
[openstack/horizon/deploy@ocata] horizon: update horizon submodule

https://gerrit.wikimedia.org/r/470649

Mentioned in SAL (#wikimedia-operations) [2018-10-30T18:10:42Z] <andrew@deploy1001> Started deploy [horizon/deploy@ce0b9b4]: Rolling out fix for T208099

Mentioned in SAL (#wikimedia-operations) [2018-10-30T18:14:01Z] <andrew@deploy1001> Finished deploy [horizon/deploy@ce0b9b4]: Rolling out fix for T208099 (duration: 03m 19s)

OpenStack browser has been updated to show the hypervisor in the VM list today (this information is already in the server view).

Examples:

Indeed that is shown in Horizon as well now:

horizon_host_display.png (286×497 px, 30 KB)

antoine-approve