[13:33] <smoser> cn28h, hm...
[13:33] <smoser> actually.
[13:33] <smoser> you might be able to use 'vendordata'
[13:33] <smoser> to accomplish what you want.
[13:34] <smoser> harlowja_away, directory structure ? in a file ?
[13:34] <smoser> it has to be multi-part file. tar would work, but it has to be some sort of archive as user-data is only single thing.
[13:38] <cn28h> smoser: is that an alternative datasource? Trying to find details in the docs
[13:39] <smoser> vendor-data is user-data for vendors
[13:39] <cn28h> hm
[13:39] <smoser> cloud-inti reads from those 2 places
[13:39] <cn28h> ah, I see what you are saying
[13:39] <smoser> the user wins
[13:39] <smoser> but your user (the ap thats using user-data) wont trump anything you're putting into vendor-data.
[13:39] <smoser> you can set vendor-data in openstack
[13:40] <smoser> as implemented in openstack, its static, but the class that does it allows it to be dynamic if you needed that.
[13:40] <smoser> i think you're in the position where you could do that, right ?
[13:40] <smoser> where you could set vendor data 
[13:41] <cn28h> potentially -- the other wrinkle is that the service that's launching the VM instance doesn't allow us to have much control over the details of how they get launched (it's intended to be an abstraction layer with jclouds, but right now only supports openstack so mostly just gets in the way :x)
[13:44] <smoser> cn28h, right. you dont have to.
[13:44] <smoser> vendor-data goes to every instance.
[13:44] <cn28h> oh I see
[13:44] <cn28h> actually that could be pretty useful
[13:45] <cn28h> and vendor data is per tenant I'm hoping?
[13:45] <smoser> well, its global as implemented in openstack.
[13:45] <smoser> basically there is a config option
[13:45] <smoser> that says what class to load
[13:45] <smoser> and by default it loads the one that just reads a static json file on the nova compute host
[13:46] <cn28h> ah, hm
[13:46] <smoser> but you can replace that class with whatever you want and it returns a python dictionary that is then proviced.
[13:46] <smoser> it'd be pretty easy to add your own implementation there, and it has access to stuff it would need to make it per-tenant.
[13:47] <cn28h> yeah, that could be interesting, hm
[13:47] <smoser> https://review.openstack.org/#/c/37964/14
[13:48] <smoser> https://review.openstack.org/#/c/37964/14/nova/api/metadata/base.py
[13:48] <smoser> the class configured in the config file is provided the instance, address, extra_md, network_info.
[13:48] <smoser> i suspet from the instance you can get the user
[13:49] <smoser> tenant
[13:49] <cn28h> aha, cool
[16:18] <suro-patz> With some locally committed modification, I built the rpm using 'make rpm' - Now when I am trying to install the rpm onto RHEL6 system, it is complaining about pyserial, even though I manually installed pyserial-2.6, as the local python version is 2.6.6
[16:18] <suro-patz> Has anybody encountered something similar?
[17:22] <harlowja> suro-patz do u have any more information than that?
[17:22] <harlowja> like what is the error...
[17:22] <harlowja> suro-patz how did u manually install pyserial?
[17:23] <harlowja> smoser maybe a tar file; why couldn't the sturcuture just be userdata/data and child directories if that includes others...
[17:24] <harlowja> with some kind of sequencing of those children so we know the order
[17:24] <harlowja> suro-patz if u manually installed it via pip, well pip and rpm aren't aware of each other (they are different package managers)
[17:25] <smoser> harlowja, for sure we could support tar as the userdata/data format.
[17:25] <smoser> but we'd still want to have a mime-type like info in there.
[17:26] <harlowja> sure; so that could also existing in a data.metdata file or something
[17:26] <harlowja> if we wanted
[17:26] <smoser> right? ie, so your '#!/bin/sh' could be 'boot-hook' or 'user-script'
[17:26] <harlowja> agreed
[17:26] <smoser> we can definitely do that. also there is the other archive format
[17:26] <harlowja> just thinking that regular files with some defined layout could do the same
[17:26] <smoser> cloud-config-archive
[17:26] <smoser> which is something to that effect.
[17:26] <smoser> but tar is an option also.
[17:26] <harlowja> ya, something to think about
[17:27] <harlowja> tar would be nice
[17:27] <smoser> or , as we support and embrace our windows bretheren , zip
[17:27] <smoser> :)
[17:27] <harlowja> hmmm
[17:27] <harlowja> i try not to embrace windows to muhc
[17:27] <harlowja> bill gates and i don't embrace to well
[17:27] <smoser> on interesting thing about mime is that it *is* streaming
[17:27] <harlowja> haven't hugged in a while
[17:27] <alexpilotti> harlowja: I can hear you! :-)
[17:27] <harlowja> :)
[17:27] <smoser> each pice can be operated on and reacted to as its reaad
[17:27] <harlowja> true
[17:28] <smoser> tar is too, but not if you shove an index in it :)
[17:28] <harlowja> alexpilotti do u and billy g. hug alot?
[17:28] <harlowja> or i guess its the new CEO guy
[17:28] <harlowja> whats his name
[17:28] <alexpilotti> Satya
[17:29] <smoser> billy g gives more hugs though
[17:29] <smoser> still
[17:29] <alexpilotti> :-)
[17:29] <smoser> my favorite bill g clip: https://vimeo.com/70498601
[17:31] <harlowja> smoser nice
[17:31] <harlowja> lol
[17:31] <harlowja> billy g so mean, lol
[17:33] <harlowja> smoser alexpilotti claudiupopa u will be in vancouver?
[17:34] <claudiupopa> harlowja: no, I won't be there.
[17:35] <harlowja> durn
[17:36] <suro-patz> harlowja: Yes I had installed pyserial manually using pip. Finally I could go around using —nodeps option for rpm, as I could all the dependencies were present
[17:36] <harlowja> suro-patz ya, u can't mix pip packaging and rpm and expect them to be aware of each other
[17:36] <harlowja> they don't know of each other
[17:37] <harlowja> *since they are independent packaging systems
[17:37] <suro-patz> The error was a simple/generic one - "error: Failed dependencies:
[17:37] <suro-patz> 	pyserial is needed by cloud-init-0.7.7-bzr1083.el6.noarch"
[17:38] <harlowja> yup, thats because of all that i mentioned above
[18:38] <alexpilotti> harlowja: I will be in Vancouver
[18:45] <harlowja> cool