Skip to content
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

Docker Quickstart doesn't work #500

Closed
bearrito opened this issue Apr 29, 2023 · 5 comments
Closed

Docker Quickstart doesn't work #500

bearrito opened this issue Apr 29, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@bearrito
Copy link

bearrito commented Apr 29, 2023

git clone https://github.com/latenighttales/alcali.git
cd alcali
docker-compose up --scale minion=2
 File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/cli/run.py", line 34, in run
    ret = runner.run()
  File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/runner.py", line 300, in run
    ret = self._proc_function(
  File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/client/mixins.py", line 540, in _proc_function
    return instance.low(fun, low)
  File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/client/mixins.py", line 418, in low
    salt.utils.job.store_job(
  File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/utils/job.py", line 76, in store_job
    raise KeyError(emsg)
KeyError: "Returner 'alcali' does not support function prep_jid"
ERROR: Service 'master' failed to build: The command '/bin/sh -c salt-run saltutil.sync_all' returned a non-zero code: 1
bstrausser@LOCLAP680:~/Git/alcali$ git branch
* develop
bstrausser@LOCLAP680:~/Git/alcali$ git log
commit 4a652bc421f73f54e9dd3fcb3f46d3999c977111 (HEAD -> develop, origin/develop, origin/HEAD)
Author: Matt Melquiond <[email protected]>
Date:   Sat Jun 25 22:04:42 2022 +0200

    add a clear results button (#455)

commit 0aa8d0fbbecfb11b4346d47aa4f9f3cabd7f0fe0

@bearrito bearrito added the bug Something isn't working label Apr 29, 2023
@kragebein
Copy link

Getting the same using the salt formula

@ahumain
Copy link

ahumain commented Jul 18, 2023

I just tested, I have my same error.

@agriev
Copy link

agriev commented Aug 24, 2023

same here

@agriev
Copy link

agriev commented Aug 25, 2023

Just for the information, alcali has some problems with a folder permissions in docker.

quickfix is in entrypoint-master.sh:

mkdir /var/cache/salt/master
chown -R salt:salt /var/cache/salt

salt-run saltutil.sync_all # remove it from the Dockerfile-master

Also in Dockerfile-master:

RUN salt-call --local tls.create_self_signed_cert cacert_path='/etc/pki'
RUN chmod -R a+rwx /etc/pki/. # add this line to fix certificates permission

agriev added a commit to agriev/alcali that referenced this issue Aug 25, 2023
@mattLLVW
Copy link
Contributor

fixed by #507

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants