← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1834371] [NEW] instance-data : string value makes querying difficult

 

Public bug reported:

I have a use-case where I need to query the metadata that was passed on
creating the instance and use those values as variables in my cloud-
config.

However, ds.meta_data.instance_data is a string, hence making it not
query-able from cloud-config. Just removing the enclosing quotes and the
escaping around the quotes within the actual dictionary itself makes the
instance_data field easily query-able.

Please consider making the instance_data field a query-able field?

Environment Information :
Operating System : Ubuntu 18.04.2 LTS
Cloud Init : 19.1-1-gbaa47854-0ubuntu1~18.04.1

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1834371

Title:
  instance-data : string value makes querying difficult

Status in cloud-init:
  New

Bug description:
  I have a use-case where I need to query the metadata that was passed
  on creating the instance and use those values as variables in my
  cloud-config.

  However, ds.meta_data.instance_data is a string, hence making it not
  query-able from cloud-config. Just removing the enclosing quotes and
  the escaping around the quotes within the actual dictionary itself
  makes the instance_data field easily query-able.

  Please consider making the instance_data field a query-able field?

  Environment Information :
  Operating System : Ubuntu 18.04.2 LTS
  Cloud Init : 19.1-1-gbaa47854-0ubuntu1~18.04.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1834371/+subscriptions


Follow ups