-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
salt-cloud fails to run as non-root user #18419
Comments
@jasonrm as of that commit, Salt Cloud has started keeping an index of instances that it manages, in Do you normally run the |
I agree that I could open up permissions, but that seems to ignore (at least in my mind) the main purpose of being able to set I don't need to run as a non-root user, although I prefer it for various reason. One being that I have multiple salt environments that I am currently working with. Thus, I want to have everything related to each environment contained within it's own set of directories. Running salt-master as non-root has, so far, worked just fine using the same |
Same here, why salt-cloud does not honor the root_dir, cachedir and sock_dir configurations? What's the status of this issue? PS: I'm using 2015.8.1 |
Unfortunately, I don't think anyone has had a chance to tackle this issue yet. |
I was hoping to use salt-cloud and salt-ssh on a cloud project, but this is a deal breaker. If someone tells me it's a straightforward fix and gives me a strong hint of where |
As with other components of Salt, Salt Cloud uses @cro, do you have any insight as to how other subsystems write to the cache directory as a non-root user? In the meantime, creating |
Let's try to get this fixed in 2016.3.3 and 2015.8.12 |
I am experiencing a similar issue with edit: I think I am hitting another issue which I have just created #34806 - but I am still curious whether the |
Hi folks! Coming across this, I have to ask whether this has been simply closed for inactivity? It would be nice to have a fix for this, especially for the use-case provided by jasonrm. |
This was fixed by #35483 and then closed. |
If you have a new issue please open a new ticket. |
Post e85e2c2 (Add Salt Cloud roster) I am having the following issue with running salt-cloud as a non-root user.
I'm not sure why it's trying to write to
/var
, as my config should be overriding the root directory to the current directory.If I checkout a commit before e85e2c2 I can run the above just fine. When I go back to develop, the destroy is successful despite the error message.
I'm suspicious of how
salt.syspaths
doesn't seem to be aware of the config inSaltfile
andcloud
config files, but that's all I've got at the moment.Config Files
Saltfile
cloud
Versions
The text was updated successfully, but these errors were encountered: