Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-09-20

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

All times shown according to UTC.

Time Nick Message
00:00 ndrei_ joined #salt
00:06 ndrei joined #salt
00:06 ndrei_ joined #salt
00:08 bhosmer joined #salt
00:12 englishm joined #salt
00:22 bhosmer_ joined #salt
00:26 ph8 joined #salt
00:30 mrlesmithjr joined #salt
00:32 englishm joined #salt
00:33 oz_akan joined #salt
00:41 bhosmer joined #salt
00:44 aquinas_ joined #salt
00:45 jchen joined #salt
00:48 Pixionus If I am reconfiguring the openssh-server, do I still need to run
00:48 Pixionus ssh-keygen -v -t rsa
00:48 Pixionus to regenerate any salt keys
00:48 Pixionus ?
00:51 smcquay joined #salt
00:53 mgw joined #salt
01:01 englishm joined #salt
01:04 ryuhei weee issue resolved..
01:09 DaveQB joined #salt
01:28 ryuhei have a good weekend!
01:32 elfixit joined #salt
01:36 mpanetta joined #salt
01:36 mpanetta joined #salt
01:38 sxar joined #salt
01:45 jhauser_ joined #salt
01:47 ilbot3 joined #salt
01:47 Topic for #salt is now Welcome to #salt | 2014.1.10 is the latest | Help us test the 2014.7 RC! http://bit.ly/salt-rc | SaltStack is hiring! http://www.saltstack.com/careers | Please be patient when asking questions as we are volunteers and may not have immediate answers | Channel logs are available at http://irclog.perlgeek.de/salt/
01:55 TheThing joined #salt
01:59 otter768 joined #salt
02:06 Hell_Fire_ joined #salt
02:08 mordonez joined #salt
02:10 bhosmer joined #salt
02:12 englishm joined #salt
02:14 mordonez_ joined #salt
02:20 englishm joined #salt
02:23 fllr joined #salt
02:23 n8n joined #salt
02:25 tmh1999 joined #salt
02:33 snuffeluffegus joined #salt
02:35 oz_akan joined #salt
02:48 blarghmatey joined #salt
03:13 JoeHazzers joined #salt
03:13 JoeHazzers i don't know what the hell is going on, but is salt meant to file silently on a pillar.get?
03:16 jeffspeff i need to something like 'salt minions.up pkg.update_db' but that's not the right command. i want to run something but only on the minions currently connected
03:32 tmh1999 joined #salt
03:34 n8n joined #salt
03:36 oz_akan joined #salt
03:41 vinod_ joined #salt
03:59 bhosmer joined #salt
04:17 vbabiy joined #salt
04:33 dstokes wrote a thing on external pillar modules https://medium.com/p/saltstack-extending-the-pillar-494d41ee156d
04:36 n8n joined #salt
04:45 ajolo joined #salt
04:47 NotreDev joined #salt
04:50 n8n joined #salt
04:51 adsisco_ joined #salt
05:03 catpigger joined #salt
05:20 jalaziz joined #salt
05:36 bhosmer joined #salt
05:39 Karunamon joined #salt
05:48 bhosmer joined #salt
05:55 vbabiy joined #salt
05:55 mrlesmithjr joined #salt
06:12 manytrees___ joined #salt
06:12 mikepea_ joined #salt
06:12 hillna joined #salt
06:12 neilf_____ joined #salt
06:12 basepi joined #salt
06:12 rcsheets_ joined #salt
06:12 ikanobori joined #salt
06:12 copelco__ joined #salt
06:12 octarine joined #salt
06:12 modafinil__ joined #salt
06:15 goki_____ joined #salt
06:15 EWDurbin joined #salt
06:15 adsisco_ joined #salt
06:15 akitada__ joined #salt
06:15 munhitsu__ joined #salt
06:15 kwmiebach______ joined #salt
06:16 grepory_ joined #salt
06:16 gamingrobot joined #salt
06:17 simonmcc joined #salt
06:17 gldnspud__ joined #salt
06:17 JordanTesting___ joined #salt
06:17 imanc__ joined #salt
06:18 scalability-junk joined #salt
06:18 wavis joined #salt
06:19 akoumjian_ joined #salt
06:19 wiqd joined #salt
06:20 doriftoshoes joined #salt
06:20 pwiebe___ joined #salt
06:20 mihait__ joined #salt
06:21 codekobe____ joined #salt
06:21 thunderbolt joined #salt
06:21 fxdgear_ joined #salt
06:21 CaptTofu___ joined #salt
06:21 whiteinge joined #salt
06:22 abele joined #salt
06:23 lkannan joined #salt
06:24 JonGretar_ joined #salt
06:31 epcim_ joined #salt
06:38 oz_akan joined #salt
06:53 ravenac95 joined #salt
06:54 englishm joined #salt
06:57 Sweetshark joined #salt
06:58 ravenac95 hey guys, what is the process like for elevating 2014.7 from rc to a full on release?
06:59 ravenac95 there are some really amazing features i'd love to be able to get my hands on
07:00 zergutzu joined #salt
07:03 viq joined #salt
07:05 agend joined #salt
07:05 zergutzu_ joined #salt
07:07 ravenac95 ha! sorry for adding to the noise, just perused some history and found other people asking. well i hope developments come soon! Love salt and think I'll love 2014.7 even more
07:08 ravenac95 left #salt
07:08 ravenac95 joined #salt
07:09 linjan joined #salt
07:10 mrlesmithjr joined #salt
07:11 kelseelynn joined #salt
07:12 ravenac95 left #salt
07:36 bn_ joined #salt
07:37 bhosmer joined #salt
07:37 bn_ left #salt
07:39 oz_akan joined #salt
08:07 scarcry joined #salt
08:47 intellix joined #salt
09:00 agend joined #salt
09:07 mrlesmithjr joined #salt
09:09 linjan joined #salt
09:15 mrlesmithjr joined #salt
09:21 wackycaptain joined #salt
09:26 bhosmer joined #salt
09:31 linjan joined #salt
09:35 hintss joined #salt
09:40 oz_akan joined #salt
09:43 Outlander joined #salt
09:50 kingel joined #salt
10:05 TyrfingMjolnir joined #salt
10:14 VBet joined #salt
10:23 manytrees___ joined #salt
10:23 heise joined #salt
10:24 kingel joined #salt
10:25 wnkz_ joined #salt
10:26 faust joined #salt
10:26 blast_hardcheese joined #salt
10:28 renoirb joined #salt
10:28 jasonrm joined #salt
10:29 anitak joined #salt
10:30 mattikus` joined #salt
10:31 snuffop joined #salt
10:31 Deevolution joined #salt
10:31 gadams joined #salt
10:33 __number5__ joined #salt
10:34 emostar joined #salt
10:34 chitown_ joined #salt
10:34 z3uS joined #salt
10:36 wm-bot4 joined #salt
10:37 mrlesmithjr joined #salt
10:41 linjan joined #salt
10:41 oz_akan joined #salt
10:42 bhosmer joined #salt
10:46 peters-tx joined #salt
10:47 oz_akan joined #salt
10:49 tkharju joined #salt
10:56 andredieb joined #salt
11:14 bhosmer_ joined #salt
11:24 kingel joined #salt
11:27 bmonty joined #salt
11:27 jayfk joined #salt
11:40 DaveQB joined #salt
11:43 N-Mi joined #salt
11:47 mapu joined #salt
12:05 TheThing joined #salt
12:07 teebes joined #salt
12:15 faust left #salt
12:17 wnkz_ joined #salt
12:18 anitak joined #salt
12:19 mapu joined #salt
12:24 evidence joined #salt
12:25 kingel joined #salt
12:30 mapu joined #salt
12:32 wnkz__ joined #salt
12:35 mrlesmithjr joined #salt
12:36 ramishra joined #salt
12:39 bhosmer joined #salt
12:45 teebes joined #salt
12:48 mrlesmithjr joined #salt
12:51 felskrone joined #salt
12:57 sxar joined #salt
13:03 bhosmer joined #salt
13:09 wnkz_ joined #salt
13:14 agend joined #salt
13:17 wnkz_ joined #salt
13:20 aquinas joined #salt
13:20 aquinas_ joined #salt
13:25 mechanicalduck_ joined #salt
13:44 mrlesmithjr joined #salt
13:51 ph8 joined #salt
14:02 TheThing joined #salt
14:05 eunuchsocket1 joined #salt
14:06 acabrera joined #salt
14:13 mechanicalduck joined #salt
14:14 kingel joined #salt
14:16 agend joined #salt
14:17 ckao joined #salt
14:26 elfixit joined #salt
14:34 iamtew good afternoon! :)
14:35 iamtew curious, how would I go about managing the root password of my servers? I'm using the users-formula from saltstack for regular users, works perfect, but it doesn't seem to want to manage my root account
14:35 iamtew any tips, idea, suggestions? :)
14:35 rypeck joined #salt
14:36 acabrera joined #salt
14:37 StDiluted joined #salt
14:39 iamtew oh nevermind! if I don't specify the home directory in the users formula it won't work.. but adding it made the trick
14:39 iamtew sorry for the noise, carry on people! :)
14:44 mgw joined #salt
14:45 TheThing joined #salt
14:45 anitak joined #salt
14:52 bhosmer joined #salt
15:04 ramishra_ joined #salt
15:10 diegows joined #salt
15:15 kingel joined #salt
15:21 pdayton joined #salt
15:24 kingel joined #salt
15:27 anitak joined #salt
15:28 eunuchsocket joined #salt
15:33 ramishra joined #salt
15:35 englishm joined #salt
15:35 ramishra joined #salt
15:39 mrlesmithjr joined #salt
15:39 ramishra_ joined #salt
15:41 felskrone joined #salt
15:41 ramishra joined #salt
15:42 mgw joined #salt
15:45 mrlesmithjr joined #salt
15:54 jhauser joined #salt
16:03 tligda joined #salt
16:07 mrlesmithjr joined #salt
16:11 mgw joined #salt
16:17 englishm joined #salt
16:19 englishm_ joined #salt
16:22 felskrone joined #salt
16:24 rawtaz yo peeps
16:24 rawtaz in http://docs.saltstack.com/en/latest/topics/cloud/config.html#config-saltify it says " Saltify driver is a new, experimental driver for installing Salt on existing machines (virtual or bare metal)."
16:25 rawtaz surely saltify doesnt install ontp bare metal, there has to be an OS on the machine?
16:25 rawtaz perhaps a more accurate wording is "virtual or physical"?
16:26 rawtaz onto*
16:31 lahwran joined #salt
16:35 rawtaz oh hm. didnt know salt-ssh was alpha :)
16:37 rawtaz so at this point in time there's no support for using salt without a master and minions i take it?
16:38 mrlesmithjr joined #salt
16:41 ndrei joined #salt
16:41 ndrei_ joined #salt
16:41 bhosmer joined #salt
16:44 bmonty rawtaz: you can run a minion without a master
16:44 TyrfingMjolnir joined #salt
16:45 rawtaz bmonty: what i would like is to have a bunch of VMs that i control by running salt commands from my own computer. so "push"ing states so to speak
16:45 bmonty http://docs.saltstack.com/en/latest/topics/tutorials/quickstart.html
16:45 bmonty rawtaz: you need a master for that
16:45 rawtaz yeah until salt-ssh is stable, right?
16:46 bmonty I don’t know about salt-ssh
16:46 rawtaz http://docs.saltstack.com/en/latest/topics/ssh/index.html =)
16:46 rawtaz kinda nice for small scenarios
16:46 bmonty why wouldn’t you just run salt-master?
16:47 rawtaz because i dont want to have to set up a server for that
16:47 rawtaz i dont have a ton of servers i need to manage with salt, i just have a few :)
16:47 bmonty the box running salt-master can also be a minion
16:48 rawtaz yeah but its not hte same thing
16:48 rawtaz i dont want to introduce another dependency
16:49 rawtaz the simplest to me would be that i just have my salt states stuff on my local workstation here, and can push that to the machines i want to manage with salt. basically like ansible does it, and what i think salt-ssh can do
16:50 bmonty interesting idea, I haven’t heard of salt working that way
16:50 rawtaz aha :) well it's defintely new, since salt-ssh is still in alpha
16:51 rawtaz this is how ansible does it, and it's what has gained a lot of users i think. since its so darn simple. you just clone the ansible repo, write your state/playbook, and push to the nodes you want to manage. super simple, instead of having to have a master somewhere
16:51 rawtaz but i thikn we're on the right track here anyway, at this point it's salt-ssh or masterless minion or the regular setup
16:52 bmonty just curious why you’d use salt instead on ansible if ansible works the way you want
16:53 scoates joined #salt
16:53 rawtaz yeah.. i think both ansible and salt have their pros and cons, but after reading a lot of what people think of them it seems salt has a slight edge in the long run. also i thikn the ansible project isnt ran the best way, it's at times not very welcoming to opinions. that makes me not like it very much
16:54 rawtaz i have actually used ansible and found it nice to use. i probably would be very happy with it regardless. but i wanna make an educated choice and i dont like it when there's tension with the maintainer
16:54 rawtaz but that said. both are great products. these are just small details
16:54 bmonty i like salt because it’s python
16:54 rawtaz but i might go ahead with ansible if salt-ssh isnt stable enough. but who knows, perhaps it is :D
16:54 rawtaz yeah, ansible is python too
16:54 rawtaz i thikn it has less deps than salt actually
16:55 bmonty I’ll have to check out ansible
16:55 * rawtaz ducks
16:55 rawtaz so anyway, thats why i kinda was curious about salt-ssh, how usable it is :)
16:55 bmonty I’m currently playing with salt to provision vagrant vms
16:56 rawtaz aha. for what purpose? development environments?
16:56 bmonty yes
16:57 bmonty I’ve been toying around with how to get virtualenvwrapper set up with python 3
16:57 rawtaz aha
16:58 rawtaz im actually setting up dev envs too. my plan is to use coreOS or some linux or freebsd in a VM on my mac, to run containers (LXC or jails), and orchestrate them all using salt (or ansible i guess)
16:58 bmonty you shoudl check out vagrant
16:58 bmonty that’s exactly what it does
16:59 rawtaz yes but i dont want to run multiple VMs when i can just run containers. much more efficient
16:59 rawtaz (although i guess vagrant has container providers too so it can orchestrate containers)
16:59 bmonty what’s the difference between a container and a vm?
16:59 rawtaz but i dont want to put my automation in vagrantfiles, better to have that in salt/ansible
16:59 bmonty the salt config is seperate from the vagrant config
16:59 rawtaz ok
17:00 rawtaz honestly i thikn im just trying to get away from vagrant as much as possible lol. in part because i never really understood why it's so needed, to me its just automation
17:00 rawtaz bmonty: a regular VM is a full virtualization of the machine, so you install an individual OS in it, right?
17:01 bmonty yes
17:01 rawtaz a container on the other hand shares is more about isolation. instead of each having its own OS, it shares the host OS kernel and memory and CPU (but you can share these resources controllably) and you just get your own cozy area of that OS
17:01 rawtaz hard to explain
17:02 rawtaz but its way way more resource efficient. hardly any overhead (really just a bunch of sysyem calls during runtime)
17:02 rawtaz at the cost of having the same OS in the containers, since it's not multiple OS installations
17:02 bmonty sounds like a chroot jail
17:02 rawtaz yeah like that indeed
17:02 rawtaz do you know freebsd jails?
17:02 bmonty I read about them :)
17:03 rawtaz ok
17:03 rawtaz well i think you got the gist of it
17:04 rawtaz so if i want four different dev envs, i dont want to have four different VMs i have to spin up etc, on my already loaded laptop. instead i can just have any number of containers in which i can install the softare i need, but they dont have hte overhead of its own VM per container
17:04 bmonty makes sense
17:04 rawtaz yeah very very much
17:09 englishm joined #salt
17:13 bhosmer joined #salt
17:16 rawtaz sooo, does anyone have an opinion on how stable/usable salt-ssh is? is it something ppl actually use in non-critical production?
17:18 ndrei joined #salt
17:18 ndrei_ joined #salt
17:23 programmerq joined #salt
17:24 acabrera joined #salt
17:25 iamtew I haven't played around with salt-ssh at all, unfortunately..
17:27 SheetiS joined #salt
17:27 rawtaz found this from march :) https://groups.google.com/forum/#!topic/salt-users/Bik9gMa9z-w
17:29 agend joined #salt
17:30 iamtew I got a completly different question; how do you manage your states, pillars, formulas etc.? currently I'm just doing some writing on the salt master under the root account, but that's a bit annoying
17:30 iamtew something like git, push, salt master pulls it, test it?
17:31 rawtaz i would definately use a VCS like you suggest. but thats probably rather obvious :)
17:31 kingel joined #salt
17:32 englishm_ joined #salt
17:32 iamtew yeah I guess that's kind of obvious in today's age.. :)
17:32 rawtaz hehe to some at least :)
17:32 rawtaz some dont even know what a VCS is
17:33 iamtew yeah.. I'm busy getting in to saltstack on my free time for my machine at home, and some vps'
17:33 rawtaz what have you used before? ansible? puppet?
17:33 iamtew at work we run puppet, and just put our modules and hiera stuff in repos, push it to our server, and there is hooks to pull it to the puppet master
17:34 rawtaz sounds not bad
17:34 iamtew nah it's okay
17:35 iamtew thinking about it, this is not the question I was supposed to ask, since I already know the answer..
17:35 iamtew the question is more; do I always have to execute the commands as root from the salt master? can I just trigger it from my laptop somehow?
17:36 iamtew I guess I'm just trying to think of some workflow
17:36 rawtaz ssh the command, worst case
17:37 iamtew just got an idea. grab the servers from top.sls, and then I know which servers have which states, then depending on what I've updated in the repos, I'll just run a highstate on those machines
17:37 iamtew like some hook on the salt-master will have to check that
17:38 rawtaz you mean git diff the top.sls to see changed lines
17:38 n8n joined #salt
17:39 iamtew well sort of.. for example in top.sls I have stuff for '*', then I have some more formulas for some servers..
17:39 iamtew so in each section I know which states apply to it
17:40 iamtew then I can also check with git diff, log, whatever, if that state changed, I can apply it to the servers that state belongs to
17:40 iamtew hmm.. maybe that'll be a project for later tonight :)
17:41 kingel joined #salt
17:51 ndrei joined #salt
17:51 ndrei_ joined #salt
18:01 blarghmatey joined #salt
18:05 jut joined #salt
18:07 ndrei joined #salt
18:09 agend joined #salt
18:09 ndrei_ joined #salt
18:11 viq iamtew: regarding telling salt-master to execute commands remotely, there's salt-api, and have a look at halite. There's also some salt support in rundeck
18:15 mrlesmithjr joined #salt
18:16 duruk joined #salt
18:16 blarghmatey joined #salt
18:29 bhosmer joined #salt
18:34 iamtew viq: cool, thanks, I'll give it a look :)
18:36 tligda joined #salt
18:51 hintss Eugene: lol
18:56 tligda joined #salt
19:05 ravenac95 joined #salt
19:11 wnkz_ joined #salt
19:14 ndrei joined #salt
19:14 vbabiy joined #salt
19:14 ndrei_ joined #salt
19:16 duruk I'm trying to get salt running on openbsd 5.4 but something is going wrong with the salt-minion and salt commands.
19:16 duruk salt-master seems fine though.
19:17 duruk When running the minion I get a ZMQError: Invalid argument.
19:20 duruk There is one warning when running pip install salt:
19:20 duruk Warning: Detected ZMQ version: 3.2.3, but pyzmq targets ZMQ 4.0.4.
19:20 duruk Warning: libzmq features and fixes introduced after 3.2.3 will be unavailable.
19:20 duruk But that reads like the issue is being handled.
19:21 babilen It might also very well be that a newer version is actually required (as some of the features are necessary)
19:21 kermit joined #salt
19:23 duruk I guess that is the logical place to start looking.
19:23 babilen Is the a newer version available or easily obtainable for you?
19:25 duruk Download and build I think is the only option I have on this platform... unless you happen to know a site that packages up newer ZMQ for openbsd?
19:25 babilen I don't, sorry.
19:26 duruk I doubt one exists. :-)
19:26 babilen #openbsd might have some ideas
19:29 n8n joined #salt
19:35 duruk What's the status of the new RAET transport?  From the docs it looks like there is a switch you can give pip to install it, but what about the prebuilt packages for ubuntu, debian, etc.?
19:35 eliasp duruk: IIRC there was recently a statement regarding RAET by Thomas Hatch on the ML
19:47 TheThing joined #salt
19:48 troyready joined #salt
19:50 duruk Hmm..  ZMQ 4.0.4 did not fit the salt-minion failure
19:50 epcim joined #salt
19:52 duruk did not *fix* the failure
19:55 babilen duruk: Could you try running https://www.refheap.com/90486 ?
19:56 spookah joined #salt
19:58 teebes joined #salt
20:06 vukcrni joined #salt
20:08 duruk babilen:  I tried that earlier and it worked, and just tried it again after the upgrade to 4.0.4 and it still works.
20:09 duruk I think I saw that mentioned somewhere where someone was having a problem with salt-master... and so far salt-master seems ok for me.  It is running commands with salt, or starting salt-minion that fail.
20:12 babilen Okay, could you provide more detailed information about what you are doing and how that fails exactly? Make ample use of debug flags "-ldebug" when starting the minion and pastebins such as http://refheap.com or http://paste.debian.net
20:16 duruk Here is the error when trying to run a test.ping: https://www.refheap.com/90487
20:18 bhosmer joined #salt
20:19 babilen What does that have to do with the minion?
20:19 babilen Oh, and 2014.7
20:20 duruk And here is when trying to start the minion: https://www.refheap.com/90488
20:20 duruk Similar errors (if not exact, I've not checked).
20:21 babilen Same with current stable (2014.1.11) ?
20:22 duruk I've not tried yet. I just ran a pip install.  Now I have to go back and refresh my memory on how to get pip to install older versions.
20:25 mrlesmithjr joined #salt
20:26 babilen duruk: "pip install salt==2014.1.10"
20:27 duruk :-)
20:27 holms anybody got working mongodb-formula?
20:27 holms it's just failing to download package
20:27 holms with default pillar settings
20:27 babilen .11 does not seem to be available in the cheeseshop
20:28 babilen holms: The mongodb formula is a bit speshul IMHO. On which distribution are you using it?
20:28 holms 14.04
20:28 duruk babilen:  It worked for me:  Downloading salt-2014.1.11.tar.gz (2.8Mb): 2.8Mb downloaded
20:28 holms babilen: what do you use then?
20:28 babilen duruk: Ah, I just checked on the website.
20:29 duruk Ah
20:29 babilen holms: Ubuntu I take it? Are you installing from the PPA or are you trying to use the official package?
20:29 babilen holms: https://github.com/saltstack-formulas/mongodb-formula/issues/9
20:29 holms babilen: formula installs from ppa (personally i don't care what to use)
20:30 holms and no reaction =(
20:30 babilen Well, I guess it is up to me to implement that, but given that I have, as of now, no real need for that formula it is a bit lower on my todo list
20:31 babilen holms: And the PPA is failing on Ubuntu?
20:32 holms babilen: yeap
20:33 babilen Ah, so the formula is not only needlessly focusing on the PPA (with its apparently weird packages), but also failing. Would you mind filing a bug about that? I might spare an hour to get this in shape, but given that the formula is so tailored to the PPA (rather than the official packages) it is a bit of work.
20:34 holms filling a bug where :)
20:34 holms your issue is my issue on github now
20:34 babilen IIRC you can, however, disable the PPA in your pillar by setting "use_ppa: False" -- 14.04 has a mongodb package (but the name might be wrong just like on Debian)
20:34 holms oh
20:34 holms will try that
20:35 babilen Wait. There are *two* distinct repositories you can install mongodb from. The formula focusses on the PPA and is broken in regard to the "normal" official Debian/Ubuntu packages.
20:36 holms hrr
20:36 babilen Which issue are you running into exactly? Is the PPA install failing or the package install (due to the wrong name) or both?
20:36 holms seems to be this guys has lot of changes in fork https://github.com/scroiset/mongodb-formula
20:36 babilen I consider the "focus on PPA" approach to not only be suboptimal but wrong.
20:37 holms https://dpaste.de/mdUB
20:37 holms it just fails
20:37 holms i'm not going into detail here )
20:37 babilen But they also didn't merge any of the commits that have been made to the mongodb formula in the interim.
20:37 babilen holms: Could you show me the complete output?
20:37 babilen (that would be the PPA btw)
20:38 holms ok i need to provision only with mongodb formula
20:38 babilen *sigh* -- I thought that, while idiotic, the formula would at least work with the PPA :)
20:40 babilen holms: Could you set "use_ppa: False" in your pillar and try that? And please file a bug with your complete output + pillar of the PPA run.
20:40 holms i'' try both
20:42 babilen Thank you.
20:42 duruk babilen:  Thanks for the pointer about forcing the stable version.  2014-1-11 works fine.
20:45 babilen duruk: Wonderful!
20:46 babilen duruk: Not sure if *anybody* looks into this on OpenBSD or if it even is a more generic problem in the 2014.7 branch now.
20:46 babilen holms: https://github.com/saltstack-formulas/mongodb-formula/commit/e9059ef7dee003f46e460b1bb242104218466e03 is the commit of pain :)
20:49 babilen holms: The more I look at that formula the more do I disagree with its design :)
20:51 duruk bibilen:  And it might have been OK if pip was sending the stable version.  I didn't revert the ZMQ 4.0.4 upgrade so 2014.1.11 might have worked with the packaged version of ZMQ.
20:54 duruk So if it is a generic problem I'm sure it will get caught, and if it is OpenBSD specific I'll probably see it again when I upgrade... some..day..
20:54 jeffspeff i need to something like 'salt minions.up pkg.update_db' but that's not the right command. i want to run something but only on the minions currently connected
20:55 holms babilen: without ppa http://pastebin.com/qCHgFhnQ
20:55 babilen duruk: I would think/hope that .11 would work with the standard version (as it meets the requirement, sorry for that). https://groups.google.com/forum/#!searchin/salt-users/request$20for$20pypi$20releases/salt-users/_uyvhFNORro/oCkmYERIf5IJ
20:55 babilen holms: Please use a different pastebin. pastebin.com is just horrible and, on top of all that, asks me to enter a captcha now.
20:56 babilen (It's okay for now, but just don't ...)
20:56 holms how to change paastebin for pastebinit tool?
20:56 holms you need raw anywya :) http://pastebin.com/raw.php?i=qCHgFhnQ
20:58 duruk babilen:  Ah, yeah.. so I am not the only one to get bitten by that.
20:58 babilen holms: "pastebinit -b http://paste.debian.net ..."
20:58 babilen duruk: No, not at all.
20:58 holms babilen: http://pastebin.com/raw.php?i=DQimmWkn raw for you
20:59 babilen Yeah, I had a look aleady.
20:59 holms babilen: anyway to put it as default?
20:59 holms babilen: this one is with PPA
20:59 babilen holms: I am, right now, not sure if this is a genuine bug in the Ubuntu packages or if you run into this problem because the PPA install was attempted before.
21:00 holms babilen: it's provisioning from scratch
21:02 teebes joined #salt
21:03 babilen holms: Okay, good to know. I'm more of a Debian person, but I can't find a bug report about that in Ubuntu's BTS. It would be nice if you could file a bug with and without PPA (but not the debug output, that's a bit too verbose and doesn't really add anything).
21:03 babilen I would probably try installing the mongodb server package manually now on a pristine box.
21:04 babilen If that doesn't work we know that it is an Ubuntu/Debian bug and if it does then we can blame the formula.
21:04 holms m
21:04 babilen (no idea what's wrong with the PPA and I really don't feel like supporting that)
21:04 babilen Let me check Debian's BTS
21:05 holms so you want me to open need ticket?
21:05 holms formula broken on ubuntu 14.04 with ppa and without ?
21:05 holms would be nice to try your commit
21:06 babilen Which commit?
21:06 holms oh it's not yours https://github.com/saltstack-formulas/mongodb-formula/commit/e9059ef7dee003f46e460b1bb242104218466e03
21:06 holms ok submiting report
21:07 babilen holms: No, that's the commit that started the whole PPA malarky
21:07 holms i see
21:07 babilen fwiw, I can't find an applicable bug report in either Ubuntu's nor Debian's bug tracker.
21:07 iamtew hm.. so is the config files located under /etc/salt/{master,minion}.d/ now? I see the salt-formula was changed a few days ago..
21:08 iamtew https://github.com/saltstack-formulas/salt-formula/commit/75a1f888eb1a19bd1590f76106139ad947fbf0fb
21:09 iamtew oh wait, it's just default locations.. ok
21:10 babilen iamtew: That Debianism is supported AFAIK and makes it easier to define, say, reactors in their own file.
21:11 holms vagrant rules.. have to submit with debug sorry :D
21:11 babilen (as in: The master config is the concatenation of all files in /etc/salt/master.d/)
21:11 iamtew aah, I see
21:11 babilen holms: Can't you ssh into it?
21:11 iamtew I'm not very used to debianism :)
21:11 iamtew but whatever, as long as it works :)
21:11 holms babilen: not sure what you ask - i can
21:12 babilen iamtew: It's a commonly used technique on Debian to split larger configuration files into semantically distinct smaller ones.
21:12 duruk Is there a way to have a single salt master/minion domain but break up roles and responsibilities to different teams?
21:12 babilen holms: Doesn't that allow you to run the highstate without "-ldebug" ?
21:12 holms babilen: vagrant provisioner here have no clue how to work with saltstack otherwise
21:13 babilen duruk: I'm not sure what you mean by that exactly.
21:13 iamtew babilen: yeah, makes sense. I'm more used to RHEL / CentOS though
21:13 holms babilen: i've set log to 'info' but he don't care :D
21:13 holms will be easier to debug for author anyway
21:13 babilen holms: Ah, okay. Sorry, I use vagrant a lot to start test boxes (with docker and libvirt provider) into which I SSH and then manually run salt commands (just like in the real world)
21:14 n8n joined #salt
21:15 babilen holms: https://gist.github.com/babilen/e9479fdfbcca431db208 is an older setup that I pasted once
21:16 duruk babilen:  I had hoped that would explain it...  but basically where I work we have a team that is responsible for all systems, say 1000 or so, but my area has about 200 of these.  They need certain levels of control over my machines, but I should have no control over the rest.
21:17 mrlesmithjr joined #salt
21:17 babilen duruk: Well, there are various ways to do that. The easiest is probably to use different masters and, optionally, tie them together with syndic (cf. http://docs.saltstack.com/en/latest/topics/topology/syndic.html)
21:19 duruk babilen:  I was looking at that earlier and that might do it.  I had looked into mult-master but it seemed it was more for redundancy at the master level.
21:19 babilen duruk: But that is an interesting problem that I haven't encountered before and therefore never had the need to look it up.
21:19 holms babilen: maybe i'll just leave output after all operations
21:20 babilen duruk: I take it that the people responsible for "their" boxes should be able to use salt for orchestration too?
21:20 duruk babilen:  Undertandable.  I'm just looking for ideas at this point.  It seems there is no "standard" way to do it so it is up to the user to figure out how to use the tools to make it work.
21:20 babilen duruk: I'd love to see better support for that in salt and a mail to the ML might be a good start (or it might already exist and I simply haven't heard of it yet)
21:21 duruk babilen: Yep.  Another way to think of it.. They have root on all *nix systems (and win too, but I think that will be out of scope for salt at firt), and I only have root on a subset of them.  So the question is how could salt be layed out to fit such a structure.
21:22 holms babilen: https://github.com/saltstack-formulas/mongodb-formula/issues/10
21:22 holms babilen: without ppa just one fail
21:22 babilen duruk: "orchestration" as in "interactively sending commands from the master to the minion" and as opposed to "only making changes to specific code areas that are pushed to the master and will be triggered automatically/manually by a trusted person"
21:22 holms shouldn't be difficult to fix
21:23 babilen holms: Ah, lovely. Thank you!
21:24 babilen holms: There is https://github.com/saltstack-formulas/mongodb-formula/pull/8 that you should be aware of. You might want to merge that into "your" repo.
21:24 duruk babilen:  It seems like syndic might work, but the master (not the master of masters) would need to be able to have different states defined than the master of masters.
21:24 duruk And I could not tell from the docs if that worked.
21:25 babilen holms: Unfortunately that PR is broken in more than one way (which is why I haven't merged it) and you might just want to edit map.jinja and change "mongod" to "mongodb" and set "use_ppa: False" and hope that it works.
21:26 babilen holms: Have you tried installing mongodb manually on an Ubuntu system already? Does that work? (completely without salt)
21:28 babilen duruk: You can, naturally, reference different file_roots. We are using GitFS and pillars in git for our setup and due to the fact that http://docs.saltstack.com/en/latest/topics/tutorials/gitfs.html#per-remote-configuration-parameters is not support in 2014.1.* we opted for multiple repositories for the time being (+ formulas and some "global" repositories)
21:30 babilen duruk: Ideally you would simply tell each master to take its states from a different gitfs_root or would that be problematic as teams aren't allowed to see code/states from other teams which would render a shared repository unfeasible.
21:31 babilen The main point is to have different sets of minions that are controlled from each master so that people who can use salt on masterA cannot tinker with minions that belong to masterB.
21:32 babilen But it *would* be nice to implement some "you are not allowed to tinker with these minions" access control system in salt so that you could define access schemes for different users/groups (with all the power of salt's targeting)
21:34 duruk babilen: exactly.  I thought about the GitFS method but we have currently standardized on Hg.. maybe there is something similar there.
21:35 babilen duruk: I don't think so.
21:35 babilen Git conquered the world some years ago
21:35 duruk babilen: And we might be able to share a tree, but it might turn out ot be problematic.
21:36 babilen Okay, it's not an option then anyway.
21:36 duruk babilen: If GitFS fit the bill we could switch.
21:37 babilen By that time 2014.7 will probably have been released which should make a few things easier :)
21:38 duruk But I think syndic might work, if it works like I am thinking it is..  if the master of master just sends commands and the local master rebroadcasts to local minions and the states come from the local master, then it might work.  The states, whatever the upper level team needs could be maintained in our tree but we don't have access to theirs.
21:38 kingel joined #salt
21:38 babilen That's exactly how it works.
21:39 duruk so orchestration is maintained...  they could run a shadow.set_password or whatever that command is, and change their own accounts...  but if they ran a state.highstate then it would come from config that is controlled in my team.
21:39 holms babilen: i haven't
21:40 duruk That might offer some advantages.
21:40 holms babilen: i basically sure it would work. i mean chances that something broken in stable version are zero.
21:40 holms testing your commit now
21:40 holms or whoever commit was in there
21:41 babilen holms: Well, I am happy to hear that with my Debian maintainer hat on, but some things *do* break even in a stable release (and more so in Ubuntu)
21:41 holms i mean pull request
21:41 babilen holms: No, don't do that. That PR is completely broken. You really just have to edit map.jinja and change the "mongod" to "mongodb" in there (the value not the key)
21:41 holms oh
21:42 holms this one is broken? https://github.com/saltstack-formulas/mongodb-formula/pull/8
21:42 babilen yes (see my comments in there)
21:42 holms k
21:43 babilen The main problem is the "merge=salt['pillar.get']('samba:lookup')))" which was clearly stolen from the samba formula without any changes.
21:44 holms lol
21:44 holms in map.jinja i have      'mongod': 'mongod',
21:44 holms https://raw.githubusercontent.com/saltstack-formulas/mongodb-formula/master/mongodb/map.jinja
21:44 holms oh so to mongodb
21:44 babilen exactly
21:44 * holms feels idiot today ssorry
21:45 babilen It's okay. I'm in "weekend mode" anyway and enjoying a negroni. I won't push *anything* upstream now :)
21:47 holms works!!
21:48 holms babilen: you can push it actually solves problem with native repo
21:49 babilen Great
22:04 StDiluted joined #salt
22:04 n8n joined #salt
22:04 scarcry joined #salt
22:07 bhosmer joined #salt
22:08 anitak joined #salt
22:13 mrlesmithjr joined #salt
22:16 active8 joined #salt
22:25 diegows joined #salt
22:37 bhosmer joined #salt
22:38 kingel joined #salt
22:49 tligda joined #salt
22:51 mechanicalduck joined #salt
22:53 maggotfurphy joined #salt
23:15 snuffeluffegus joined #salt
23:23 fragamus joined #salt
23:39 midacts joined #salt
23:56 bhosmer joined #salt
23:57 XenophonF joined #salt

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