/srv/irclogs.ubuntu.com/2015/09/18/#cloud-init.txt

harlowjahmmm, supposed to work00:02
harlowjabut maybe i broke it, ha00:02
harlowjaabhi_ what is in /etc/cloud/cloud.cfg ?00:03
harlowja'Undecodable permissions None, assuming 420' seems bad00:03
harlowjawhats the userdata u are sending (no private info in it thx)00:03
abhi_User data is:00:15
abhi_#cloud-config repo_update: true repo_upgrade: all  packages:  - httpd  - crypto-utils  - mod_perl  - mod_ssl  - mod_wsgi  - mysql-server  - php  - php-gd  - php-pdo  - php-pear  - php-xml  - php-mysql  - git  ssh_authorized_keys:  - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+a7nTOBzHq/dcK3j8q6HCcyJDO7g7lv4QSdPGrtIH/M+u3fEqbo4f5JCIouP2yxeCCJolvEXOo0iMvKcfv0z2yiF5c1Xe8ilDwRbbIDAVEcQ1hlIm+LC3ScFTzd0EG/150FCIHAHna5UZfi36ZDm2ofdz1RcL9yMOu+00:15
abhi_It is basically bunc onf yum packages, ssh_authorized_keys, write_files. Note that the same user data works when I create the VM and attach the disk. Though it works partiall when I attache the disk to a cloned VM00:16
abhi_contents of /etc/cloud/cloud.cfg in cloned VM is same as the created VM on which the userdata works perfectly including yum packages installation.00:27
abhi_content of /etc/cloud/cloud.cfg:00:27
abhi_users:  - default  disable_root: 1 ssh_pwauth:   0  locale_configfile: /etc/sysconfig/i18n mount_default_fields: [~, ~, 'auto', 'defaults,nofail', '0', '2'] resize_rootfs_tmp: /dev ssh_deletekeys:   0 ssh_genkeytypes:  ~ syslog_fix_perms: ~  cloud_init_modules:  - migrator  - bootcmd  - write-files  - growpart  - resizefs  - set_hostname  - update_hostname  - update_etc_hosts  - rsyslog  - users-groups  - ssh  cloud_config_modules:00:27
abhi_- yum-add-repo  - package-update-upgrade-install  - timezone  - puppet  - chef  - salt-minion  - mcollective  - disable-ec2-metadata  - runcmd  cloud_final_modules:  - rightscale_userdata  - scripts-per-once  - scripts-per-boot  - scripts-per-instance  - scripts-user  - ssh-authkey-fingerprints  - keys-to-console  - phone-home  - final-message  system_info:   default_user:     name: centos     lock_passwd: true     gecos: Cloud Use00:28
abhi_sudo: ["ALL=(ALL) NOPASSWD:ALL"]     shell: /bin/bash   distro: rhel   paths:     cloud_dir: /var/lib/cloud     templates_dir: /etc/cloud/templates   ssh_svcname: sshd  # vim:syntax=yaml00:28
harlowjacan u put that in a pastebin somewhere00:54
harlowjamy guess is some syntax is off somehow00:54
abhi_sure, http://pastebin.com/zJDsFaNC01:15
abhi_thanks01:15
abhi_just want to point out that this cfg works when I create the VM and attach configdrivev2 iso, only during clone case certain things of cuser data like yum, git clone does not work. Userdata: http://pastebin.com/gn0XiVbx01:22
=== jroll is now known as jroll|dupe
=== jroll|dupe is now known as brickednick
=== brickednick is now known as jroll
=== shardy is now known as shardy_afk
=== shardy_afk is now known as shardy
harlowjahmmm, guess can't help abhi diagnosis the rest of that issue, lol17:33

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