Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-12-31

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

All times shown according to UTC.

Time Nick Message
00:00 Gareth eliasp: have a question about this nfs issue.  What kernel are you running on that machine where your running that state?
00:01 eliasp Gareth: Linux MN1221-S0002 3.13.0-43-generic #72-Ubuntu SMP Mon Dec 8 19:35:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
00:01 pmcg joined #salt
00:03 Gareth eliasp: when I mount an NFS share using the same options you use.  Most of them don't show up in the mount list or /proc/self/mountinfo.  slightly newer kernel.
00:04 eliasp Gareth: are you on a systemd based system?
00:04 Gareth No.
00:04 eliasp Gareth: I'm (unfortunately) still on Upstart because of Ubuntu
00:05 eliasp hmm, ok
00:05 eliasp just double-checked… /proc/self/mountinfo contains all the relevant mounts
00:06 eliasp Gareth: could you try making them permanent mounts via fstab + rebooting?
00:06 Gareth sure.
00:09 Edgan joined #salt
00:11 brianfeister joined #salt
00:12 Gareth eliasp: same.
00:12 eliasp meh, shit ;(
00:12 eliasp no idea where this difference comes from
00:13 Gareth Not the first time I've seen this.
00:13 Gareth I think certain options are just ignored...silently ignored.
00:22 otter768 joined #salt
00:28 bhosmer joined #salt
00:31 _JZ_ joined #salt
00:34 aqua^mac joined #salt
00:37 cpt-oblivious joined #salt
00:38 glyf joined #salt
00:48 eliasp Gareth: just had to reboot the affected box… I have the entries in /proc/self/mountinfo right after reboot… the mounts are static ones in fstab
00:50 Gareth eliasp: the state runs proper now?
00:50 eliasp Gareth: and another nice on on top of that… I have a few CIFS mounts reporting "Remount would be forced because options (password=redacted-plain-text-password) changed"
00:51 eliasp Gareth: no, NFS states still run into the 'bg' option issue
00:51 Gareth eliasp: for the NFS mount do you see the bg option in /proc/self/mountinfo?
00:51 eliasp Gareth: you're onto something… bg is not listed there
00:52 eliasp Gareth: if only every admin would accept udisks for handling disks + mounts on his Linux boxes… ;)
00:52 Gareth :)
00:52 iggy are they being mounted by the initrd? (if so, does it need updating?)
00:53 eliasp no, the initrd can't mount them yet as they're NFS mounts which rely on network which is brought up after the initird
00:53 iggy worth a shot :/
00:54 eliasp Gareth: the matching entry from mountinfo:
00:54 eliasp 53 22 0:37 / /media/remotefs/library rw,relatime - nfs 134.2.xx.xx:/library rw,vers=3,rsize=32768,wsize=32768,namlen=255,acregmin=10,acregmax=10,acdirmin=10,acdirmax=10,soft,proto=tcp,timeo=5,retrans=5,sec=sys,mountaddr=134.2.xx.xx,mountvers=3,mountport=33308,mountproto=udp,local_lock=none,addr=134.2.xx.xx
00:54 eliasp will add this also to the issue comment
00:55 Gareth Your intr flag isn't in there either.
00:55 eliasp yep
00:56 bhosmer_ joined #salt
00:58 badon joined #salt
01:01 eliasp Gareth: added a comment regarding CIFS/password to https://github.com/saltstack/salt/issues/18630
01:03 Gareth eliasp: so it's not writing the password in the file under /proc.
01:04 eliasp Gareth: exactly
01:04 eliasp no password in proc
01:04 bhosmer joined #salt
01:05 Gareth there is a list of options that are considered invisible.  we can add password that list.  that should take of that one.
01:06 eliasp sounds reasonable
01:11 dooshtuRabbit joined #salt
01:12 ekristen joined #salt
01:18 bo_ joined #salt
01:19 bo_ left #salt
01:21 cedwards Is there an easy way to output the ENV values for both minion and master?
01:25 bhosmer__ joined #salt
01:26 nullptr cedwards: environ.items
01:46 cberndt joined #salt
01:47 superted666_____ joined #salt
02:05 swingswing joined #salt
02:07 dimeshake so, if i want to use salt to generate certs for minions - what's the best way to then distribute the signed certs to them?
02:07 swingswing happy everyone, can the syndic set several topmasters?
02:07 dimeshake i basically want to use TLS for rsyslog, and want to manage the CA and cert creation using salt
02:08 hebz0rl joined #salt
02:10 bhosmer__ joined #salt
02:11 RainDoctor joined #salt
02:15 hebz0rl_ joined #salt
02:22 aqua^mac joined #salt
02:23 nitti joined #salt
02:35 bo_ joined #salt
02:39 ingwaem joined #salt
02:41 murrdoc joined #salt
02:42 TheThing joined #salt
02:47 otter768 joined #salt
03:14 dooshtuRabbit joined #salt
03:15 dooshtuRabbit joined #salt
03:16 dooshtuRabbit joined #salt
03:17 dooshtuRabbit joined #salt
03:17 glyf joined #salt
03:18 dooshtuRabbit joined #salt
03:18 mapu joined #salt
03:18 murrdoc left #salt
03:18 dooshtuRabbit joined #salt
03:22 mapu joined #salt
03:26 jeffspeff joined #salt
03:36 otter768 joined #salt
03:36 superted666_____ joined #salt
03:41 acabrera joined #salt
03:50 Furao joined #salt
04:11 aqua^mac joined #salt
04:29 yetAnotherZero joined #salt
04:34 jY is there anyway to access grains['virtual'] in a custom grain?
04:42 glyf joined #salt
04:44 glyf joined #salt
04:46 glyf joined #salt
04:47 glyf joined #salt
04:49 glyf joined #salt
04:50 glyf joined #salt
04:52 glyf joined #salt
04:54 glyf joined #salt
04:55 glyf joined #salt
04:58 glyf joined #salt
05:01 glyf joined #salt
05:03 glyf joined #salt
05:04 glyf joined #salt
05:06 glyf joined #salt
05:07 glyf joined #salt
05:09 otter768 joined #salt
05:09 glyf joined #salt
05:11 glyf joined #salt
05:15 schristensen joined #salt
05:24 jacksontj joined #salt
05:25 superted666_____ joined #salt
05:37 brianfeister joined #salt
06:00 aqua^mac joined #salt
06:02 catpiggest joined #salt
06:07 nullptr` joined #salt
06:11 ndrei joined #salt
06:12 yomilk joined #salt
06:28 jpaetzel joined #salt
06:32 glyf joined #salt
06:34 glyf joined #salt
06:35 glyf joined #salt
06:36 singularo joined #salt
06:37 acabrera joined #salt
06:37 glyf joined #salt
06:39 glyf joined #salt
06:40 glyf joined #salt
06:42 glyf joined #salt
06:42 Gnouc joined #salt
06:43 Gnouc joined #salt
06:43 glyf joined #salt
06:45 glyf joined #salt
06:45 younqcass_ joined #salt
06:47 glyf joined #salt
06:48 glyf joined #salt
06:49 Gnouc joined #salt
06:50 pdayton joined #salt
06:50 glyf joined #salt
06:52 glyf joined #salt
06:53 glyf joined #salt
06:55 glyf joined #salt
06:56 glyf joined #salt
06:58 flebel joined #salt
06:58 glyf joined #salt
06:59 catpigger joined #salt
07:00 glyf joined #salt
07:01 glyf joined #salt
07:03 flebel joined #salt
07:08 Mso150 joined #salt
07:14 superted666_____ joined #salt
07:19 druonysus joined #salt
07:27 flyboy joined #salt
07:36 monkey66 joined #salt
07:49 aqua^mac joined #salt
07:57 trikke joined #salt
08:00 JlRd joined #salt
08:12 bhosmer joined #salt
08:19 TheThing joined #salt
08:34 delinquentme joined #salt
08:36 Hybrid joined #salt
08:36 Hybrid Hi everyone
08:36 Hybrid is there a way to get the cotent of a directory in a state ?
08:36 Hybrid I mean a file list
08:38 Hybrid I provision folders that are copied from one source (mainly vhosts or DNS zone files) and I'd like to generate the named.conf.default-zones for example based on the content of my zone folder instead of having to list every zone one by one by hand
08:38 Hybrid I tried to find informations on this but can't really figured how to do it :(
08:47 JlRd joined #salt
08:48 jY Hybrid: you can write a custom grain to get you the dirs to use in a state
08:50 yomilk joined #salt
08:51 Hybrid jY: you mean there is no existing way to do this ?
08:51 Hybrid :(
08:51 jY not that i know of
08:51 Hybrid thx
09:03 superted666_____ joined #salt
09:04 diegows joined #salt
09:29 delinquentme joined #salt
09:38 aqua^mac joined #salt
09:39 otter768 joined #salt
09:39 iwishiwerearobot joined #salt
09:42 lothiraldan joined #salt
09:46 mikepea has anyone had the problem where the master cannot target the minions via (eg) 'salt \* test.ping' but the minions can quite happily run salt-call?
09:47 mikepea I should point out that this has started happening after reinstalling the master.
09:47 mikepea but all the PKI keys have been restored and 'salt-key' is in a happy state.
09:55 superted666_____ joined #salt
10:01 slafs joined #salt
10:01 slafs left #salt
10:11 yomilk joined #salt
10:14 delinquentme joined #salt
10:38 Free_Bullets joined #salt
10:41 yomilk joined #salt
10:48 Furao joined #salt
11:24 glyf joined #salt
11:27 aqua^mac joined #salt
11:32 bhosmer joined #salt
11:39 otter768 joined #salt
11:40 Cottser|away joined #salt
11:43 davet joined #salt
11:47 arno joined #salt
11:47 schristensen joined #salt
12:10 yomilk joined #salt
12:31 bhosmer joined #salt
13:01 z3uS joined #salt
13:07 yomilk joined #salt
13:10 CeBe joined #salt
13:12 lothiraldan joined #salt
13:16 aqua^mac joined #salt
13:17 sadeesh joined #salt
13:23 lothiraldan joined #salt
13:25 agend joined #salt
13:40 otter768 joined #salt
13:43 thawes joined #salt
13:44 glyf joined #salt
13:46 shoma joined #salt
13:53 sgregory_ joined #salt
13:53 lothiraldan_ joined #salt
14:00 pdayton joined #salt
14:03 bhosmer joined #salt
14:07 bhosmer_ joined #salt
14:08 bhosmer__ joined #salt
14:16 ggoZ joined #salt
14:25 kitp joined #salt
14:26 mpanetta joined #salt
14:27 kitp heyo. newb question. i'm trying to provision an aws instance with salt-cloud from my local machine.  it appears the bootstrap process is bonking because the minion can't reach my machine.  is it possible to have the bootstrap proc use salt-ssh to push it?
14:29 jrluis joined #salt
14:30 mpanetta_ joined #salt
14:30 _JZ_ joined #salt
14:36 lothiraldan joined #salt
14:37 mortis__ happy new salt-year!
14:41 manfred kitp:  not yet, once the salt-cloud roster for salt-ssh is finished, I am going to try and set that up though
14:43 kitp manfred: ok, sounds good.  cheers.
14:47 aquinas joined #salt
14:50 dude051 joined #salt
14:50 dude051 joined #salt
14:51 perfectsine joined #salt
14:54 sr4f joined #salt
14:56 radai joined #salt
14:57 radai does salt have any mechanism to transmit/store/display metadata when a minion 1st connects to a master ?
14:57 radai or, in other words, is it possible to show anything besides just the hostname and key of pending minions i havent yet authorized ?
14:59 ndrei joined #salt
14:59 housl joined #salt
15:05 aqua^mac joined #salt
15:05 radai im trying to get to a situation where the salt admin can see extra data about minions:
15:05 radai salt-key -L
15:05 radai Unaccepted:
15:06 radai [some key] {department : finance, admin : bob}
15:07 schlueter joined #salt
15:09 overyander joined #salt
15:10 yomilk joined #salt
15:14 andrew_v joined #salt
15:21 iggy mikepea: try a few test.ping's in a row to see if they start responding
15:22 schlueter joined #salt
15:22 iggy mikepea: wait, is that can't target or they don't respond? (i.e. it doesn't say nothing matched it just doesn't get (m)any results back)
15:23 iggy Hybrid: {% set zonefiles = salt['cmd.run']('ls /path/to/zone/files') %} ... or something similar
15:23 iggy jY: __grains__['virtual'] iirc
15:24 iggy jY: but I don't think you can rely on grains being set when grains are being set (same reason it's a bad idea to try to reference pillar data in other pillars)
15:25 iggy radai: no, but it's not a terrible idea (i.e. worthy of a github issue)
15:25 cads joined #salt
15:26 capricorn_1 joined #salt
15:28 radai iggy: thanks. will do :-)
15:34 ajolo joined #salt
15:37 numkem How would one be able to find if a package is installed? I checked grains keys and none fits a package list of some sort
15:38 iggy pkg.list_pkgs?
15:38 iggy depends what you're trying to do
15:39 numkem something like in a state if exist(pkg.list_pkgs['cpus'])
15:39 iggy cpus is a package?
15:39 numkem *cups yes
15:39 iggy ahhh
15:40 iggy probably easier to do {% set cupsver = pkg.version('cups') %}  {% if cupsver %} .... do stuff .... {% endif %}
15:41 numkem make sens, thanks!
15:41 otter768 joined #salt
15:41 iggy you might have to do {% if cupsver != "" %}
15:42 numkem yes since the test would only test if None
15:43 iggy it'd be salt['pkg.version']('cups') btw
15:43 iggy I don't know why I always try to write that shorthand
15:43 glyf joined #salt
15:43 numkem any plans of having common modules or a way to import a module into jinja?
15:44 iggy rephrase the question
15:44 netw joined #salt
15:45 kusams joined #salt
15:45 numkem it would be great if it was possible to have a way to import modules in order to be able to use the 'shorthand' version for use in jinja
15:46 numkem like instead of the salt[] just use pkg.version[]
15:47 iggy I doubt it
15:48 iggy making it too easy to call a shit ton of modules in your states will inevitably lead to states getting bloated and slow and people complaining about salt's speed
15:48 anybroad joined #salt
15:51 iggy wooo!!!!! GitHub will soon recognize .sls files as yaml+jinja (instead of thinking I'm some kind of scheme ninja)
16:05 whiteinge joined #salt
16:05 stoogenmeyer joined #salt
16:06 wiqd joined #salt
16:06 simonmcc joined #salt
16:06 munhitsu___ joined #salt
16:06 schlueter joined #salt
16:06 codekobe joined #salt
16:06 mattl joined #salt
16:06 conan_the_destro joined #salt
16:06 fxdgear joined #salt
16:06 basepi joined #salt
16:06 hillna_ joined #salt
16:06 akoumjian_ joined #salt
16:06 pf_moore joined #salt
16:07 moderation joined #salt
16:07 maZtah joined #salt
16:07 gyre007 joined #salt
16:07 EWDurbin joined #salt
16:07 mihait joined #salt
16:07 favadi_ joined #salt
16:07 kalail__ joined #salt
16:07 kwmiebach joined #salt
16:07 benjy joined #salt
16:08 doriftoshoes joined #salt
16:08 manytrees joined #salt
16:08 m0nky joined #salt
16:08 scalability-junk joined #salt
16:08 joeyparsons joined #salt
16:08 schlueter1 joined #salt
16:08 octarine joined #salt
16:08 supermike joined #salt
16:08 JonGretar joined #salt
16:19 kormoc joined #salt
16:20 MK_FG joined #salt
16:22 Ozack1 joined #salt
16:33 sgregory_ I'm trying to run run highstate from a custom execution module
16:33 sgregory_ __salt__['state.highstate'](test=True)
16:34 sgregory_ but passing the the result to salt.output.highstate.output(return_value) gives this error:
16:34 sgregory_ argument of type 'bool' is not iterable
16:34 sgregory_ but the value of "return_value" is in the highstate format
16:42 chiui joined #salt
16:47 jalbretsen joined #salt
16:48 thumper1 joined #salt
16:49 MK_FG joined #salt
16:49 thumper1 joined #salt
16:54 aqua^mac joined #salt
16:56 sgregory_ ah figured it out
16:56 sgregory_ had to rap the result in { 'hostname' : return_value}
17:05 hasues joined #salt
17:05 viq joined #salt
17:07 theologian joined #salt
17:10 hasues left #salt
17:12 acabrera joined #salt
17:14 arno joined #salt
17:14 nethershaw joined #salt
17:16 otter768 joined #salt
17:19 KyleG joined #salt
17:19 KyleG joined #salt
17:20 nethershaw joined #salt
17:35 notnotpeter joined #salt
17:36 glyf joined #salt
17:36 MK_FG joined #salt
17:39 meylor joined #salt
17:39 meylor joined #salt
17:40 thawes joined #salt
17:42 glyf joined #salt
17:44 Jimlad joined #salt
17:47 murrdoc joined #salt
18:00 stephas joined #salt
18:02 stoogenmeyer joined #salt
18:15 schlueter joined #salt
18:25 pdayton joined #salt
18:28 schlueter1 joined #salt
18:33 P0bailey joined #salt
18:33 P0bailey joined #salt
18:33 bhosmer joined #salt
18:40 JDiggity joined #salt
18:42 aqua^mac joined #salt
18:47 Free_Bullets joined #salt
18:48 cmr left #salt
18:51 zarcos joined #salt
18:52 conan_the_destro joined #salt
18:56 forrest joined #salt
18:56 glyf joined #salt
19:05 kballou joined #salt
19:09 thawes joined #salt
19:16 Rory left #salt
19:21 Edgan Why do I get "[WARNING ] jid does not exist" when running "salt '*' state.sls vim" with salt 2014.7.0?
19:22 sgregory_ Is there way to have an execution module execute something on the master?
19:28 Mindfartio joined #salt
19:30 schlueter joined #salt
19:32 TheThing joined #salt
19:35 sgregory joined #salt
19:37 marcel joined #salt
19:38 iggy sgregory: not really... that's what runners or orchestrate is for
19:39 sgregory yeah I didn't think so
19:40 iggy sgregory: what are you actually trying to do?
19:40 sgregory Record that something was done and say add an event to graphite
19:41 iggy use the event bus?
19:43 sgregory Sounds like a good place to start investigating. Is there some reading you can point me at?
19:43 iggy sort of
19:48 otter768 joined #salt
19:50 iggy sgregory: somethings along the lines of https://gist.github.com/iggy/f0102c0919dd3a6b3404
19:52 sgregory wow thanks
19:53 iggy sgregory: it's got an issue where it will start shooting off events from nested events for some reason... so keep an eye out for that
19:54 iggy and if you figure out why, let me know ;)
19:54 Edgan Is there a standard way to run salt commands like "salt '*' test.ping" from my laptop without having to be the master? I just want my laptop to access the master, say do this thing for me, and return the results. Remote execution, and local output. I know I could do this with ssh, but seems like there should be a more direct method.
19:54 iggy pepper
19:56 numkem looking for 'salt pepper' on google is quite useless :P
19:57 iggy site:saltstack.com pepper?
19:57 iggy or maybe site:docs.saltstack.com
19:57 sgregory push it real good?
19:57 numkem just saying 'saltstack pepper' gives a github from the saltstack group that shows the real thing. Seems pretty awesome
19:57 Edgan saltstack pepper. I am glad saltstack rebranded with saltstack for SEO
19:58 Edgan iggy: thanks :)
19:58 Eugene We need more salted slugs
19:58 iggy honestly I find ssh is easier, but that's just me
20:00 iggy I really need to finish that graphite module up and put it in salt-contrib
20:00 sgregory you could always do something like alias salt-remote="ssh salt_master salt"
20:00 * iggy 's TODO list never gets shorter
20:00 sgregory if it does you're out of ideas
20:10 jalaziz joined #salt
20:12 numkem What's the salt-api default port?
20:13 whiteinge numkem: no default. You must specify in the master config.
20:14 schlueter joined #salt
20:14 numkem whiteinge: Thank you
20:15 numkem Which module should I pick?
20:15 schlueter1 joined #salt
20:15 aw110f joined #salt
20:17 jalaziz_ joined #salt
20:18 iggy cherrypy seems to be the most often referenced in here
20:19 iggy whether that means it's the most used or the one that has the most problems is anybody's guess
20:20 jab416171 joined #salt
20:20 whiteinge CherryPy is the "official".
20:21 whiteinge numkem: I'd recommend installing CherryPy version 3.2.4 for now.
20:27 numkem whiteinge: Will do, it's installed but it's not starting... could it be because I have 3.6.0 installed?
20:28 whiteinge numkem: if you're using ssl then yes.
20:28 numkem I've set it to disable_ssl: True and the port binding doesn't appear. Nothing in the logs
20:29 whiteinge Did you start the salt-api daemon? (It's a separate daemon.)
20:30 numkem *facepalm*
20:30 whiteinge Common thing. :-)
20:30 numkem was thinking it would behave the same way as halite does
20:31 whiteinge Ah, sure. Halite was heavily special-cased. Deviates from a few Salt norms.
20:31 aqua^mac joined #salt
20:32 fxhp joined #salt
20:33 numkem process dies when starting, where would it log? Master logs?
20:34 whiteinge Yeah.
20:34 whiteinge Also you can start in the foreground: salt-api -l debug
20:35 numkem I'm an idiot, wrote rest_cherry instead of rest_cherrypy, sorry about that
20:36 whiteinge Np! Also a common thing. :-)
20:36 whiteinge We need config file linting...
20:36 numkem and pepper works! Thanks a lot whiteinge!
20:37 whiteinge Woot. :-)
20:37 numkem If not total linting, at least complains about yaml blocks that it doesn't understand
20:38 whiteinge Remember to downgrade CherryPy when you reenable SSL.
20:38 numkem already done
20:39 numkem odd... can't use salt-call tls.create_self_signed_cert because the function isn't available, comes from another 'repo'?
20:40 whiteinge You'll need pyopenssl installed on the master for that function
20:40 numkem I really do feel stupid
20:41 numkem maybe I should stop for the year :P
20:42 whiteinge Or maybe the docs should be more explicit. :-)
20:43 numkem or optional packages in distros
20:50 murrdoc joined #salt
21:02 hasues joined #salt
21:04 hasues left #salt
21:08 dude051 joined #salt
21:14 otter768 joined #salt
21:16 murrdoc joined #salt
21:25 murrdoc joined #salt
21:29 Ryan_Lane joined #salt
21:35 stephas joined #salt
21:42 perfectsine joined #salt
21:42 Mso150 joined #salt
21:43 peters-tx joined #salt
21:48 manytrees hi, we have a qa environment that we deploy an rpm of our software to. the qa team wants to be able to manage the version that's deployed there and quickly change it as they see fit. any suggested ways to tie into salt and trigger these changes?
21:50 forrest manytrees: Do the devs have server access, or the ability to work on the salt stuff?
22:01 meylor joined #salt
22:12 agend joined #salt
22:18 acabrera joined #salt
22:20 aqua^mac joined #salt
22:21 shoma joined #salt
22:24 dynamicudpate joined #salt
22:25 robot_hands joined #salt
22:26 heaumer_ joined #salt
22:27 dustinrc joined #salt
22:27 cwright_ joined #salt
22:27 a1j_ joined #salt
22:27 Hybrid1 joined #salt
22:28 speed145a joined #salt
22:28 davet1 joined #salt
22:28 shoma_ joined #salt
22:29 Hipikat_ joined #salt
22:29 jamesf_ joined #salt
22:29 eichiro_ joined #salt
22:29 Cyrax__ joined #salt
22:29 sk_0_ joined #salt
22:33 palantir_ joined #salt
22:33 themacproguy joined #salt
22:35 renoirb_ joined #salt
22:35 TronPaul_ joined #salt
22:37 conan_the_destro joined #salt
22:39 evidence joined #salt
22:40 bdols joined #salt
22:41 harkx joined #salt
22:41 skarn joined #salt
22:41 agend joined #salt
22:41 anteaya joined #salt
22:42 Ssquidly joined #salt
22:44 zarcos I've poked around for a few minutes, and I don't feel like I have a good answer. I want to store global settings data in Pillar because that's what it's for, but I want a nice, clean way to retrieve that data on both minions and the salt master. The master isn't a minion of itself. I could got that route, but that seems messy too, because 99% of the time, that isn't needful. Getting consistently to the Pillar is the only reason I'd do i
22:44 feedcorn joined #salt
22:46 feedcorn left #salt
22:46 zarcos I want to be able to run specific monitoring scripts for our setup on the master or any of the minions and use the same global info (so I can run the same monitoring scripts in staging and production by just changing pillar values). I could write a method to arbitrate if it's on the Master or a minion, but Pillar is supposed to make this easy. Am I overthinking this?
22:48 Hazelesque joined #salt
22:48 GvJordan joined #salt
22:48 kormoc joined #salt
22:48 nliadm joined #salt
22:48 Sway joined #salt
22:48 mschiff joined #salt
22:48 mschiff joined #salt
22:48 Tahm joined #salt
22:48 g3cko joined #salt
22:48 Samos123 joined #salt
22:48 cads joined #salt
22:48 anotherZero joined #salt
22:49 jgelens joined #salt
22:49 hillna_ joined #salt
22:49 techdragon joined #salt
22:49 Vye joined #salt
22:49 modafinil joined #salt
22:49 JPaul joined #salt
22:49 pipeep joined #salt
22:49 snuffop joined #salt
22:49 _ikke_ joined #salt
22:49 berto- joined #salt
22:49 ramishra_ joined #salt
22:49 wavis joined #salt
22:49 lkannan_ joined #salt
22:49 mfournier joined #salt
22:49 grepory_ joined #salt
22:49 Edgan joined #salt
22:49 Kelsar joined #salt
22:49 esharpmajor joined #salt
22:49 balltongu joined #salt
22:49 georgemarshall joined #salt
22:49 xenoxaos joined #salt
22:49 CaptTofu_ joined #salt
22:50 bytemask joined #salt
22:50 basepi joined #salt
22:50 rypeck joined #salt
22:50 EWDurbin joined #salt
22:50 Cidan joined #salt
22:50 antonw_ joined #salt
22:50 manytrees joined #salt
22:50 moderation joined #salt
22:50 maZtah joined #salt
22:50 akoumjian_ joined #salt
22:50 fxdgear joined #salt
22:50 bryguy joined #salt
22:50 dcmorton joined #salt
22:50 Twiglet joined #salt
22:50 geekatcmu joined #salt
22:50 [vaelen] joined #salt
22:50 whiteinge joined #salt
22:50 mattl joined #salt
22:51 JonGretar joined #salt
22:51 thunderbolt joined #salt
22:52 Eugene joined #salt
22:53 CatPlusPlus joined #salt
22:54 fintler joined #salt
22:54 fintler joined #salt
22:59 schlueter joined #salt
22:59 mordonez joined #salt
23:01 twellspring joined #salt
23:03 twellspring In salt-cloud for rackspace, is there a way to specify a private network so that it will be added when the server starts?
23:04 zarcos Yeah! I had this problem, and was able to resolve it. Let me dig out my profile info.
23:05 zarcos twellspring: I added this to my etc/salt/cloud.providers.d/rackspace.conf
23:07 zarcos https://gist.github.com/Starblade42/a23df5e0e7334b2af965
23:08 zarcos Now, the problem I had was that I couldn't ssh to these hosts using the private network, becuase libcloud has some kind of problem.
23:08 twellspr_ joined #salt
23:08 zarcos But that's okay, I only had to use the public IP for the bootstrap. In the rackspace.conf file, I specified the master's internal IP address so that's how all the salt stuff happened after the bootstrap.
23:09 zarcos twellspring: does that help?
23:09 twellspring zarcos:   think so ... I will try that and update the documentation.
23:13 zarcos Er, to clarify, the SSH address mattered for salt-cloud's bootstrap process only. Libcloud is blind to the private IP's in rackspace's openstack (or perhaps more broadly, I'm not sure). So I didn't specify the ssh_interface, and it used the public IP to do the salt-minion install and bootstrap. After that the minion could connect to the master if the master address had been specified as a local IP.
23:14 twellspring Does the order of the networks affect their postions ( eth0 eth1 ...)?
23:15 zarcos Let me check.
23:16 zarcos From what I can see, it doesn't seem to matter. I'm not sure why. My eth0 is the public IP. eth1 is the servicenet. eth2 is the private network that I created in the Networking section of my Rackspace Mycloud panel.
23:17 twellspr_ I did not leave
23:17 zarcos That's consistent across all my hosts created with salt-cloud with the config you see in the gist, as well as ones made in the rackspace interface.
23:17 ckao joined #salt
23:17 twellspr_ ok.
23:18 zarcos So it seems to be an internal rule for rackspace that public IPs are eth0 and the servicenet is eth1, and others come after that, I guess.
23:18 twellspr_ that is what I was hoping.
23:19 zarcos Yes, consistency is very good.
23:21 twellspr_ just started a new server ... see my private network.
23:21 twellspr_ Thanks for the help on this.
23:22 zarcos yeah! I wish that the docs were clearer on salt-cloud. They've been ignored some. I suppose I could help fix that, huh? Just need to do a pull request on the relevant pages.
23:24 twellspr_ I will be working on the docs.
23:24 freimer joined #salt
23:33 jab416171 joined #salt

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