nvucinic | hi guys, is there any way do disable every metadata check except nocloud ? | 09:48 |
---|---|---|
smoser | pquerna, do you have an example of the json ? | 12:11 |
smoser | that i can just look at without thinking :) | 12:11 |
=== zz_gondoi is now known as gondoi | ||
RaginBajin | harmw: 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 |
harmw | RaginBajin: np :) | 14:26 |
harmw | Cris merged my fixes to oz btw, so when using oz you only need to checkout the master branch | 14:27 |
harmw | or whatever terminlogy github uses | 14:27 |
nvucinic | hello, is there any link on how to configure nocloud option ? | 14:28 |
harmw | you mean explicitly use nocloud instead of just looking for something (datasource) that happens to respond? | 14:29 |
nvucinic | there are not other datasources except iso that is mounted on boot | 14:29 |
nvucinic | iso is automounted on boot | 14:30 |
harmw | datasource_list: ['nocloud'] | 14:30 |
harmw | I think you would need to try something like that | 14:30 |
harmw | in your /etc/cloud/cloud.cfg | 14:30 |
nvucinic | ok, will try that | 14:32 |
nvucinic | tell me, i need to change instance id every time i mount iso ? | 14:32 |
harmw | the instance id only changes when you nuke your instance and create a new one | 14:33 |
nvucinic | ok what is the minimum configuration to see if this is owrking? | 14:34 |
nvucinic | i can change hostname for example | 14:34 |
harmw | I'm afraid I dont know, I only user datasource openstack | 14:34 |
harmw | haven't touched configdrive/nocloud | 14:35 |
nvucinic | well i am trying to change hostname | 14:36 |
nvucinic | i have added this into my user-data | 14:36 |
nvucinic | #cloud-config | 14:36 |
nvucinic | hostname: mynode | 14:36 |
nvucinic | fqdn: mynode.example.com | 14:36 |
nvucinic | manage_etc_hosts: true | 14:36 |
nvucinic | in meta-data i have only instance-id: iid-10 | 14:37 |
nvucinic | that should do right? | 14:37 |
pquerna | smoser: yeah, will grab you a sample from our env this morning. | 14:45 |
smoser | nvucinic, well cloud-config wont change meta-data. | 14:49 |
smoser | that doens't look unreasonable above. | 14:49 |
nvucinic | why not ? | 14:51 |
nvucinic | i mean, how can i set at least hostname with cloud-init | 14:51 |
smoser | just as you showed. | 14:52 |
smoser | cloud-init has no control over meta-data. | 14:52 |
smoser | but you told it to name itself 'mynode'. it will do that. | 14:52 |
nvucinic | well it does not do that :) | 14:54 |
nvucinic | so i thought that i did something wrong | 14:54 |
smoser | ubuntu ? | 14:54 |
nvucinic | it's centos setup, on boot mounts cdrom in /mnt/cdrom | 14:54 |
smoser | you have user-data in /var/lib/cloud/instance/user-data* ? | 14:55 |
nvucinic | no, only user-data file that i have is on iso | 14:56 |
nvucinic | also, i got "No Instance datasource found! | 15:00 |
nvucinic | when I put datasource_list: ['nocloud'] | 15:00 |
nvucinic | my cdrom is mounted on /mnt/cdrom and i have user-data there | 15:01 |
smoser | you're on openstack ? | 15:01 |
pquerna | smoser: https://gist.github.com/pquerna/dd4313f34e98d625f351 | 15:41 |
pquerna | smoser: that is openstack/latest/vendor_data.json | 15:42 |
smoser | thanks. | 15:49 |
harmw | RaginBajin: ping :) | 16:47 |
pquerna | smoser: 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 |
pquerna | smoser: bundle the universe under /opt/$something, don't have to get into packaging python-jsonpatch to old old things. | 17:00 |
smoser | pquerna, yeah. i will support getting cloud-init to run back to older versions | 17:22 |
RaginBajin | harmw: working on it right now actually. (or atleast getting the image up and going ) | 17:26 |
harmw | nice nice | 17:31 |
harmw | let me know if you need hlp | 17:31 |
harmw | smoser: if I ever get neutron to do ipv6 in a proper dual stacked way in my cloud I'm going after cirros-ipv6 | 19:07 |
smoser | harmw, +1 | 19:13 |
harmw | yea yea | 19:17 |
harmw | :p | 19:17 |
harmw | someone should finish https://review.openstack.org/#/c/77471/, would make it a lot nicer | 19:18 |
harmw | RaginBajin: you done yet? :p | 19:18 |
smoser | harmw, | 19:19 |
harmw | shoot | 19:20 |
harmw | the suspence is killing me, realy | 19:22 |
harmw | hate.. this.. smoser.. | 19:25 |
smoser | harmw, wait. | 19:26 |
smoser | what ? | 19:26 |
smoser | i'm sorry. i think imight have typed into long window. | 19:27 |
smoser | i think that cirros-ipv6 would be great. | 19:27 |
harmw | you highlighted me, and then nothing | 19:27 |
harmw | somthing that would eventually lead to the death of either one of use | 19:27 |
harmw | and 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!