Open asmkaiser opened 4 years ago
Same issue with Centos7 and Fedora30. Disabled Selinux as well just in case.
From the docker logs:
f3dc36243d56 b27d3f6bf8a6 "/usr/bin/supervis..." About an hour ago Up About an hour runner-service [root@th-cephinstaller-2 ~]# docker logs f3d 2019-11-14 18:46:31,542 CRIT Supervisor running as root (no user in config file) 2019-11-14 18:46:31,545 INFO supervisord started with pid 1 2019-11-14 18:46:32,547 INFO spawned: 'nginx' with pid 10 2019-11-14 18:46:32,550 INFO spawned: 'uwsgi' with pid 11 [uWSGI] getting INI configuration from /root/ansible-runner-service/uwsgi.ini open("./python3_plugin.so"): No such file or directory [core/utils.c line 3724] !!! UNABLE to load uWSGI plugin: ./python3_plugin.so: cannot open shared object file: No such file or directory !!! 2019-11-14 18:46:33,606 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2019-11-14 18:46:33,607 INFO success: uwsgi entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
Same issue with Centos7 and Fedora30. Disabled Selinux as well just in case.
I have already disable selinux and firewalld , just in case, no luck
python3_plugin.so appears to be missing from the docker image. Adding install of uwsgi-plugin-python36 via yum in the docker file might fix it.......haven't tried rebuilding it yet though. Probably needs the uwsgi router too.
I modified the utils/ansible-runner-service.sh to remove the --rm from docker options and restarted ansible-runner-service.sh. After modifying the uwsgi.ini file internal to the container to comment out the python plugin (it's not been needed for uwsgi-python apps in my experience) and the quick stop/start of the container clears the error.
From external to the container I can curl -ik 127.0.0.1:5001 (the container port) and it the uwsgi process responds by complaining I didn't send it the correct cert to login with.
... but this doesn't clear the problem. :( Still 'Not Found' in the cockpit UI as OP posted.
Maybe some issue with selinux? I solved this by copying the files from dist to the /usr/share/cockpit/cockpit-ceph-installer/ folder instead of linking it. :)
Well, I have Selinux off in my environment as it usually causes so much pain. :) I'll try the copy from dist fix when I get home. Thanks.
Please upload fix with a new version soon.
Most testing to date has been based on RHEL8. Will look at CENTOS7 when I get a chance.
Ah, didn't try RHEL8 version as it nuked most of my storage cards. :(
@SpootDev that doesn't sound like fun!
have the same problem with CentOS 7,
any update ?
I fixed my problem with the Symlink in Step 3.2
and changed it to
ln -sf /root/cockpit-ceph-installer/dist/ /usr/share/cockpit/cockpit-ceph-installer
this fixed my problem. Good luck.
took a long time though, i will try
A S M Kawsar Harun RHCA | RHCI
On Thu, Jan 23, 2020 at 12:47 AM ChrisgReed notifications@github.com wrote:
I fixed my problem with the Symlink in Step 3.2
and changed it to
ln -sf /root/cockpit-ceph-installer/dist/ /usr/share/cockpit/cockpit-ceph-installer
this fixed my problem. Good luck.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/red-hat-storage/cockpit-ceph-installer/issues/36?email_source=notifications&email_token=AKMPRL56T2JY2HPBWZ32JRTQ7CIFTA5CNFSM4JNODYH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJUVTNQ#issuecomment-577329590, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKMPRL5SA2MQQJ3AC7LTP3TQ7CIFTANCNFSM4JNODYHQ .
hi. I am not sure if @christopherglennreed 's solution is correct but I just try on the virtual machine, his solution is working. for currently is China's Spring Festival holiday, so I think I could only check the solution in the production environment after I back to the office
and thanks @christopherglennreed again
I fixed my problem with the Symlink in Step 3.2
and changed it to
ln -sf /root/cockpit-ceph-installer/dist/ /usr/share/cockpit/cockpit-ceph-installer
this fixed my problem. Good luck.
I had the same problem and this solution worked for me. Thanks :)
I've been struggling with this problem for more than 3 hours. None of the solutions here solved the issue for me. I'm using Fedora 28.
Fortunately, I found a solution here: https://github.com/cockpit-project/cockpit-container/issues/14
In my case, the problem is solved by installing also cockpit-system
. Thus, in the installation step, it would look like this:
dnf install docker cockpit-ws cockpit-system cockpit-bridge git
I also think that the original linking was wrong (because ls -l /usr/share/cockpit/cockpit-ceph-installer/
showed a broken link), so the linking fix proposed here was also needed to get this working.
`[root@master utils]# ./ansible-runner-service.sh -s -v Optional binary docker is present Checking environment is ready openssl is present curl is present Checking container is active Checking/creating directories Checking SSL certificate configuration Ansible API (runner-service) container set to jolmomar/ansible_runner_service Using the Ansible API container already downloaded (runner-service) Starting Ansible API container (runner-service) Started runner-service container Waiting for Ansible API container (runner-service) to respond
Login to the cockpit UI at https://master.netco-private.com:9090/cockpit-ceph-installer to start the install`
installed successfully but the link
https://master.netco-private.com:9090/cockpit-ceph-installer
is giving an error "Not Found"my OS - CentOs 7.7