Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2016-07-23

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

All times shown according to UTC.

Time Nick Message
00:00 aswini @iggy thanks, for example, what sort of bad things
00:03 mpanetta joined #salt
00:04 mpanetta joined #salt
00:05 mpanetta joined #salt
00:13 Tyrm joined #salt
00:14 nethershaw joined #salt
00:21 Sammichmaker joined #salt
00:26 Tyrm joined #salt
00:30 flowstate joined #salt
00:34 amcorreia joined #salt
00:45 Bryson joined #salt
00:54 Nahual joined #salt
01:01 rem5 joined #salt
01:02 edrocks joined #salt
01:04 bltmiller joined #salt
01:13 catpigger joined #salt
01:30 flowstate joined #salt
01:31 tercenya joined #salt
01:40 tuxx joined #salt
01:45 ageorgop joined #salt
01:45 aw110f_ joined #salt
01:46 a_ghost_irl joined #salt
01:47 yidhra_ joined #salt
01:58 subsignal joined #salt
01:59 DEger joined #salt
02:03 ageorgop joined #salt
02:22 hemebond joined #salt
02:26 spuder joined #salt
02:28 scsinutz joined #salt
02:28 bltmiller joined #salt
02:28 jhauser joined #salt
02:29 pcdummy_ joined #salt
02:30 bltmiller joined #salt
02:31 bltmiller joined #salt
02:32 amcorreia joined #salt
02:33 bltmiller joined #salt
02:35 bltmiller joined #salt
02:35 bltmiller joined #salt
02:38 bastiandg joined #salt
02:41 scoates joined #salt
02:45 alvinstarr joined #salt
02:51 bltmiller joined #salt
03:01 Tyrm joined #salt
03:02 writtenoff joined #salt
03:04 Tyrm joined #salt
03:06 edrocks joined #salt
03:14 raspy_ how can i execute a salt state once another salt state finished
03:18 spuder joined #salt
03:21 hasues joined #salt
03:21 hasues left #salt
03:25 spuder joined #salt
03:31 flowstate joined #salt
03:32 morissette joined #salt
03:35 ageorgop joined #salt
03:46 ageorgop joined #salt
03:52 iggy raspy_: make them both part of highstate and they will execute in order
03:56 ryan joined #salt
03:57 ryan left #salt
03:57 Tyrm joined #salt
03:57 patarr joined #salt
03:57 Guest22408 joined #salt
04:00 DEger joined #salt
04:02 thebignoob2 joined #salt
04:04 thebignoob2 i have a little question as to how to troubleshoot some oddness i'm expericing with jinja and targeting salt-mine data on minions
04:04 thebignoob2 i have a gist here to get the room less spammy https://gist.github.com/RyanShelf/ca200288c4c4b5a87a5aa33058f28ebf
04:05 thebignoob2 i'm telling my postgres-slaves to restore the wal from the master, and passing who the master is by setting a grain that's stored in mine, one slave get's it fine, but the others just break on the variable
04:06 iggy add to that paste the sls files
04:06 thebignoob2 yes one moment pls
04:09 thebignoob2 @iggy should be updated now
04:11 thebignoob2 there fresh servers on ec2
04:11 thebignoob2 s/there/they're/g
04:13 racooper joined #salt
04:13 Tyrm joined #salt
04:14 iggy the thing about the mine is it's not generally going to be perfectly up to date
04:15 thebignoob2 that makes sense
04:17 iggy if you need absolutely up-to-date data, I'd suggest using publish
04:17 iggy or some other cluster membership service
04:17 jrose1030 joined #salt
04:17 thebignoob2 i've already tried that, trying to get some logs showing the mininons seeing the master as, master
04:19 thebignoob2 @iggy showing the mine.get in the gist now
04:19 thebignoob2 thanks for the input too, i'm stumped
04:21 iggy so what's happening?
04:21 thebignoob2 had everything working in my dev env, moving to ec2 is being giving me issues
04:21 thebignoob2 here' ill run highstate again
04:23 thebignoob2 'Unable to manage file: Jinja variable 'postgres_master' is undefined'
04:24 thebignoob2 it doesn't feel like i'm really seeing any useful feedback when i run the salt state with -l all
04:24 thebignoob2 is there anyway i can get better verbosity into why one works, but the others dont?
04:25 iggy what file is that in?
04:25 thebignoob2 /var/lib/postgresql/9.1/main/recovery.conf
04:26 iggy oh, I see, forgot to scroll back up ;)
04:26 thebignoob2 no worries
04:27 thebignoob2 i'll even include the recovery.conf for the sake of transparency
04:27 iggy maybe do a mine.update on '*' before you try that?
04:28 iggy honestly, the last time I used mine, I had to restart the minions to get the data to update... really annoying
04:28 thebignoob2 hmmm
04:29 flowstate joined #salt
04:30 ageorgop joined #salt
04:34 raspy_ does anyone know why when installing fail2ban via salt, it creates a massive iptables rule which prevents access to the system?
04:34 raspy_ doing the same commands manually through CLI, it doesnt generate some ridiculous iptable
04:35 iggy :worksforme:
04:37 thebignoob2 are you using an official salt-stack formula?
04:39 iggy there's not really such a thing as an official saltstack formula
04:39 thebignoob2 well i guess you're right
04:39 thebignoob2 https://github.com/saltstack-formulas/fail2ban-formula/blob/master/pillar.example
04:39 iggy the formulas are all community maintained
04:39 raspy_ hmm thx thebignoob2
04:39 thebignoob2 they're usually better then what i can throw together, clearly
04:40 raspy_ oh this just configures it
04:41 thebignoob2 do you need to setup iptables then?
04:41 thebignoob2 there's a formula for that too :P https://github.com/saltstack-formulas/iptables-formula
04:50 thebignoob2 @iggy just delete instances and respin them up and hope it just sorts itself out
04:50 thebignoob2 is my approach at this point
04:50 iggy I would really try to find something more stable than mine to do what you're doing
04:52 thebignoob2 i might opt to having everything stored in pillar or something
04:52 thebignoob2 and having it being manipulated by by failover scripts
05:00 ageorgop joined #salt
05:09 edrocks joined #salt
05:15 thebignoob2 seems like there's some sort of issue with minion when updating the minion conf file that might be causing it
05:19 Laogeodritt joined #salt
05:24 ageorgop joined #salt
05:29 POJO joined #salt
05:34 hasues joined #salt
05:37 tercenya joined #salt
05:37 hasues left #salt
05:40 lompik joined #salt
05:50 om joined #salt
05:54 jeblair joined #salt
05:56 raspy_ in a saltstate how can I create a requirement for another state
05:59 hemebond raspy_: https://docs.saltstack.com/en/latest/ref/states/requisites.html
06:00 Miouge joined #salt
06:00 isntall joined #salt
06:00 isntall joined #salt
06:00 iggy night crew is here
06:01 hemebond lol
06:01 edrocks joined #salt
06:04 AXAHj joined #salt
06:04 iggy you've snuck into the top 10 in here
06:04 iggy https://theiggy.com/salt.html
06:04 hemebond LOL, oh wow.
06:06 iggy I feel like I've been here longer than 2 years... maybe not
06:09 hemebond Those are some interesting and amusing stats.
06:09 DEger joined #salt
06:10 ikarpov joined #salt
06:15 iggy yeah, apparently I'm abusive
06:19 tercenya joined #salt
06:26 DEger joined #salt
06:29 flowstate joined #salt
06:32 impi joined #salt
06:33 hemebond 👍
06:59 subsignal joined #salt
07:08 eseyman joined #salt
07:14 garphy joined #salt
07:30 flowstate joined #salt
08:01 subsignal joined #salt
08:05 edrocks joined #salt
08:14 MeltingFiction joined #salt
08:27 ribx joined #salt
08:29 Gister joined #salt
08:30 flowstate joined #salt
08:30 zer0def joined #salt
08:52 ninjada joined #salt
09:02 subsignal joined #salt
09:02 zer0def joined #salt
09:05 ninjada joined #salt
09:07 JPT joined #salt
09:12 CeBe joined #salt
09:17 ninjada joined #salt
09:24 ninjada joined #salt
09:26 tercenya joined #salt
09:30 flowstate joined #salt
09:38 POJO joined #salt
09:45 CeBe joined #salt
09:52 CeBe joined #salt
10:07 edrocks joined #salt
10:11 kuromagi joined #salt
10:28 DEger joined #salt
10:29 flowstate joined #salt
10:39 stack joined #salt
10:43 armyriad joined #salt
10:47 stack_ joined #salt
10:50 alias joined #salt
10:53 ninjada joined #salt
10:54 netzvieh joined #salt
10:54 ninjada joined #salt
10:58 ninjada joined #salt
11:03 subsignal joined #salt
11:43 lompik joined #salt
12:05 subsignal joined #salt
12:26 synical joined #salt
12:27 Guest_83847 joined #salt
12:27 hemebond left #salt
12:27 Guest_83847 Allah is doing
12:27 Guest_83847 sun is not doing Allah is doing
12:27 Guest_83847 moon is not doing Allah is doing
12:27 Guest_83847 stars are not doing Allah is doing
12:28 Guest_83847 planets are not doing Allah is doing
12:28 Guest_83847 galaxies are not doing Allah is doing
12:28 Guest_83847 oceans are not doing Allah is doing
12:28 Guest_83847 mountains are not doing Allah is doing
12:28 Guest_83847 trees are not doing Allah is doing
12:28 Guest_83847 mom is not doing Allah is doing
12:28 Guest_83847 dad is not doing Allah is doing
12:28 Guest_83847 boss is not doing Allah is doing
12:29 Guest_83847 job is not doing Allah is doing
12:29 Guest_83847 dollar is not doing Allah is doing
12:29 Guest_83847 degree is not doing Allah is doing
12:29 Guest_83847 medicine is not doing Allah is doing
12:29 Guest_83847 customers are not doing Allah is doing
12:29 Guest_83847 you can not get a job without the permission of allah
12:30 Guest_83847 you can not get married without the permission of allah
12:30 Guest_83847 nobody can get angry at you without the permission of allah
12:30 Guest_83847 light is not doing Allah is doing
12:30 krymzon joined #salt
12:30 Guest_83847 fan is not doing Allah is doing
12:30 Guest_83847 businessess are not doing Allah is doing
12:31 Guest_83847 america is not doing Allah is doing
12:31 Guest_83847 fire can not burn without the permission of allah
12:31 Guest_83847 knife can not cut without the permission of allah
12:31 Guest_83847 rulers are not doing Allah is doing
12:32 Guest_83847 governments are not doing Allah is doing
12:32 Guest_83847 sleep is not doing Allah is doing
12:32 Guest_83847 hunger is not doing Allah is doing
12:32 Guest_83847 food does not take away the hunger Allah takes away the hunger
12:32 Guest_83847 water does not take away the thirst Allah takes away the thirst
12:32 Guest_83847 seeing is not doing Allah is doing
12:33 Guest_83847 hearing is not doing Allah is doing
12:33 Guest_83847 seasons are not doing Allah is doing
12:33 Guest_83847 weather is not doing Allah is doing
12:33 Guest_83847 humans are not doing Allah is doing
12:33 Guest_83847 animals are not doing Allah is doing
12:33 Guest_83847 the best amongst you are those who learn and teach quran
12:34 Guest_83847 one letter read from book of Allah amounts to one good deed and Allah multiplies one good deed ten times
12:35 Guest_83847 hearts get rusted as does iron with water to remove rust from heart recitation of Quran and rememberance of death
12:35 aurynn left #salt
12:35 Guest_83847 heart is likened to a mirror
12:35 Guest_83847 when a person commits one sin a black dot sustains the heart
12:37 deus_ex joined #salt
12:37 Guest_83847 to accept Islam say that i bear witness that there is no deity worthy of worship except Allah and Muhammad peace be upon him is his slave and messenger
12:37 Guest_83847 read book http://www.fazaileamaal.com
12:37 Guest_83847 read book http://www.muntakhabahadith.com
12:38 Guest_83847 need spiritual teacher visit http://www.alhaadi.org.za
12:38 Guest_83847 allah created the sky without any pillars
12:38 Guest_83847 allah makes the sun rise from the east and Allah makes the sun set in the west
12:39 Guest_83847 allah makes the day into the night and Allah makes the night into the day
12:39 Guest_83847 allah gives life and Allah gives death
12:39 Guest_83847 all creation are useless,worthless,hopeless
12:39 Guest_83847 can not do
12:39 Guest_83847 can not benefit
12:40 Guest_83847 can not harm
12:40 Guest_83847 allah is the doer of each and everything
12:40 Guest_83847 when Allah wants us to stand we stand
12:40 Guest_83847 when Allah wants us to sit we sit
12:41 Guest_83847 i am not doing Allah is doing
12:41 Guest_83847 you are not doing Allah is doing
12:41 Guest_83847 atom bomb is not doing Allah is doing
12:41 Guest_83847 rice is not doing Allah is doing
12:41 Guest_83847 all creation get together can not create one grain of rice
12:42 Guest_83847 all humans get together can not stop rain
12:42 Guest_83847 all humans get together can not make anybody hungry
12:42 Guest_83847 all humans get together can not move sun one second up or down
12:43 Guest_83847 we can not count the hair on our head
12:43 Guest_83847 we can not count the rain drops
12:43 Guest_83847 we can not count the particles of sand
12:43 Guest_83847 medicine has no power to cure
12:43 Guest_83847 two people take same medicine one passes away and one does not
12:44 Guest_83847 degree has no power to give job
12:44 Guest_83847 many people have degrees but do not have jobs
12:44 Guest_83847 sustenance does not depend on effort
12:44 Guest_83847 one person is working very much but is earning very less
12:45 Guest_83847 other person is working very less but is earning very much
12:45 Guest_83847 left #salt
12:46 ninjada joined #salt
12:58 ronnix joined #salt
13:00 krymzon joined #salt
13:06 subsignal joined #salt
13:13 PerilousApricot joined #salt
13:14 krymzon joined #salt
13:15 tercenya joined #salt
13:15 garphy joined #salt
13:44 garphy joined #salt
14:07 subsignal joined #salt
14:10 ssplatt joined #salt
14:13 edrocks joined #salt
14:14 krymzon joined #salt
14:15 ivanjaros joined #salt
14:29 DEger joined #salt
14:30 sagerdearia joined #salt
14:31 ronnix joined #salt
14:31 rawzone joined #salt
14:35 ronnix joined #salt
14:42 nate_b joined #salt
14:45 nate_b What would be the best way to establish / maintain a state dependency across different minions? I'm working on a dynamic allocation of ceph RBD images, where the minion on another server's state wants a dynamically named ceph block image, and I would have that in turn make sure the minion on ceph-admin creates that image...
14:47 pcn nate_b: I prefer having an API external to the minion that can tell you what you want to know if you need to coordinate dynamically
14:48 PerilousApricot joined #salt
14:51 nate_b pcn: ah, thanks, I'm still pretty new to salt, so I'm guessing I've got a few fundamental principles wrong. What is a reasonable way to invoke an external api? using jinja functions?
15:00 pcn I'm not so familiar with ceph, but generally, you're looking at a coordination/orchestration problem if I understand what you're saying.
15:00 pcn So my way of thinking about it would be to ask where you want to control this process from?
15:02 pcn So my questions are: where does the dynamic name come from? What schedules/decides when to create the dynamically named block?
15:03 pcn If you can think of a viable workflow that you think would be easiest to think about and maintain, then desiging and building with the salt API should be easy to do.
15:06 pcn However nate_b in your case if you don't think this is going to become a larger solution, you could try to use a sh beacon, and on the master you can have the reactor reach out to another minion and DTRT
15:06 pcn https://docs.saltstack.com/en/latest/topics/beacons/
15:08 ronnix joined #salt
15:08 subsignal joined #salt
15:09 Tyrm joined #salt
15:10 nate_b pcn: thanks for the advice. I'm hoping to drive everything (ultimately) via salt. The dynamic name is derived from the hostname (grains.host...) maybe there is a better way... I was thinking that by saying I wanted a block device mounted on the dependent minion, I could use that to trigger the provisioning
15:13 PerilousApricot joined #salt
15:16 Nahual joined #salt
15:18 flowstate joined #salt
15:22 brotatochip joined #salt
15:22 pcn So when the dependent minion starts up, it tries to mount a block device.  If that block device doesn't exist, you want to create a block device on a minion that has storage and exports storage?
15:22 mpanetta_ joined #salt
15:23 Tyrm joined #salt
15:33 krymzon joined #salt
15:33 subsignal joined #salt
15:37 ronnix joined #salt
15:44 ronnix joined #salt
15:51 Mate joined #salt
15:51 Mate joined #salt
15:54 ronnix joined #salt
15:58 patrek joined #salt
16:00 ronnix joined #salt
16:06 theblazehen joined #salt
16:08 bluenemo joined #salt
16:11 theblazehen joined #salt
16:13 tpaul joined #salt
16:16 edrocks joined #salt
16:18 ninjada joined #salt
16:20 EvaSDK_ joined #salt
16:21 ronnix joined #salt
16:23 ssplatt joined #salt
16:28 tercenya joined #salt
16:29 flowstate joined #salt
16:29 jcockhren joined #salt
16:35 jtang joined #salt
16:37 jcockhren joined #salt
16:37 _JZ_ joined #salt
16:41 raspy__ joined #salt
16:42 ronnix joined #salt
16:46 Miouge joined #salt
16:47 badon joined #salt
16:49 mirko could somebody reopen https://github.com/saltstack/salt/issues/27355 ?
16:50 saltstackbot [#27355][MERGED] salt ssh error with debian 7 on target | salt-ssh and 2 targets ( debian 7 and debian 8 )...
16:50 nate_b pcn: (if your still around, sorry got pulled away) basically, yes. I'm presently using a dynamic pillar (reads for if there is a file called [host] in a hosts dir, and includes those values. in there I have a block device definition. I use that to prepare the dependent minion (create mount point, modprobe driver, etc). The idea being I can create arbitrary host-specific ceph RBD block dev's and track them through these pillars. What I'd hope to be able
16:50 nate_b to do is somehow when that host specific pillar file is created, either fail on a missing dependent state on another minion (the ceph node not having an image for the dependent) or, better yet, creating the image for the dependent...
16:51 nate_b but, I'm open to the notion that my approach is all wrong
17:00 barajasfab joined #salt
17:03 iggy nate_b: you could send a reactor event from the requesting minion, and have the master send that down to the "Ceph admin" as a state call
17:11 ageorgop joined #salt
17:12 PerilousApricot joined #salt
17:15 Miouge joined #salt
17:17 nate_b iggy: thanks. I'll look into that.
17:23 Edgan joined #salt
17:28 hoonetorg joined #salt
17:29 johnkeates joined #salt
17:30 flowstate joined #salt
17:30 ssplatt joined #salt
17:46 pcn ^^^
17:52 babilen mirko: Really?
17:52 Karunamon joined #salt
17:56 DEger joined #salt
17:58 tercenya joined #salt
18:03 onlyanegg joined #salt
18:13 GreatSnoopy joined #salt
18:14 amcorreia joined #salt
18:19 edrocks joined #salt
18:22 justanotheruser joined #salt
18:26 PerilousApricot joined #salt
18:28 flowstate joined #salt
18:30 Miouge joined #salt
18:33 ivanjaros joined #salt
18:33 ssplatt joined #salt
18:35 krymzon joined #salt
18:37 fracklen joined #salt
18:39 PerilousApricot joined #salt
18:43 AXAHj joined #salt
18:47 RickLee joined #salt
18:47 RickLee joined #salt
18:50 Miouge joined #salt
18:51 johnkeates joined #salt
18:58 ssplatt joined #salt
19:06 ajw0100 joined #salt
19:06 nidr0x joined #salt
19:15 nidr0x joined #salt
19:18 debian112 joined #salt
19:23 debian112 joined #salt
19:26 debian112 joined #salt
19:30 flowstate joined #salt
19:33 debian112 joined #salt
19:41 debian112 joined #salt
19:50 PerilousApricot joined #salt
19:57 debian112 joined #salt
20:06 debian112 joined #salt
20:14 mirko babilen: could you elaborate?
20:16 debian112 joined #salt
20:17 POJO joined #salt
20:21 debian112 joined #salt
20:22 edrocks joined #salt
20:25 johnkeates joined #salt
20:29 flowstate joined #salt
20:37 krymzon joined #salt
20:43 debian112 joined #salt
20:52 debian112 joined #salt
20:53 Miouge joined #salt
20:56 Miouge joined #salt
21:01 Miouge joined #salt
21:05 Miouge joined #salt
21:15 watersoul joined #salt
21:16 ribx joined #salt
21:19 fixit26 joined #salt
21:21 debian112 joined #salt
21:24 debian112 joined #salt
21:28 s_kunk joined #salt
21:28 flowstate joined #salt
21:29 justanot1eruser joined #salt
21:30 hasues joined #salt
21:33 hasues left #salt
21:36 debian112 joined #salt
21:40 debian112 joined #salt
21:47 armyriad joined #salt
21:54 ageorgop joined #salt
22:03 armyriad joined #salt
22:09 debian112 joined #salt
22:25 edrocks joined #salt
22:27 flowstate joined #salt
22:35 Tyrm joined #salt
22:37 Tyrm joined #salt
22:37 fracklen joined #salt
22:39 debian112 joined #salt
22:45 ninjada joined #salt
22:56 ninjada joined #salt
23:08 johnkeates joined #salt
23:09 ninjada joined #salt
23:10 ninjada joined #salt
23:19 deus_ex joined #salt
23:28 ronnix joined #salt
23:28 flowstate joined #salt
23:32 mpanetta joined #salt
23:39 krymzon joined #salt
23:39 fracklen joined #salt
23:42 EvaSDK_ joined #salt
23:46 EvaSDK_ joined #salt
23:48 Tyrm joined #salt
23:49 ZachLanich joined #salt
23:50 ZachLanich I'm doing extensive research/doc reading on Salt for my hosting infrastructure and I'm playing with the Salt Demo and having unexpected issues right off. Can someone please help me?
23:54 ninjada joined #salt
23:54 ZachLanich I'm not seeing anyone talking in here. Am I actually in the channel?
23:57 ninjada joined #salt

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