*** openstack has joined #senlin | 00:25 | |
*** ChanServ sets mode: +o openstack | 00:25 | |
*** sapd1 has joined #senlin | 00:57 | |
*** sapd1 has quit IRC | 01:02 | |
*** hamalq has quit IRC | 01:30 | |
*** sapd1 has joined #senlin | 01:55 | |
*** sapd1 has quit IRC | 05:21 | |
rm_work | hey, 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_work | if the cluster ID gets injected into the node somehow, that'd be amazing | 05:58 |
rm_work | like, the *instance-id* is in `/var/lib/cloud/data/instance-id` | 05:59 |
rm_work | but that's standard cloud-init | 05:59 |
__ministry | you can't get cluster id in metadata of physical server | 06:13 |
__ministry | ? | 06:13 |
__ministry | In my system, I was get cluster in meta data, sometime, I was make a client openstack to get cluster id | 06:14 |
rm_work | hmm | 06:16 |
rm_work | yeah, it is in 'properties' on the server... | 06:17 |
rm_work | can I view those from *inside* the server? | 06:17 |
rm_work | without querying out to nova, which would require client + auth | 06:18 |
rm_work | found it in a file that's ... not formatted to be human readable | 06:22 |
rm_work | /var/lib/cloud/instances/$INSTANCE_ID/obj.pkl | 06:22 |
rm_work | sweet | 06:25 |
rm_work | `cloud-init query ds.meta_data.meta.cluster_id` | 06:25 |
rm_work | huzzah :D thanks for the pointer to instance meta | 06:26 |
rm_work | __ministry: ^^ might help you even, since it's possible to avoid making real queries to openstack APIs | 06:26 |
__ministry | yep. | 07:05 |
*** sapd1 has joined #senlin | 08:09 | |
*** sapd1 has quit IRC | 08:29 | |
*** sapd1 has joined #senlin | 11:18 | |
*** sapd1 has quit IRC | 11:27 | |
*** __ministry has quit IRC | 12:50 | |
*** __ministry has joined #senlin | 13:21 | |
*** sapd1 has joined #senlin | 13:22 | |
*** spatel_ has joined #senlin | 13:44 | |
*** spatel_ is now known as spatel | 13:44 | |
*** __ministry has quit IRC | 14:00 | |
*** jmlowe has quit IRC | 19:33 | |
*** jmlowe has joined #senlin | 19:36 | |
*** spatel has quit IRC | 20:22 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!