https://github.com/osquery/osquery logo
#fleet
Title
# fleet
s

Stephen Nelson

04/07/2022, 9:37 PM
I’m also trying to set up Fleet with Render with @Benjamin Edwards article. (Not trying to dunk on you, Mr. Edwards! I appreciate the articles!) When I try to start the web service, I get “NOPERM this user has no permissions to run the ‘cluster’ command or its subcommand” from redis. Apparently Render has restricted the “cluster” command. Is there any workaround?
b

Benjamin Edwards

04/07/2022, 9:38 PM
Ha all good. Are you using the new Render hosted Redis? Or just running redis as a private service?
s

Stephen Nelson

04/07/2022, 9:38 PM
I’m using the Render hosted redis.
b

Benjamin Edwards

04/07/2022, 9:39 PM
Cool! I haven't tested with that yet as it didn't exist when I wrote the guide.
Did Render create a redis user? You can pass that to Fleet via env variable I believe.
Sorry I was thinking redis password not user..
s

Stephen Nelson

04/07/2022, 9:43 PM
I don’t see that they give me a password anywhere. And there’s this: https://render.com/docs/redis#restricted-commands
“We have restricted usage to most commands in the admin command group, including: …cluster…”
b

Benjamin Edwards

04/07/2022, 9:44 PM
hmm so its likely running as redis stand-alone, which fleet is compatible with. I wonder why fleet is attempting cluster mode vs standalone
@Martin Angers might have some idea
z

zwass

04/07/2022, 11:21 PM
Hey @Stephen Nelson are you just looking to get a quick test environment set up? Have you tried out
fleetctl preview
? If you want to get Fleet running on Render, I think it might be easiest to use the older style Redis on Render (https://render.com/docs/deploy-redis) which is what was used when we created that blog post.
💯 1
s

Stephen Nelson

04/08/2022, 12:24 AM
I’m trying to set up fleet to manage a small home office (my parents’ laptops). I’m probably swatting a gnat with a sledgehammer, but it would be really nice to be able to query their systems while their laptops are offline.
I’ll try deploying redis manually and see what happens.
z

zwass

04/08/2022, 12:34 AM
Ah, love it!
s

Stephen Nelson

04/08/2022, 12:44 AM
Manual deploy seems to get us past the prepare stage. Now it’s announced it’s listening, but isn’t passing health checks or serving html. Still, I think it’s now an application use issue and not a deployment issue.
+
Never mind, it’s deployed. Thanks!
11 Views