Thursday, 2021-05-20

*** openstack has joined #senlin00:25
*** ChanServ sets mode: +o openstack00:25
*** sapd1 has joined #senlin00:57
*** sapd1 has quit IRC01:02
*** hamalq has quit IRC01:30
*** sapd1 has joined #senlin01:55
*** sapd1 has quit IRC05:21
rm_workhey, anyone know if there's a way to know the cluster ID *on the node*? the image i'm using is spitting out logs to ELK and I would like it to tie back to the cluster...05:57
rm_workif the cluster ID gets injected into the node somehow, that'd be amazing05:58
rm_worklike, the *instance-id* is in `/var/lib/cloud/data/instance-id`05:59
rm_workbut that's standard cloud-init05:59
__ministryyou can't get cluster id in metadata of physical server06:13
__ministry?06:13
__ministryIn my system, I was get cluster in meta data, sometime, I was make a client openstack to get cluster id06:14
rm_workhmm06:16
rm_workyeah, it is in 'properties' on the server...06:17
rm_workcan I view those from *inside* the server?06:17
rm_workwithout querying out to nova, which would require client + auth06:18
rm_workfound it in a file that's ... not formatted to be human readable06:22
rm_work /var/lib/cloud/instances/$INSTANCE_ID/obj.pkl06:22
rm_worksweet06:25
rm_work`cloud-init query ds.meta_data.meta.cluster_id`06:25
rm_workhuzzah :D thanks for the pointer to instance meta06:26
rm_work__ministry: ^^ might help you even, since it's possible to avoid making real queries to openstack APIs06:26
__ministryyep.07:05
*** sapd1 has joined #senlin08:09
*** sapd1 has quit IRC08:29
*** sapd1 has joined #senlin11:18
*** sapd1 has quit IRC11:27
*** __ministry has quit IRC12:50
*** __ministry has joined #senlin13:21
*** sapd1 has joined #senlin13:22
*** spatel_ has joined #senlin13:44
*** spatel_ is now known as spatel13:44
*** __ministry has quit IRC14:00
*** jmlowe has quit IRC19:33
*** jmlowe has joined #senlin19:36
*** spatel has quit IRC20:22

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!