[openstack-dev] [nova] Metadata API cross joining "instance_metadata" and "instance_system_metadata"

Sergio A. de Carvalho Jr. scarvalhojr at gmail.com
Mon Oct 22 21:05:24 UTC 2018


https://bugs.launchpad.net/nova/+bug/1799298

On Mon, Oct 22, 2018 at 9:15 PM Sergio A. de Carvalho Jr. <
scarvalhojr at gmail.com> wrote:

> Cool, I'll open a bug then.
>
> I was wondering if, before joining the metadata tables with the rest of
> instance data, we could do a UNION, since both tables are structurally
> identical.
>
> On Mon, Oct 22, 2018 at 9:04 PM Dan Smith <dms at danplanet.com> wrote:
>
>> > Do you guys see an easy fix here?
>> >
>> > Should I open a bug report?
>>
>> Definitely open a bug. IMHO, we should just make the single-instance
>> load work like the multi ones, where we load the metadata separately if
>> requested. We might be able to get away without sysmeta these days, but
>> we needed it for the flavor details back when the join was added. But,
>> user metadata is controllable by the user and definitely of interest in
>> that code, so just dropping sysmeta from the explicit required_attrs
>> isn't enough, IMHO.
>>
>> --Dan
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20181022/6ea7e893/attachment.html>


More information about the OpenStack-dev mailing list