Fedora Salt Master - New installation
-
@DustinB3403 said in Fedora Salt Master - New installation:
@JaredBusch said in Fedora Salt Master - New installation:
Correct. He is trying to start a second instance.
Technically just following the official documentation. If it starts a second instance shame on them for not clarifying that point.
As the documentation reads, it's just to pull detailed logs.
I read the doc, I don't see it ever saying to do that. Where did you get that command from?
-
@scottalanmiller said in Fedora Salt Master - New installation:
Where did you get that command from?
https://docs.saltstack.com/en/2015.8/ref/configuration/index.html
-
Literally says:
It's pretty clear.
-
@coliver said in Fedora Salt Master - New installation:
Literally says:
It's pretty clear.
Ah, not part of the installation docs. That's why I didn't see it. Going through the installation, it is all set by the end of it, not sure where this configuration page pops in, but that's causing the problem. It was all installed and configured previously by following the installation guide.
-
@scottalanmiller said in Fedora Salt Master - New installation:
Do a netstat -tulpn again. Anytime you see that those ports are in use, that means that Salt-Master is running. Not sure what is starting it, but there is no question that it is being started somewhere. Only one copy can bind to the ports.
I was wondering if this was the issue - that Dustin is trying to start a second copy.
-
@Dashrender said in Fedora Salt Master - New installation:
@scottalanmiller said in Fedora Salt Master - New installation:
Do a netstat -tulpn again. Anytime you see that those ports are in use, that means that Salt-Master is running. Not sure what is starting it, but there is no question that it is being started somewhere. Only one copy can bind to the ports.
I was wondering if this was the issue - that Dustin is trying to start a second copy.
So this issue here is that there is an installation guide that gets you fully up and running. There there is a full reference for doing everything by hand. The first part was set up using the installation guide. Then that command to start the process manually was buried deep in the commands reference, disconnected from the installation guide. The first bit is a one page installer than is conclusive, a couple commands and you are done.
The configuration guide is for people doing everything by hand, such as writing your own start up scripts instead of using the ones from the installer. So the first part assumes a standard installation. The second part assumes you are constructing the system manually and haven't used the first part.
-
This is the installation page. You can see how short it is.
https://docs.saltstack.com/en/2015.8/topics/installation/fedora.html
-
Here is the problem, I think...
https://docs.saltstack.com/en/2015.8/topics/troubleshooting/master.html
So if you go through their massive manual, they have a troubleshooting section. And they tell you to run Master in the foreground for troubleshooting. They are assuming that you will stop it in the background first, but they never mention it. It's not part of the installation, but it probably should have a note about stopping any background processes first as easily a lot of people won't realize you can have both.
-
Oh, Dustin just showed me where there is a link to the "Configuring" page as an instruction on the installation page. That's BS. It's unneeded (generally) and telling you to start it again there is totally wrong given where you are coming from.
-
And based on the "Configuring Salt" link, it goes to "post install tasks" and that is where the step comes from.
I'll admit I completely skipped firewalld, but once I did and had it sorted was I mostly there.
Their documentation is weird, as click "next" takes you to the next OS install process, so the "Configure salt" link is the logical step in the guide.
-
And really, all I'm looking for is a convenient way setup my user workstations, and update them without the Apple overhead, including with brew commands.
-
@DustinB3403 said in Fedora Salt Master - New installation:
And based on the "Configuring Salt" link, it goes to "post install tasks" and that is where the step comes from.
Right, which really is dumb as there shouldn't be any at all.
-
@DustinB3403 said in Fedora Salt Master - New installation:
Their documentation is weird, as click "next" takes you to the next OS install process, so the "Configure salt" link is the logical step in the guide.
Yeah, they are using a format that doesn't make sense. It makes it feel like you are supposed to read it through when you are definitely not meant to do that.
-
@DustinB3403 said in Fedora Salt Master - New installation:
And really, all I'm looking for is a convenient way setup my user workstations, and update them without the Apple overhead, including with brew commands.
This is my ML How Tos are better
-
@scottalanmiller said in Fedora Salt Master - New installation:
@DustinB3403 said in Fedora Salt Master - New installation:
Their documentation is weird, as click "next" takes you to the next OS install process, so the "Configure salt" link is the logical step in the guide.
Yeah, they are using a format that doesn't make sense. It makes it feel like you are supposed to read it through when you are definitely not meant to do that.
Which is half the issue. Okay, step 4 drive your car off the cliff and a Pegasus will come to your rescue.
-
@scottalanmiller said in Fedora Salt Master - New installation:
@DustinB3403 said in Fedora Salt Master - New installation:
And really, all I'm looking for is a convenient way setup my user workstations, and update them without the Apple overhead, including with brew commands.
This is my ML How Tos are better
I looked but didn't find one that was current.
-
@DustinB3403 said in Fedora Salt Master - New installation:
@scottalanmiller said in Fedora Salt Master - New installation:
@DustinB3403 said in Fedora Salt Master - New installation:
And really, all I'm looking for is a convenient way setup my user workstations, and update them without the Apple overhead, including with brew commands.
This is my ML How Tos are better
I looked but didn't find one that was current.
Yeah, not sure that there is one. On Fedora 28 it was broken. On Fedora 30 I think it is just "dnf install salt-master -y" and you are done. So nothing to write up.
I think we are running Salt on Ubuntu now because of the breakage issues on Fedora.