=== praneshp_ is now known as praneshp === harlowja is now known as harlowja_away === Wulf4 is now known as Wulf === zz_gondoi is now known as gondoi === harlowja_away is now known as harlowja [17:40] hi all [17:40] if anyone is around i have 2 questions probably config related that i have been racking my brain on [17:40] if someone could assist it would be greatly appreciated [17:49] jmickle, whats up ? [17:49] in general, "don't ask to ask, just ask" [17:49] if someone sees your question and knows how to reply they will. [17:49] hey smoser first thanks for responding and sure thing i didnt know how it worked in here so i didnt want to be rude [17:49] smoser: I am running cloud-init on centos with openstack and when it runs it does not seem to be adding the user to sudo [17:50] also growpart does not seem to be running although when i run growpart manually after logging in and rebooting it works [17:51] on an older kernel to make it all "just work", you'll need a drakut module cloud-initramfs-growroot [17:51] on 3.8 and later, cloud-init can do it all on mounted filesystems. [17:51] i think though that reboot would probably get you what you needed. [17:52] interesting ok [17:52] what about sudo ? it seems to be running the add ssh key [17:52] but not adding the sudo line for the user [17:52] though i did turn off the disable root login [17:52] can you paste cloud-init config ? /etc/cloud/cloud.cfg and anything in /etc/cloud/cloud.cfg.d/* [17:52] the only thing i changed was disable root: 1 to 0 [17:52] root login should be disabled by default. [17:53] oh. i see. [17:53] yeah i turned it off temporarily because i had a networkign issue at first [17:53] and keys werent getting added [17:53] so i needed to login with the root [17:53] could that be why? [17:53] nah. it should still do it. [17:54] what cloud-init version ? [17:54] 0.7.4 [17:54] - RH: require sudo >= 1.7.2p2-3 (with sudoers.d/) [17:55] htats just to verifiy that its not writing the file but sudo not caring [17:55] im sorry i lost you [17:55] you mean use cloud-init >= 1.7.2? [17:55] sudo [17:55] rpm -qi sudo [17:56] ah [17:56] 1.8.6p3 [17:56] k. that would seem san.e [17:56] http://paste.ubuntu.com/7634815/ [17:56] so your config has to have a 'sudo' line for the user [17:56] (default_user) [17:56] got it which the default config from epel does not [17:56] ok [17:56] and also see the new style [17:56] users: [17:56] - default [17:56] rather than [17:57] user: [17:57] ok [17:57] thank you so much [17:58] il try the reboot with the grow part [17:58] maybe it is running and just needs a reboot to kick in or something [17:59] if you run growpart on kernel < 3.8 [17:59] you have to reboot [17:59] ok yeah centos 6.5 is 2.6 [17:59] ty so much [17:59] the fix is to add that dracut module [18:00] and then it resizes in the initramfs [18:00] when the filesystem is not mounted [18:00] ok do you have an example of that or documentation for it by chance? [18:00] (older kernels will not allow updates to partition tables of "physical disks" that have filesystems mounted on them) [18:00] or is it in that config? [18:01] ok [18:01] http://docs.openstack.org/image-guide/content/ch_openstack_images.html [18:02] https://apps.fedoraproject.org/packages/cloud-initramfs-tools/changelog [18:04] ty === praneshp_ is now known as praneshp [21:19] is there a way to pass the hostname into the node-name variable in cloud init config for chef? === praneshp_ is now known as praneshp === gondoi is now known as zz_gondoi === praneshp_ is now known as praneshp