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