/srv/irclogs.ubuntu.com/2014/03/06/#cloud-init.txt

smoserharlowja, well, i'd replace any usage of the templates that we have in trunk to use the new format.00:42
harlowjasmoser right, i adjusted all the ones in /templates00:43
smoserand those templates would in some way declaratively state that they were of this new type.00:43
harlowjayup00:43
harlowjacheck out the merge smoser when u get some time00:44
harlowja*review/merge00:44
smoserharlowja, thanks for all your help.00:46
harlowjanp boss 00:46
harlowja:)00:46
harlowjalike 100 distros in cloud-init now00:46
harlowjahaha00:46
harlowjapretty interesting00:46
smoserhorah!00:47
harlowjadef00:47
=== ctracey is now known as ctracey|away
oobx_howdy? I'm stuck with vcloud director and am trying to add cloud-init to my vms because vcloud's vm customization is picky about the OS versions that it supports.04:09
oobx_I've created a user-data.txt file and genisoimage'd it, uploaded, attached, and booted.  But, /var/log/cloud-init.log doesn't show it noticing the ISO04:10
oobx_i'm using the EPEL 6.3 version of cloudinit on centos 6.504:11
oobx_any tips?  It doesn't show "Alt cloud" as a datasource in the log, just nocloud, configdrive, ec2 and OVF.  I guess I need to find the 7.5 rpm or build one, right?04:21
=== harlowja is now known as harlowja_away
oobx_i just noticed that OVF requires userdata to be in XML. I just used the make-iso script to convert my user-data into bases64 and shove it into the XML file.  I'll try it out tomorrow, since I'm unable to upload the ISO right now.04:51
=== harlowja_away is now known as harlowja
=== harlowja is now known as harlowja_away
harmwseanwbruno: you've had a chance to test the freebsd stuff?09:43
harmwsmoser: anything needed from my part to have the pending merge request in cirros be fullfilled?09:45
harmw*accepted09:45
=== oobx_ is now known as oobx
smoserharmw, i'll try to do that today.14:00
smoseri'm really sorry. i want to run it in lxc once. (even though i made you boot an unholy ubuntu system to try that :)14:00
harmwoh it worked on my fedora system :) 14:31
harmwand sure, np14:31
harlowjaany RH folks around? i was wondering what version of cloud-init will be in rhel717:15
harlowja*and more importantly with what cloud.cfg17:15
* harlowja might save me some time rebuilding a rhel7 rpm if i can avoid building it in the first place :-P17:16
harmwharlowja: does it even ship with ci? I dont see it at either ftp://ftp.redhat.com/redhat/linux/enterprise/6Server/en/os/SRPMS/ or the path for the 7beta17:37
harlowjahmmm, was talking to the folks here, and i think they said it does, let me double check, i just got access to a rhel7beta17:37
harmwI could be wrong ofc17:37
harlowjak, think u are right, doesn't seem in the rhel-beta repo, wonder where the guy saw it17:38
harmwperhaps epel, since it's include there17:38
harmwhttp://mirror.nl.leaseweb.net/epel/6Server/SRPMS/cloud-init-0.7.4-2.el6.src.rpm17:40
harmwthats for rhel6/centos617:40
harmwhttp://mirror.nl.leaseweb.net/epel/beta/7/SRPMS/cloud-init-0.7.2-8.el7.src.rpm17:41
harlowjak, found it17:41
harlowjahttp://dl.fedoraproject.org/pub/epel/beta/7/SRPMS/repoview/cloud-init.html17:41
harmwand thats 717:41
harmwah yes harlowja17:41
harlowjaya, looking inside it, seeing what they did :-P17:41
harmwhhe17:41
harlowjaya, it seems like they just took over the fedora one :-P17:42
harlowjadistro: fedora...17:42
harlowjain cloud.cfg17:42
harmwah yes, I believe I've patched that in my private repo to read rhel or something :p17:43
harlowjaya, some systemd changes also17:43
harmware those patches fedora specific or should thy be included 'upstream'?17:43
harlowjanot 100% sure :-P17:43
harlowjathey don't seem so specific17:43
harmwthe nodevconsole patch looks interesting17:44
harlowjaya17:44
harlowjahey, at least rhel7 is 'Python 2.7.5'17:46
harlowjalol17:46
harlowja:-/17:46
oobxharlowja: I was tinkering with my desktop and may have missed help directed at me.  Thanks for the cloud-init epel links for CENTOS 7.  Now, I'm seeing 7.4 instead of 6.3 in http://dl.fedoraproject.org/pub/epel/6/x86_64/17:47
harlowja:)17:48
harlowjathere u go17:48
harmwsmoser: got that lxc container up already? :p17:48
smoserharmw, so in my test here.. i see the disk output of the host.17:58
harmwyou do? hm17:58
harmwproc/partitions has indeed all the hosts stuff17:58
harmwbut lsblk didn't17:59
smoseri'll lok at this a bit more. 18:09
smoseri think i might use lscpu18:09
smoseras it can tele me cores x sockets x threads18:09
harmwand thats included in cirros already?18:10
smoseryeah.18:10
harmwdamn18:10
smoserand the lslk might differ between yours and mine.18:10
smoser(the lxc container might differ)18:10
harmwyea could be the case18:10
smoserbut at this point whatever we see is probably not valid.18:10
smoserharmw, lscpu --parse18:27
smoserthat looks like it would be nice. 18:27
smoserbut it seems to not work :)18:27
smoseroh. i see.18:27
smoserit does. but doesn't give as much info as you'd like.18:28
harmwdamn, nifty output18:28
harmwthough it's all zeroes whn running --parse18:29
smoserwell, its not. 18:32
smoserthats only for the first cpu18:32
smoserand you only have 118:32
smoser:)18:32
harmwindeed I have18:32
smoseri didn' realize cirros /bin/sh supported ${FOO//from/to}18:32
smoserthat is not posix18:32
smoserawk '$1 == "MemTotal:" {print $2}' /proc/meminfo18:34
smoseryou can do the divide in awk too if you wanted. and even then ditch the echo.18:34
smoserharmw, http://paste.ubuntu.com/7045706/18:55
smoserthat prints out:18:55
smoserarch: x86_6418:55
smosertotal: 16 cpu @ 1600.000 MHz18:55
smosercores/sockets/threads: 4x2x218:55
harmwarch: x86_6419:12
harmwtotal: 1 cpu @ 2009.101 MHz19:12
harmwcores/sockets/threads: 1x1x119:12
harmwnice19:12
harmw=== system information ===20:10
harmwArch: x86_6420:10
harmwCPU(s): 1 @ 2009.101 MHz20:10
harmwCores/Sockets/Threads: 1/1/120:10
harmwVirt-type: AMD-V20:10
harmwHypervisor:20:10
harmwI think I like that output a little better20:10
harmw(and to figure out the hypervisor I'd probably only have dmidecode as option)20:11
smoserharm. tha tlooks fine to me.20:14
smoserone cleanup to what i had, you should initialize variables to 'NA' or something.20:14
smoserharmw, http://paste.ubuntu.com/7046165/20:17
harmwsmoser: pushed21:09
harmwand I realy can't wait for dmidecode... :)21:09
smoserharmw, dmidecode is "interesting"21:10
smoseri recently fixed two bugs in cloud-init to *not* use dmidecode21:10
harmwhaha21:10
smoseras on arm, it crashes vms21:10
smoserand even, reportedly, crashes hardware.21:10
harmwouch21:10
smoserie, you run that command and "poof" your hardware goes MIA.21:10
harmwwell, perhaps /dev/mem is just to delicate :p21:11
harmwanyway, time for a new cirros release?21:11
harmwhm21:13
harmwdmesg|grep DMI:21:13
harmwlooks like a simple way of telling which platform we're on21:13
harmw[    0.000000] DMI: Red Hat Inc. OpenStack Nova, BIOS Bochs 01/01/201121:14
harmwkindof21:14
harmwdmesg|grep DMI:21:14
harmwDMI: Supermicro X7SPA-HF/X7SPA-HF, BIOS 1.0b    01/19/201021:14
harmw(or var/log/messages for that matter)21:16
harmwsmoser: I think I like that line as part of the extended info stuff21:17
harmwthoughts?21:17
harmwcut until BIOS shows up that is21:18
=== ctracey|away is now known as ctracey
smoser$ dmesg | sed -n 's/.*[ ]\+DMI:[ ]\+//p'21:30
smoserLENOVO 7417CTO/7417CTO, BIOS 7UET91WW (3.21 ) 12/06/201021:30
smoserharmw, lets do something simple now. and get you some of the dat ayou want.21:31
smoserand then work on getting something nicer.21:31
harmwok 21:43
harmwgrep DMI /var/log/messages | sed 's/.\+] DMI: \(.\+\), BIOS.\+/\1/'21:43
smoserno need for grep. 21:47
smosersed is doing that above.21:47
smoserand in yours too.21:47
smoser$ sed -n 's/.*[ ]\+DMI:[ ]\+//p' /var/log/kern.log21:48
smoserLENOVO 7417CTO/7417CTO, BIOS 7UET91WW (3.21 ) 12/06/201021:48
smoseruse '-n'21:49
harmwwell, using grep at first seems a little faster 21:51
harmw$ grep DMI: /var/log/messages | sed -n 's/.*[ ]\+DMI:[ ]\+\(.\+\), BIOS.*/\1/p'21:54
harmwRed Hat Inc. OpenStack Nova21:54
smoserreally?21:57
smoserare you sure?21:57
smoseryeah. wow. it is. 21:59
harmw:)22:00
harmwI'm pushing it 22:00
harmwhttp://paste.ubuntu.com/7046723/ thats how it looks like22:05
harmwidealy, the sudo fix for reading ssh keys shouldn't have gone into this branch22:08
harmwok, and using awk to get the ram size22:13
smoserright. you dont need sudo there.22:15
smoserright?22:15
harmwwell, not at boot time no22:15
smoserah. i see.22:15
harmwbut you do if you run the cirros-status manually22:15
harmwfor whatever reason22:15
smoserright. other option is just to output only what is avilable as non-root.22:15
smoserand say "if you were root, you'd know more"22:16
harmwlets merge this, release cirros and then change that :p22:16
smoser:)22:17
smoseri have to run.22:18
harmwok :)22:18

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