/srv/irclogs.ubuntu.com/2014/08/12/#cloud-init.txt

nvucinichi guys, is there any way do disable every metadata check except nocloud ?09:48
smoserpquerna, do you have an example of the json ?12:11
smoserthat i can just look at without thinking :)12:11
=== zz_gondoi is now known as gondoi
RaginBajinharmw: I know I owe you  testing your code. I've been distracted, so I haven't been able to upload an image and test it out. I'm hoping I can get to it today or tomorrow. 14:26
harmwRaginBajin: np :)14:26
harmwCris merged my fixes to oz btw, so when using oz you only need to checkout the master branch14:27
harmwor whatever terminlogy github uses14:27
nvucinichello, is there any link on how to configure nocloud option ?14:28
harmwyou mean explicitly use nocloud instead of just looking for something (datasource) that happens to respond? 14:29
nvucinicthere are not other datasources except iso that is mounted on boot14:29
nvuciniciso is automounted on boot14:30
harmwdatasource_list: ['nocloud']14:30
harmwI think you would need to try something like that14:30
harmwin your /etc/cloud/cloud.cfg14:30
nvucinicok, will try that 14:32
nvucinictell me, i need to change instance id every time i mount iso ?14:32
harmwthe instance id only changes when you nuke your instance and create a new one14:33
nvucinicok what is the minimum configuration to see if this is owrking?14:34
nvucinici can change hostname for example14:34
harmwI'm afraid I dont know, I only user datasource openstack14:34
harmwhaven't touched configdrive/nocloud 14:35
nvucinicwell i am trying to change hostname 14:36
nvucinici have added this into my user-data 14:36
nvucinic#cloud-config14:36
nvucinichostname: mynode14:36
nvucinicfqdn: mynode.example.com14:36
nvucinicmanage_etc_hosts: true14:36
nvucinicin meta-data i have only instance-id: iid-1014:37
nvucinicthat should do right?14:37
pquernasmoser: yeah, will grab you a sample from our env this morning.14:45
smosernvucinic, well cloud-config wont change meta-data.14:49
smoserthat doens't look unreasonable above.14:49
nvucinicwhy not ?14:51
nvucinici mean, how can i set at least hostname with cloud-init 14:51
smoserjust as you showed.14:52
smosercloud-init has no control over meta-data.14:52
smoserbut you told it to name itself 'mynode'. it will do that.14:52
nvucinicwell it does not do that :)14:54
nvucinicso i thought that i did something wrong 14:54
smoserubuntu ?14:54
nvucinicit's centos setup, on boot mounts cdrom in /mnt/cdrom14:54
smoser you have user-data in /var/lib/cloud/instance/user-data* ?14:55
nvucinicno, only user-data file that i have is on iso14:56
nvucinicalso, i got "No Instance datasource found!15:00
nvucinicwhen I put datasource_list: ['nocloud']15:00
nvucinicmy cdrom is mounted on /mnt/cdrom and i have user-data there15:01
smoseryou're on openstack ?15:01
pquernasmoser: https://gist.github.com/pquerna/dd4313f34e98d625f35115:41
pquernasmoser: that is openstack/latest/vendor_data.json15:42
smoserthanks.15:49
harmwRaginBajin: ping :)16:47
pquernasmoser: one other topic we are thinking about, but no resolution yet, if we want to start making an omni-bus of an updated cloud-init for older operating systems.16:58
pquernasmoser: bundle the universe under /opt/$something, don't have to get into packaging python-jsonpatch to old old things.17:00
smoserpquerna, yeah. i will support getting cloud-init to run back to older versions17:22
RaginBajinharmw: working on it right now actually. (or atleast getting the image up and going )17:26
harmwnice nice17:31
harmwlet me know if you need hlp17:31
harmwsmoser: if I ever get neutron to do ipv6 in a proper dual stacked way in my cloud I'm going after cirros-ipv619:07
smoserharmw, +119:13
harmwyea yea19:17
harmw:p19:17
harmwsomeone should finish https://review.openstack.org/#/c/77471/, would make it a lot nicer19:18
harmwRaginBajin: you done yet? :p19:18
smoserharmw, 19:19
harmwshoot19:20
harmwthe suspence is killing me, realy19:22
harmwhate.. this.. smoser..19:25
smoserharmw, wait.19:26
smoserwhat ?19:26
smoseri'm sorry. i think imight have typed into long window.19:27
smoseri think that cirros-ipv6 would be great.19:27
harmwyou highlighted me, and then nothing19:27
harmwsomthing that would eventually lead to the death of either one of use19:27
harmwand yes, that would be nice :)19:28
=== gondoi is now known as zz_gondoi

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!