Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-04-12

| Channels | #salt index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:00 jalaziz joined #salt
00:00 jalaziz joined #salt
00:01 fllr joined #salt
00:14 googolhash joined #salt
00:17 tligda joined #salt
00:20 meteorfo_ joined #salt
00:23 lukeg left #salt
00:31 mikemar10 joined #salt
00:49 alunduil joined #salt
00:51 MZAWeb joined #salt
00:52 earth joined #salt
00:53 thayne joined #salt
00:53 remote joined #salt
00:54 yomilk joined #salt
00:56 mikemar10 joined #salt
00:56 zain__ joined #salt
00:59 mgw joined #salt
01:01 helderco joined #salt
01:02 jfzhu_us joined #salt
01:03 zain_ joined #salt
01:11 cyrusdav- joined #salt
01:13 meteorfox joined #salt
01:14 meteorfox joined #salt
01:17 AdamSewell joined #salt
01:20 puppet joined #salt
01:21 TOoSmOotH joined #salt
01:24 meteorfox joined #salt
01:26 meteorfo_ joined #salt
01:34 seblu joined #salt
01:40 l0x3py joined #salt
01:41 srage joined #salt
01:45 rome joined #salt
01:51 kickerdog joined #salt
01:51 anitak joined #salt
01:53 yomilk joined #salt
01:55 fllr joined #salt
02:04 rome joined #salt
02:05 yomilk joined #salt
02:13 Calum joined #salt
02:16 srage joined #salt
02:16 smurfy_ joined #salt
02:18 jalaziz joined #salt
02:26 srage joined #salt
02:28 jalbretsen joined #salt
02:29 bemehow joined #salt
02:30 Calum joined #salt
02:36 Ryan_Lane joined #salt
02:41 mortis joined #salt
02:46 xl1 joined #salt
03:13 ckao joined #salt
03:31 AdamSewell joined #salt
03:43 Gordonz_ joined #salt
03:48 scoates basepi: glad you're enjoying our poutine (-:
03:52 catpigger joined #salt
03:56 napper joined #salt
04:01 rjc joined #salt
04:01 KyleG joined #salt
04:01 KyleG joined #salt
04:06 yomilk joined #salt
04:08 hembree joined #salt
04:08 possibilities joined #salt
04:10 rjc joined #salt
04:21 NV joined #salt
04:23 jeremyfelt joined #salt
04:25 ipalreadytaken joined #salt
04:27 Guest30191 joined #salt
04:27 NVX joined #salt
04:27 NVX joined #salt
04:29 yomilk joined #salt
04:31 napper joined #salt
04:52 possibilities joined #salt
04:55 fllr joined #salt
04:56 Ryan_Lane joined #salt
05:01 Eugene Are there any AWS-EC2ites about? I have a few questions(check-my-understanding, really) about how I would set up Salt in conjunction with EC2
05:02 Eugene Basically, a "hybrid cloud" approach, where I have my ESXi hosts in my datacenter colo, but would want to be able to spin up EC2 instances as needed, in a Salty manner.
05:11 Eugene Or maybe later. The girlfriend beckons.
05:22 yomilk joined #salt
05:24 smcquay joined #salt
05:25 thayne joined #salt
05:41 zain_ joined #salt
05:48 bhosmer joined #salt
05:57 fllr joined #salt
06:12 meteorfox joined #salt
06:12 micko joined #salt
06:14 gildegoma joined #salt
06:21 kaictl joined #salt
06:35 elfixit joined #salt
06:50 Ryan_Lane joined #salt
06:57 fllr joined #salt
07:09 seblu42 joined #salt
07:09 viod joined #salt
07:39 viod1 joined #salt
07:57 fllr joined #salt
08:06 ajprog_laptop joined #salt
08:08 ndrei joined #salt
08:08 cjbarnes18 joined #salt
08:44 CeBe joined #salt
08:51 viod joined #salt
08:52 bhosmer joined #salt
08:57 fllr joined #salt
08:57 Ryan_Lane joined #salt
09:08 Dinde joined #salt
09:15 Gordonz joined #salt
09:17 ndrei joined #salt
09:37 kiorky joined #salt
09:57 fllr joined #salt
10:15 CeBe joined #salt
10:34 harobed joined #salt
10:35 harobed joined #salt
10:54 elfixit joined #salt
10:57 fllr joined #salt
11:20 cjbarnes18 joined #salt
11:39 baniir joined #salt
11:44 baniir joined #salt
11:52 bhosmer joined #salt
11:57 fllr joined #salt
11:57 harobed joined #salt
11:59 thayne joined #salt
12:03 seblu joined #salt
12:14 napper joined #salt
12:16 bhosmer joined #salt
12:21 ndrei joined #salt
12:29 ndrei joined #salt
12:30 taion809 joined #salt
12:39 baniir joined #salt
12:39 viod1 joined #salt
12:50 xunil joined #salt
12:53 xunil joined #salt
12:54 elfixit joined #salt
12:56 cjbarnes18 joined #salt
12:57 fllr joined #salt
13:09 giantlock joined #salt
13:12 giantlock joined #salt
13:21 elfixit joined #salt
13:32 MZAWeb joined #salt
13:39 elfixit joined #salt
13:54 vu_ joined #salt
13:55 vu_ joined #salt
13:56 jslatts joined #salt
13:57 vu joined #salt
13:57 fllr joined #salt
14:05 rome joined #salt
14:10 [diecast] joined #salt
14:13 l0x3py_ joined #salt
14:13 toastedpenguin joined #salt
14:21 AdamSewell joined #salt
14:31 srage joined #salt
14:39 ix_ joined #salt
14:40 xet7 joined #salt
14:42 ndrei joined #salt
14:44 KyleG joined #salt
14:44 KyleG joined #salt
14:44 fllr joined #salt
14:46 fllr joined #salt
14:53 Daviey joined #salt
14:57 fllr joined #salt
15:02 rushm0r3 joined #salt
15:05 bhosmer joined #salt
15:05 thunderbolt joined #salt
15:06 viod joined #salt
15:14 dRiN joined #salt
15:17 earth joined #salt
15:26 cjbarnes18 joined #salt
15:38 acabrera joined #salt
15:38 acabrera joined #salt
15:40 easylancer joined #salt
15:44 faldridge joined #salt
15:52 fllr joined #salt
15:53 MZAWeb joined #salt
15:54 meteorfox joined #salt
15:56 meteorfox joined #salt
16:02 Dinde joined #salt
16:08 snuffeluffegus joined #salt
17:00 easylancer joined #salt
17:02 quickdry21 joined #salt
17:19 [diecast] joined #salt
17:25 saily joined #salt
17:27 saily hi, i’m a newbie to saltstack, can anybode help me out. i’m getting following message: 'Specified SLS user in environment base is not available on the salt master’ when trying to add a user through my own sls file.
17:41 cjbarnes18 joined #salt
17:42 Gareth saily: can you post your state into a pastebin?
17:44 saily Gareth: thanks for response, it seems to work if i take the user.sls file out from my formula package.
17:45 saily Gareth: in my formula package i use a init.sls file which references the user.sls file
17:45 harobed_ joined #salt
17:45 Gareth so the user.sls is the problem?  what does that look like?
17:55 naiyte joined #salt
18:08 kiorky is there some salt-ssh users around ?
18:08 kiorky running salt-ssh * state.sls works, but not grains.items
18:08 kiorky is that normal ?
18:12 ggoZ joined #salt
18:13 harobed_ joined #salt
18:21 ipalreadytaken joined #salt
18:26 jeremyfelt joined #salt
18:32 individuwill joined #salt
18:34 individuwill joined #salt
18:38 quickdry21 joined #salt
18:39 cjbarnes18 joined #salt
18:47 giantlock_ joined #salt
18:47 MTecknology Why does it take so long to run 25,000 queries against 60,000,000 records with MSSQL? I mean... isn't MS supposed to be amazing?
18:55 Eugene If that finishes in this year, then MS /is/ amazing.
18:55 Eugene :v
19:03 ajw0100 joined #salt
19:03 MZAWeb joined #salt
19:16 individuwill joined #salt
19:16 saily Gareth: i fixed it, the problem was a missing namespace in include statement.
19:23 srage joined #salt
19:26 srage_ joined #salt
19:26 Gareth saily: ah cool :)
19:30 davet joined #salt
19:33 ashirogl joined #salt
19:42 denisura joined #salt
19:46 denisura howdy
19:47 denisura I'm trying to use example from https://github.com/saltstack/salty-vagrant/tree/develop/example/complete and i'm getting error
19:48 denisura Calling state.highstate... (this may take a while) The following SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed!  salt '*' saltutil.sync_all  Stdout from the command:  No minions matched the target. No command was sent, no jid was assigned.
19:48 denisura Could anyone recommend what to do?
19:49 denisura i'm using Vagrant 1.5.2
19:49 earth joined #salt
19:50 denisura i had to comment out salt.accept_keys = true
19:50 erjohnso joined #salt
19:55 ndrei joined #salt
19:58 toastedpenguin joined #salt
20:01 srage joined #salt
20:03 baniir joined #salt
20:04 ccase joined #salt
20:05 srage_ joined #salt
20:11 viq BASE_MASTER_ROOTS_DIR - what does this directory actually do, what is it for?
20:13 ndrei joined #salt
20:16 quickdry21 joined #salt
20:24 ndrei joined #salt
20:29 ipalreadytaken joined #salt
20:37 Ryan_Lane joined #salt
20:38 ninjabox joined #salt
20:41 ajprog_laptop joined #salt
20:46 lynxman joined #salt
20:48 lynxman joined #salt
20:53 lynxman joined #salt
20:53 lynxman joined #salt
20:55 Ryan_Lane joined #salt
20:57 lynxman joined #salt
20:57 mgw joined #salt
20:59 ndrei joined #salt
21:00 hoodow joined #salt
21:04 giantlock joined #salt
21:09 lynxman joined #salt
21:22 earth joined #salt
21:40 napper joined #salt
21:58 googolhash joined #salt
21:58 jslatts joined #salt
22:02 kiorky basepi: any chance you around
22:02 kiorky basepi: you seem to be aware of saltssh current status
22:02 kiorky basepi: im curious to know if grains/pillar functionnality is known to work
22:02 kiorky basepi: those seem to be implemented, i read code about it
22:02 kiorky but it wont just work in my env ...
22:11 kiorky basepi: ok, its a bug ...
22:12 kiorky B 3
22:17 londo joined #salt
22:17 elfixit joined #salt
22:18 quickdry21 joined #salt
22:20 otsarev joined #salt
22:21 catpig joined #salt
22:21 otsarev Hello everybody!
22:21 otsarev I am developing DJBDNS formula. One component (dnscache) completelly covered by my formula and ready for use
22:22 otsarev Can you please include my formula https://github.com/z-saltstack/djbdns-formula to https://github.com/saltstack-formulas/ ?
22:22 otsarev Thanks!
22:46 thayne joined #salt
22:50 srage joined #salt
23:00 harobed_ joined #salt
23:00 redShadow joined #salt
23:02 redShadow hi guys! quick question: I installed three (debian) minions and run pkg.upgrade; later, I added another (debian, again) minion: should I expect the pkg.upgrade command to have been sent to the fourth minion too?
23:04 redShadow the fourth machine got damaged badly, all the /bin/* executables broken, in something that might have been caused by a failed upgrade..
23:05 redShadow and it happened shortly after I approved the minion key on the master
23:05 manfred redShadow: it doesn't retroactively deploy stuff
23:06 redShadow manfred: hm.. I suspect it did something bad anyways.. any idea of what might have happened?
23:06 viq redShadow: when you enter commands, they are sent at that moment. Whoever isn't around to get them, tough, doesn't get them
23:08 manfred nope, redShadow have you tried checking /var/log/salt/minion on that minion?
23:09 redShadow manfred: there was no log file configured yet :(
23:09 manfred is salt-minion running on it?
23:10 redShadow I just installed it, approved the key, tried to ping; ping failed, I returned to the shell on the minion and all commands were failing with "not found"
23:10 redShadow I turned off the machine and logged in with a live cd, to find out that binaries are there, but some library is missing
23:11 manfred that oddly sounds like ld isn't there
23:11 redShadow what happens when the key gets approved? I guess nothing more than notifying the minion about that, right..?
23:11 manfred it just accepts it on the master
23:11 manfred nothing should happen on the minion, unless you have startup_states configured on the minion
23:12 redShadow manfred: hm.. you're right, /usr/bin/ld is missing on the dead minion!
23:12 viq manfred: or reactor
23:13 manfred oh, yeah or the reactor
23:13 manfred redShadow: dpkg -l | grep glibc
23:13 manfred i forget how to check integrity on debian
23:13 viq But neither is default
23:13 redShadow manfred: dpkg is dead too :(
23:13 manfred are you on the livecd?
23:14 redShadow yep
23:14 redShadow btw, I think I'm going to use another livecd, as the debian one lacks lot of stuff.
23:14 redShadow eg, ldd
23:14 manfred iirc, there is a way to use your livecd's dpkg, to check the integrity of all of the files in the glibc package on an alternative root
23:14 manfred redShadow: also, you want /usr/lib/ld*
23:15 manfred debsums maybe?
23:15 manfred redShadow: check with #debian on how to check those things.
23:15 manfred but that is my guess
23:16 * manfred remembers people losing all things while doing /lib -> /usr/lib merges for #archlinux
23:16 redShadow manfred: yeah, we were discussing that on #debian but no ideas came out on how to debug this..
23:16 manfred it really sounds like your linker is missing for some reason
23:16 redShadow the thing is, everything was fine before I accepted the key
23:17 redShadow then, /usr/bin/ld (and maybe other stuff too) disappeared..
23:17 manfred check your reactor stuff on your master, are there things configured? and what are your startup states
23:18 redShadow manfred: I had just installed the debian packages, configuration was still the default
23:18 manfred i got no idea then :/
23:18 redShadow the master is a wheezy, I have two wheezy minions, a squeeze one, and the dead one was another squeeze
23:21 redShadow if this is a bug, it's definitely a serious one..
23:21 srage joined #salt
23:23 redShadow re-reading the logs: shortly after approving the key, I sent a purge for some (completely unrelated) packages: the minion replied with a "nothing to do" empty message. The following command was a "remove user" one, and it just timed out
23:23 srage_ joined #salt
23:23 redShadow then the ping, then I switched to the ssh shell to find the broken commands
23:23 manfred which version of salt are you running?
23:24 manfred on the minion and the master?
23:24 manfred did you install the package, or from pip?
23:24 redShadow master is 2014.1.1+ds-1~bpo70+1
23:24 redShadow manfred: from package, saltstack repo
23:24 manfred is squeeze the older or newer one?
23:24 redShadow squeeze is the oldstable
23:25 manfred kk, gimme a second to make a cloud server
23:26 redShadow btw, I installed the minion for wheezy on that one as the one for squeeze was complaining about some conflicts (the dead machine is squeeze + couple things from wheezy)
23:26 manfred what things?
23:27 redShadow manfred: heh, it's hard to find the exact list, especially now, but in particular I remember I upgraded nginx and installed python 2.7
23:28 redShadow that might have triggered upgrade of some libraries too
23:28 redShadow but this was about a year ago
23:28 manfred could have caused a problem when you purged libraries?
23:29 redShadow manfred: I don't think so: I just purged a couple services I didn't need anymore (newrelic and zabbix agents)
23:29 redShadow I left them around on some machines, and I thought cleaning them up was a good way to start playing with saltstack :)
23:30 manfred did you purge stuff that you had installed from wheezy?
23:31 manfred is mixing versions like that supported by debian?
23:31 taion809 joined #salt
23:32 redShadow manfred: I don't remember whether they where from wheezy, but I don't think so
23:33 redShadow I'm not sure whether mixing versions is officially "supported", but it is certainly a thing you can do (w/ some configuration to prevent automatically upgrading the whole system to the newer version)
23:33 manfred sure... but being compiled against newer versions of glibc could cause you a problem
23:33 mortis how bout a salt module to automagically update your wikipages with salt-documentation .......hmm
23:33 mortis just need some nice way to read sls comments
23:34 redShadow manfred: yup.. but I didn't install anything a part from salt-minion, recently, on that machine..
23:34 manfred but you purged something
23:35 manfred can you provide your /var/log/apt/history.log ?
23:35 redShadow manfred: yeah, but salt even said "I didn't have to purge anything" (or, at least, I assume it's the meaning of empty message)
23:36 manfred it might have just failed in the middle
23:37 redShadow manfred: ok.. let me restore the disk image shortly after the problem came out (I was playing around with it, so it's "dirty" now..)
23:42 manfred redShadow: what did #debian say about having packages from wheezy mixed in?
23:43 redShadow manfred: I don't remember whether I mentioned this, but anyways, it's a thing people do, and anyways, should have caused problems earlier..
23:43 redShadow (ok, a part in case of some really strange bug somewhere)
23:44 manfred i am not sure it would have, if it updated glibc, it is still backwards compatible to all things compiled against older glibcs.  but if for some reason it decided to remove glibc during apt-get purge... that would cause your problem
23:44 manfred plus, your libraries missing every where really sounds like it is a problem with the apt-get purge
23:45 manfred because salt just passes the commands to apt-get
23:45 redShadow manfred: hm.. I should check the actual command that was run by salt, but I'm pretty sure apt-get remove --purge wouldn't have caused this..
23:45 manfred https://github.com/saltstack/salt/blob/develop/salt/modules/pkgin.py#L434
23:46 manfred https://github.com/saltstack/salt/blob/develop/salt/modules/pkgin.py#L370
23:46 manfred https://github.com/saltstack/salt/blob/develop/salt/modules/aptpkg.py#L452
23:47 manfred redShadow: https://github.com/saltstack/salt/blob/develop/salt/modules/aptpkg.py#L469
23:47 manfred it should just run apt-get -q -y purge
23:48 redShadow manfred: yeah, which shouldn't affect anything unrelated to the purged packages..
23:49 manfred unless it is purgeing and removed your libraries because of the mixed versions, i don't know enough about apt-get / dpkg, but i would ask debian about that, and just make sure that you did mention it
23:49 manfred but salt doesn't do anything extra that would remove those packages
23:50 manfred i still wanna see the history.log to see what salt actually passed apt-get purge
23:51 manfred it could have removed glibc, if it for some reason was in https://github.com/saltstack/salt/blob/develop/salt/modules/aptpkg.py#L463 because you had a new glibc installed and it had the glibc from squeeze listed as removed
23:52 manfred again, i don't know enough about apt-get to know how it is going to list it,  but it all comes back to having the mixed version of debian
23:53 manfred redShadow: looks like it is not supported https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_packages_from_mixed_source_of_archives
23:57 manfred apt-get -o Dir=/path/to/mounted/root install glibc ?
23:57 manfred from the livecd, might fix it
23:57 redShadow manfred: sure, but not unsupported like «it will cause random things to be deleted» ;)
23:57 manfred yes
23:58 redShadow hm.. I just rebooted the machine: /var/log only contains mail.* logs o.O
23:58 manfred Caution
23:58 manfred When using mixed source of archives, you must ensure compatibility of packages by yourself since the Debian does not guarantee it. If package incompatibility exists, you may break system. You must be able to judge these technical requirements. The use of mixed source of random archives is completely optional operation and its use is not something I encourage you to use.
23:58 manfred > you may break system
23:58 manfred didn't say that it would break it only on installs, it doesn't specify anything, and it really sounds like what happened
23:58 redShadow manfred: yup, I know that and double-checked things
23:59 redShadow you break the system if you install incompatible versions of libraries, but in 99% of cases apt will warn you anyways

| Channels | #salt index | Today | | Search | Google Search | Plain-Text | summary