Hello everybody In octopus there are some interesting looking features, so I tried to upgrading my Centos 7 test nodes, according to: https://docs.ceph.com/docs/master/releases/octopus/ Everything went fine and the cluster is healthy. To test out the new dashboard functions, I tried to install it, but there are missing dependencies: yum install ceph-mgr-dashboard.noarch ..... --> Finished Dependency Resolution Error: Package: 2:ceph-mgr-dashboard-15.2.1-0.el7.noarch (Ceph-noarch) Requires: python3-routes Error: Package: 2:ceph-mgr-dashboard-15.2.1-0.el7.noarch (Ceph-noarch) Requires: python3-jwt Error: Package: 2:ceph-mgr-dashboard-15.2.1-0.el7.noarch (Ceph-noarch) Requires: python3-cherrypy Installing them with pip3 does of course make no difference, because those are yum dependencies. Does anyone know a workaround? Do I have to upgrade to Centos 8 for this to work? Thanks in advance, Simon
Hi Simon, Have you tried installing them with yum? On Wed, Apr 22, 2020 at 6:16 PM Simon Sutter <ssutter@hosttech.ch> wrote:
Hello everybody
In octopus there are some interesting looking features, so I tried to upgrading my Centos 7 test nodes, according to: https://docs.ceph.com/docs/master/releases/octopus/
Everything went fine and the cluster is healthy.
To test out the new dashboard functions, I tried to install it, but there are missing dependencies:
yum install ceph-mgr-dashboard.noarch
.....
--> Finished Dependency Resolution Error: Package: 2:ceph-mgr-dashboard-15.2.1-0.el7.noarch (Ceph-noarch) Requires: python3-routes Error: Package: 2:ceph-mgr-dashboard-15.2.1-0.el7.noarch (Ceph-noarch) Requires: python3-jwt Error: Package: 2:ceph-mgr-dashboard-15.2.1-0.el7.noarch (Ceph-noarch) Requires: python3-cherrypy
Installing them with pip3 does of course make no difference, because those are yum dependencies.
Does anyone know a workaround?
Do I have to upgrade to Centos 8 for this to work?
Thanks in advance,
Simon _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Hello Khodayar Of cours I tried installing them with yum... They are not available in the centos base or epel repos, here are the ones, which are available: [root@node1 ~]# yum list | egrep "cherrypy|jwt|routes" python-cherrypy.noarch 3.2.2-4.el7 @base python-cherrypy2.noarch 2.3.0-19.el7 @epel python-jwt.noarch 1.5.3-1.el7 @base python-routes.noarch 1.13-2.el7 @epel nodejs-jwt-simple.noarch 0.2.0-1.el7 epel python36-jwt.noarch 1.6.4-2.el7 epel How do I get either: The right packages or a workaround because i can install the dependencies with pip? Regards, Simon ________________________________ Von: Khodayar Doustar <doustar@rayanexon.ir> Gesendet: Mittwoch, 22. April 2020 20:02:04 An: Simon Sutter Cc: ceph-users@ceph.io Betreff: Re: [ceph-users] Upgrading to Octopus Hi Simon, Have you tried installing them with yum? On Wed, Apr 22, 2020 at 6:16 PM Simon Sutter <ssutter@hosttech.ch<mailto:ssutter@hosttech.ch>> wrote: Hello everybody In octopus there are some interesting looking features, so I tried to upgrading my Centos 7 test nodes, according to: https://docs.ceph.com/docs/master/releases/octopus/ Everything went fine and the cluster is healthy. To test out the new dashboard functions, I tried to install it, but there are missing dependencies: yum install ceph-mgr-dashboard.noarch ..... --> Finished Dependency Resolution Error: Package: 2:ceph-mgr-dashboard-15.2.1-0.el7.noarch (Ceph-noarch) Requires: python3-routes Error: Package: 2:ceph-mgr-dashboard-15.2.1-0.el7.noarch (Ceph-noarch) Requires: python3-jwt Error: Package: 2:ceph-mgr-dashboard-15.2.1-0.el7.noarch (Ceph-noarch) Requires: python3-cherrypy Installing them with pip3 does of course make no difference, because those are yum dependencies. Does anyone know a workaround? Do I have to upgrade to Centos 8 for this to work? Thanks in advance, Simon _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io<mailto:ceph-users@ceph.io> To unsubscribe send an email to ceph-users-leave@ceph.io<mailto:ceph-users-leave@ceph.io>
Simon, You can try to search for the exact package name, you can try these repos as well: yum <https://www.server-world.info/en/command/html/yum.html> -y install epel-release centos-release-ceph-nautilus centos-release-openstack-stein On Thu, Apr 23, 2020 at 11:57 AM Simon Sutter <ssutter@hosttech.ch> wrote:
Hello Khodayar
Of cours I tried installing them with yum...
They are not available in the centos base or epel repos, here are the ones, which are available:
[root@node1 ~]# yum list | egrep "cherrypy|jwt|routes" python-cherrypy.noarch 3.2.2-4.el7 @base python-cherrypy2.noarch 2.3.0-19.el7 @epel python-jwt.noarch 1.5.3-1.el7 @base python-routes.noarch 1.13-2.el7 @epel nodejs-jwt-simple.noarch 0.2.0-1.el7 epel python36-jwt.noarch 1.6.4-2.el7 epel
How do I get either: The right packages or a workaround because i can install the dependencies with pip?
Regards,
Simon
________________________________ Von: Khodayar Doustar <doustar@rayanexon.ir> Gesendet: Mittwoch, 22. April 2020 20:02:04 An: Simon Sutter Cc: ceph-users@ceph.io Betreff: Re: [ceph-users] Upgrading to Octopus
Hi Simon,
Have you tried installing them with yum?
On Wed, Apr 22, 2020 at 6:16 PM Simon Sutter <ssutter@hosttech.ch<mailto: ssutter@hosttech.ch>> wrote: Hello everybody
In octopus there are some interesting looking features, so I tried to upgrading my Centos 7 test nodes, according to: https://docs.ceph.com/docs/master/releases/octopus/
Everything went fine and the cluster is healthy.
To test out the new dashboard functions, I tried to install it, but there are missing dependencies:
yum install ceph-mgr-dashboard.noarch
.....
--> Finished Dependency Resolution Error: Package: 2:ceph-mgr-dashboard-15.2.1-0.el7.noarch (Ceph-noarch) Requires: python3-routes Error: Package: 2:ceph-mgr-dashboard-15.2.1-0.el7.noarch (Ceph-noarch) Requires: python3-jwt Error: Package: 2:ceph-mgr-dashboard-15.2.1-0.el7.noarch (Ceph-noarch) Requires: python3-cherrypy
Installing them with pip3 does of course make no difference, because those are yum dependencies.
Does anyone know a workaround?
Do I have to upgrade to Centos 8 for this to work?
Thanks in advance,
Simon _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io<mailto:ceph-users@ceph.io> To unsubscribe send an email to ceph-users-leave@ceph.io<mailto: ceph-users-leave@ceph.io> _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Khodayar, I added all those repos, but sitll, those packages are missing. I can of course search for the exact package name like this: [root@node1 ~]# yum search python3-cherrypy Loaded plugins: fastestmirror, langpacks, priorities Loading mirror speeds from cached hostfile * base: pkg.adfinis-sygroup.ch * centos-ceph-nautilus: pkg.adfinis-sygroup.ch * centos-nfs-ganesha28: pkg.adfinis-sygroup.ch * centos-openstack-stein: pkg.adfinis-sygroup.ch * centos-qemu-ev: pkg.adfinis-sygroup.ch * centos-sclo-rh: pkg.adfinis-sygroup.ch * centos-sclo-sclo: pkg.adfinis-sygroup.ch * epel: pkg.adfinis-sygroup.ch * extras: pkg.adfinis-sygroup.ch * updates: pkg.adfinis-sygroup.ch Warning: No matches found for: python3-cherrypy No matches found But as you can see, it cannot find it. Anything else I can try? Regards, Simon ________________________________ Von: Khodayar Doustar <doustar@rayanexon.ir> Gesendet: Donnerstag, 23. April 2020 14:41:38 An: Simon Sutter Cc: ceph-users@ceph.io Betreff: Re: [ceph-users] Re: Upgrading to Octopus Simon, You can try to search for the exact package name, you can try these repos as well: yum<https://www.server-world.info/en/command/html/yum.html> -y install epel-release centos-release-ceph-nautilus centos-release-openstack-stein On Thu, Apr 23, 2020 at 11:57 AM Simon Sutter <ssutter@hosttech.ch<mailto:ssutter@hosttech.ch>> wrote: Hello Khodayar Of cours I tried installing them with yum... They are not available in the centos base or epel repos, here are the ones, which are available: [root@node1 ~]# yum list | egrep "cherrypy|jwt|routes" python-cherrypy.noarch 3.2.2-4.el7 @base python-cherrypy2.noarch 2.3.0-19.el7 @epel python-jwt.noarch 1.5.3-1.el7 @base python-routes.noarch 1.13-2.el7 @epel nodejs-jwt-simple.noarch 0.2.0-1.el7 epel python36-jwt.noarch 1.6.4-2.el7 epel How do I get either: The right packages or a workaround because i can install the dependencies with pip? Regards, Simon ________________________________ Von: Khodayar Doustar <doustar@rayanexon.ir<mailto:doustar@rayanexon.ir>> Gesendet: Mittwoch, 22. April 2020 20:02:04 An: Simon Sutter Cc: ceph-users@ceph.io<mailto:ceph-users@ceph.io> Betreff: Re: [ceph-users] Upgrading to Octopus Hi Simon, Have you tried installing them with yum? On Wed, Apr 22, 2020 at 6:16 PM Simon Sutter <ssutter@hosttech.ch<mailto:ssutter@hosttech.ch><mailto:ssutter@hosttech.ch<mailto:ssutter@hosttech.ch>>> wrote: Hello everybody In octopus there are some interesting looking features, so I tried to upgrading my Centos 7 test nodes, according to: https://docs.ceph.com/docs/master/releases/octopus/ Everything went fine and the cluster is healthy. To test out the new dashboard functions, I tried to install it, but there are missing dependencies: yum install ceph-mgr-dashboard.noarch ..... --> Finished Dependency Resolution Error: Package: 2:ceph-mgr-dashboard-15.2.1-0.el7.noarch (Ceph-noarch) Requires: python3-routes Error: Package: 2:ceph-mgr-dashboard-15.2.1-0.el7.noarch (Ceph-noarch) Requires: python3-jwt Error: Package: 2:ceph-mgr-dashboard-15.2.1-0.el7.noarch (Ceph-noarch) Requires: python3-cherrypy Installing them with pip3 does of course make no difference, because those are yum dependencies. Does anyone know a workaround? Do I have to upgrade to Centos 8 for this to work? Thanks in advance, Simon _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io<mailto:ceph-users@ceph.io><mailto:ceph-users@ceph.io<mailto:ceph-users@ceph.io>> To unsubscribe send an email to ceph-users-leave@ceph.io<mailto:ceph-users-leave@ceph.io><mailto:ceph-users-leave@ceph.io<mailto:ceph-users-leave@ceph.io>> _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io<mailto:ceph-users@ceph.io> To unsubscribe send an email to ceph-users-leave@ceph.io<mailto:ceph-users-leave@ceph.io>
The release notes [1] specify only partial support for CentOS 7. "Note that the dashboard, prometheus, and restful manager modules will not work on the CentOS 7 build due to Python 3 module dependencies that are missing in CentOS 7." You will need to move to CentOS 8, or potentially containerize [2](?) your managers to get the full functionality. [1] https://docs.ceph.com/docs/master/releases/octopus/ [2] https://docs.ceph.com/docs/master/cephadm/#cephadm -- Adam On Thu, Apr 23, 2020 at 9:39 AM Simon Sutter <ssutter@hosttech.ch> wrote:
Khodayar,
I added all those repos, but sitll, those packages are missing.
I can of course search for the exact package name like this:
[root@node1 ~]# yum search python3-cherrypy Loaded plugins: fastestmirror, langpacks, priorities Loading mirror speeds from cached hostfile * base: pkg.adfinis-sygroup.ch * centos-ceph-nautilus: pkg.adfinis-sygroup.ch * centos-nfs-ganesha28: pkg.adfinis-sygroup.ch * centos-openstack-stein: pkg.adfinis-sygroup.ch * centos-qemu-ev: pkg.adfinis-sygroup.ch * centos-sclo-rh: pkg.adfinis-sygroup.ch * centos-sclo-sclo: pkg.adfinis-sygroup.ch * epel: pkg.adfinis-sygroup.ch * extras: pkg.adfinis-sygroup.ch * updates: pkg.adfinis-sygroup.ch Warning: No matches found for: python3-cherrypy No matches found
But as you can see, it cannot find it.
Anything else I can try?
Regards,
Simon
________________________________ Von: Khodayar Doustar <doustar@rayanexon.ir> Gesendet: Donnerstag, 23. April 2020 14:41:38 An: Simon Sutter Cc: ceph-users@ceph.io Betreff: Re: [ceph-users] Re: Upgrading to Octopus
Simon,
You can try to search for the exact package name, you can try these repos as well:
yum<https://www.server-world.info/en/command/html/yum.html> -y install epel-release centos-release-ceph-nautilus centos-release-openstack-stein
On Thu, Apr 23, 2020 at 11:57 AM Simon Sutter <ssutter@hosttech.ch<mailto:ssutter@hosttech.ch>> wrote: Hello Khodayar
Of cours I tried installing them with yum...
They are not available in the centos base or epel repos, here are the ones, which are available:
[root@node1 ~]# yum list | egrep "cherrypy|jwt|routes" python-cherrypy.noarch 3.2.2-4.el7 @base python-cherrypy2.noarch 2.3.0-19.el7 @epel python-jwt.noarch 1.5.3-1.el7 @base python-routes.noarch 1.13-2.el7 @epel nodejs-jwt-simple.noarch 0.2.0-1.el7 epel python36-jwt.noarch 1.6.4-2.el7 epel
How do I get either: The right packages or a workaround because i can install the dependencies with pip?
Regards,
Simon
________________________________ Von: Khodayar Doustar <doustar@rayanexon.ir<mailto:doustar@rayanexon.ir>> Gesendet: Mittwoch, 22. April 2020 20:02:04 An: Simon Sutter Cc: ceph-users@ceph.io<mailto:ceph-users@ceph.io> Betreff: Re: [ceph-users] Upgrading to Octopus
Hi Simon,
Have you tried installing them with yum?
On Wed, Apr 22, 2020 at 6:16 PM Simon Sutter <ssutter@hosttech.ch<mailto:ssutter@hosttech.ch><mailto:ssutter@hosttech.ch<mailto:ssutter@hosttech.ch>>> wrote: Hello everybody
In octopus there are some interesting looking features, so I tried to upgrading my Centos 7 test nodes, according to: https://docs.ceph.com/docs/master/releases/octopus/
Everything went fine and the cluster is healthy.
To test out the new dashboard functions, I tried to install it, but there are missing dependencies:
yum install ceph-mgr-dashboard.noarch
.....
--> Finished Dependency Resolution Error: Package: 2:ceph-mgr-dashboard-15.2.1-0.el7.noarch (Ceph-noarch) Requires: python3-routes Error: Package: 2:ceph-mgr-dashboard-15.2.1-0.el7.noarch (Ceph-noarch) Requires: python3-jwt Error: Package: 2:ceph-mgr-dashboard-15.2.1-0.el7.noarch (Ceph-noarch) Requires: python3-cherrypy
Installing them with pip3 does of course make no difference, because those are yum dependencies.
Does anyone know a workaround?
Do I have to upgrade to Centos 8 for this to work?
Thanks in advance,
Simon _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io<mailto:ceph-users@ceph.io><mailto:ceph-users@ceph.io<mailto:ceph-users@ceph.io>> To unsubscribe send an email to ceph-users-leave@ceph.io<mailto:ceph-users-leave@ceph.io><mailto:ceph-users-leave@ceph.io<mailto:ceph-users-leave@ceph.io>> _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io<mailto:ceph-users@ceph.io> To unsubscribe send an email to ceph-users-leave@ceph.io<mailto:ceph-users-leave@ceph.io> _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Yes! That was what I was going to paste here On Thu, Apr 23, 2020 at 7:18 PM Adam Tygart <mozes@ksu.edu> wrote:
The release notes [1] specify only partial support for CentOS 7.
"Note that the dashboard, prometheus, and restful manager modules will not work on the CentOS 7 build due to Python 3 module dependencies that are missing in CentOS 7."
You will need to move to CentOS 8, or potentially containerize [2](?) your managers to get the full functionality.
[1] https://docs.ceph.com/docs/master/releases/octopus/ [2] https://docs.ceph.com/docs/master/cephadm/#cephadm
-- Adam
On Thu, Apr 23, 2020 at 9:39 AM Simon Sutter <ssutter@hosttech.ch> wrote:
Khodayar,
I added all those repos, but sitll, those packages are missing.
I can of course search for the exact package name like this:
[root@node1 ~]# yum search python3-cherrypy Loaded plugins: fastestmirror, langpacks, priorities Loading mirror speeds from cached hostfile * base: pkg.adfinis-sygroup.ch * centos-ceph-nautilus: pkg.adfinis-sygroup.ch * centos-nfs-ganesha28: pkg.adfinis-sygroup.ch * centos-openstack-stein: pkg.adfinis-sygroup.ch * centos-qemu-ev: pkg.adfinis-sygroup.ch * centos-sclo-rh: pkg.adfinis-sygroup.ch * centos-sclo-sclo: pkg.adfinis-sygroup.ch * epel: pkg.adfinis-sygroup.ch * extras: pkg.adfinis-sygroup.ch * updates: pkg.adfinis-sygroup.ch Warning: No matches found for: python3-cherrypy No matches found
But as you can see, it cannot find it.
Anything else I can try?
Regards,
Simon
________________________________ Von: Khodayar Doustar <doustar@rayanexon.ir> Gesendet: Donnerstag, 23. April 2020 14:41:38 An: Simon Sutter Cc: ceph-users@ceph.io Betreff: Re: [ceph-users] Re: Upgrading to Octopus
Simon,
You can try to search for the exact package name, you can try these
repos as well:
yum<https://www.server-world.info/en/command/html/yum.html> -y install
epel-release centos-release-ceph-nautilus centos-release-openstack-stein
On Thu, Apr 23, 2020 at 11:57 AM Simon Sutter <ssutter@hosttech.ch
Hello Khodayar
Of cours I tried installing them with yum...
They are not available in the centos base or epel repos, here are the ones, which are available:
[root@node1 ~]# yum list | egrep "cherrypy|jwt|routes" python-cherrypy.noarch 3.2.2-4.el7 @base python-cherrypy2.noarch 2.3.0-19.el7 @epel python-jwt.noarch 1.5.3-1.el7 @base python-routes.noarch 1.13-2.el7 @epel nodejs-jwt-simple.noarch 0.2.0-1.el7 epel python36-jwt.noarch 1.6.4-2.el7 epel
How do I get either: The right packages or a workaround because i can install the dependencies with pip?
Regards,
Simon
________________________________ Von: Khodayar Doustar <doustar@rayanexon.ir<mailto:doustar@rayanexon.ir
Gesendet: Mittwoch, 22. April 2020 20:02:04 An: Simon Sutter Cc: ceph-users@ceph.io<mailto:ceph-users@ceph.io> Betreff: Re: [ceph-users] Upgrading to Octopus
Hi Simon,
Have you tried installing them with yum?
On Wed, Apr 22, 2020 at 6:16 PM Simon Sutter <ssutter@hosttech.ch <mailto:ssutter@hosttech.ch><mailto:ssutter@hosttech.ch<mailto: ssutter@hosttech.ch>>> wrote: Hello everybody
In octopus there are some interesting looking features, so I tried to upgrading my Centos 7 test nodes, according to: https://docs.ceph.com/docs/master/releases/octopus/
Everything went fine and the cluster is healthy.
To test out the new dashboard functions, I tried to install it, but
<mailto:ssutter@hosttech.ch>> wrote: there are missing dependencies:
yum install ceph-mgr-dashboard.noarch
.....
--> Finished Dependency Resolution Error: Package: 2:ceph-mgr-dashboard-15.2.1-0.el7.noarch (Ceph-noarch) Requires: python3-routes Error: Package: 2:ceph-mgr-dashboard-15.2.1-0.el7.noarch (Ceph-noarch) Requires: python3-jwt Error: Package: 2:ceph-mgr-dashboard-15.2.1-0.el7.noarch (Ceph-noarch) Requires: python3-cherrypy
Installing them with pip3 does of course make no difference, because
those are yum dependencies.
Does anyone know a workaround?
Do I have to upgrade to Centos 8 for this to work?
Thanks in advance,
Simon _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io<mailto:ceph-users@ceph.io <mailto:ceph-users@ceph.io<mailto:ceph-users@ceph.io>> To unsubscribe send an email to ceph-users-leave@ceph.io<mailto:
ceph-users-leave@ceph.io><mailto:ceph-users-leave@ceph.io<mailto: ceph-users-leave@ceph.io>>
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io<mailto:ceph-users@ceph.io> To unsubscribe send an email to ceph-users-leave@ceph.io<mailto: ceph-users-leave@ceph.io> _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Hello Simon, I think that Khodayar is right. I managed to install a new Ceph cluster on CentOS 8.1. Therefore you will need the ceph-el8.repo for the time being. For some reason, "they" left the py3 packages you mentioned out of EPEL (as with leveldb, but this package appeared luckily last week in EPEL). Please find below the ceph-el8.repo file, which you have to create in /etc/yum.repos.d/ [copr:copr.fedorainfracloud.org:ktdreyer:ceph-el8] name=Copr repo for ceph-el8 owned by ktdreyer baseurl=https://download.copr.fedorainfracloud.org/results/ktdreyer/ceph-el8/epel-8-... type=rpm-md skip_if_unavailable=True gpgcheck=1 gpgkey=https://download.copr.fedorainfracloud.org/results/ktdreyer/ceph-el8/pubkey.... repo_gpgcheck=0 enabled=1 enabled_metadata=1 This repository - and CentOS 8.x - should have been sufficient to bring up a fresh Ceph cluster. Please let me know if you still have problems in configuring your Ceph cluster. rgds, -gw
Hello, Yes I upgraded the system to Centos8 and now I can install the dashboard module. But the problem now is, I cannot log in to the dashboard. I deleted every cached file on my end and reinstalled the mgr and dashboard several times. If I try to log in with a wrong password, it tells me that it's wrong, but if i use the right password, it just gives me a "500 Internal Server Error". I enabled the debug mode for the mgr: ceph config set mgr mgr/dashboard/log_level debug But in the /var/log/ceph/ceph-mgr.node1.log it just tells me this generic message (ips replaced with 0.0.0.0): 2020-04-28T14:11:15.191+0200 7f0baba8c700 0 [dashboard DEBUG request] [::ffff:0.0.0.0:61383] [POST] [None] /api/auth 2020-04-28T14:11:15.282+0200 7f0bcf164700 0 log_channel(cluster) log [DBG] : pgmap v316: 273 pgs: 273 active+clean; 2.4 TiB data, 7.1 TiB used, 18 TiB / 25 TiB avail 2020-04-28T14:11:15.453+0200 7f0baba8c700 0 [dashboard DEBUG controllers.auth] Login successful 2020-04-28T14:11:15.453+0200 7f0baba8c700 0 [dashboard ERROR request] [::ffff:0.0.0.0:61383] [POST] [500] [0.264s] [513.0B] [100ecd9a-5d09-419f-8b9f-31bc3d4042b4] /api/auth 2020-04-28T14:11:15.453+0200 7f0baba8c700 0 [dashboard ERROR request] [b'{"status": "500 Internal Server Error", "detail": "The server encountered an unexpected condition which prevented it from fulfilling the request.", "request_id": "100ecd9a-5d09-419f-8b9f-31bc3d4042b4"} '] 2020-04-28T14:11:15.454+0200 7f0baba8c700 0 [dashboard INFO request] [::ffff:0.0.0.0:61383] [POST] [500] [0.264s] [513.0B] [100ecd9a-5d09-419f-8b9f-31bc3d4042b4] /api/auth How can I find out, where the problem is? Thanks in advance, Simon ________________________________ Von: gert.wieberdink@ziggo.nl <gert.wieberdink@ziggo.nl> Gesendet: Donnerstag, 23. April 2020 20:34:58 An: ceph-users@ceph.io Betreff: [ceph-users] Re: Upgrading to Octopus Hello Simon, I think that Khodayar is right. I managed to install a new Ceph cluster on CentOS 8.1. Therefore you will need the ceph-el8.repo for the time being. For some reason, "they" left the py3 packages you mentioned out of EPEL (as with leveldb, but this package appeared luckily last week in EPEL). Please find below the ceph-el8.repo file, which you have to create in /etc/yum.repos.d/ [copr:copr.fedorainfracloud.org:ktdreyer:ceph-el8] name=Copr repo for ceph-el8 owned by ktdreyer baseurl=https://download.copr.fedorainfracloud.org/results/ktdreyer/ceph-el8/epel-8-... type=rpm-md skip_if_unavailable=True gpgcheck=1 gpgkey=https://download.copr.fedorainfracloud.org/results/ktdreyer/ceph-el8/pubkey.... repo_gpgcheck=0 enabled=1 enabled_metadata=1 This repository - and CentOS 8.x - should have been sufficient to bring up a fresh Ceph cluster. Please let me know if you still have problems in configuring your Ceph cluster. rgds, -gw _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Hello Simon,ceph-mgr and dashboard installation should be straightforward. These are tough ones (internal server error 500). Did you create a self signed cert for dashboard?Did you check firewalld (port 8443) and/or SELinux? Does syslogctl -f show anything? rgds,-gw On Tue, 2020-04-28 at 12:17 +0000, Simon Sutter wrote:
<!-- p {margin-top:0; margin-bottom:0} -->
Hello,
Yes I upgraded the system to Centos8 and now I can install the dashboard module. But the problem now is, I cannot log in to the dashboard. I deleted every cached file on my end and reinstalled the mgr and dashboard several times. If I try to log in with a wrong password, it tells me that it's wrong, but if i use the right password, it just gives me a "500 Internal Server Error".
I enabled the debug mode for the mgr: ceph config set mgr mgr/dashboard/log_level debug
But in the /var/log/ceph/ceph-mgr.node1.log it just tells me this generic message (ips replaced with 0.0.0.0):
2020-04-28T14:11:15.191+0200 7f0baba8c700 0 [dashboard DEBUG request] [::ffff:0.0.0.0:61383] [POST] [None] /api/auth 2020-04-28T14:11:15.282+0200 7f0bcf164700 0 log_channel(cluster) log [DBG] : pgmap v316: 273 pgs: 273 active+clean; 2.4 TiB data, 7.1 TiB used, 18 TiB / 25 TiB avail 2020-04-28T14:11:15.453+0200 7f0baba8c700 0 [dashboard DEBUG controllers.auth] Login successful 2020-04-28T14:11:15.453+0200 7f0baba8c700 0 [dashboard ERROR request] [::ffff:0.0.0.0:61383] [POST] [500] [0.264s] [513.0B] [100ecd9a-5d09-419f-8b9f-31bc3d4042b4] /api/auth 2020-04-28T14:11:15.453+0200 7f0baba8c700 0 [dashboard ERROR request] [b'{"status": "500 Internal Server Error", "detail": "The server encountered an unexpected condition which prevented it from fulfilling the request.", "request_id": "100ecd9a-5d09-419f-8b9f- 31bc3d4042b4"}
'] 2020-04-28T14:11:15.454+0200 7f0baba8c700 0 [dashboard INFO request] [::ffff:0.0.0.0:61383] [POST] [500] [0.264s] [513.0B] [100ecd9a-5d09- 419f-8b9f-31bc3d4042b4] /api/auth
How can I find out, where the problem is?
Thanks in advance, Simon
Von: gert.wieberdink@ziggo.nl <gert.wieberdink@ziggo.nl>
Gesendet: Donnerstag, 23. April 2020 20:34:58
An: ceph-users@ceph.io
Betreff: [ceph-users] Re: Upgrading to Octopus
Hello Simon,
I think that Khodayar is right. I managed to install a new Ceph cluster on CentOS 8.1. Therefore you will need the ceph-el8.repo for the time being. For some reason, "they" left the py3 packages you mentioned out of EPEL (as with leveldb, but this package appeared luckily last week in EPEL).
Please find below the ceph-el8.repo file, which you have to create in /etc/yum.repos.d/
[copr:copr.fedorainfracloud.org:ktdreyer:ceph-el8]
name=Copr repo for ceph-el8 owned by ktdreyer
baseurl= https://download.copr.fedorainfracloud.org/results/ktdreyer/ceph-el8/epel-8-...
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey= https://download.copr.fedorainfracloud.org/results/ktdreyer/ceph-el8/pubkey....
repo_gpgcheck=0
enabled=1
enabled_metadata=1
This repository - and CentOS 8.x - should have been sufficient to bring up a fresh Ceph cluster.
Please let me know if you still have problems in configuring your Ceph cluster.
rgds,
-gw
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-leave@ceph.io
Sorry for the typo: must be journalctl -f instead of syslogctl -f.-gw On Tue, 2020-04-28 at 19:12 +0000, Gert Wieberdink wrote:
Hello Simon,ceph-mgr and dashboard installation should bestraightforward.These are tough ones (internal server error 500). Did you create a selfsigned cert for dashboard?Did you check firewalld (port 8443) and/orSELinux? Does syslogctl -f show anything?rgds,-gwOn Tue, 2020-04-28 at 12:17 +0000, Simon Sutter wrote:
<!--p {margin-top:0; margin-bottom:0}-->
Hello,
Yes I upgraded the system to Centos8 and now I can install thedashboard module.But the problem now is, I cannot log in to the dashboard.I deleted every cached file on my end and reinstalled the mgr anddashboard several times.If I try to log in with a wrong password, it tells me that it'swrong, but if i use the right password, it just gives me a "500Internal Server Error". I enabled the debug mode for the mgr: ceph config set mgrmgr/dashboard/log_level debug But in the /var/log/ceph/ceph-mgr.node1.log it just tells me thisgeneric message (ips replaced with 0.0.0.0):
2020-04-28T14:11:15.191+0200 7f0baba8c700 0 [dashboard DEBUGrequest] [::ffff:0.0.0.0:61383] [POST] [None] /api/auth2020- 04-28T14:11:15.282+0200 7f0bcf164700 0 log_channel(cluster) log[DBG] : pgmap v316: 273 pgs: 273 active+clean; 2.4 TiB data, 7.1 TiBused, 18 TiB / 25 TiB avail2020-04-28T14:11:15.453+0200 7f0baba8c700 0 [dashboard DEBUGcontrollers.auth] Login successful2020-04-28T14:11:15.453+0200 7f0baba8c700 0 [dashboard ERRORrequest] [::ffff:0.0.0.0:61383] [POST] [500] [0.264s] [513.0B][100ecd9a-5d09-419f-8b9f-31bc3d4042b4] /api/auth2020-04- 28T14:11:15.453+0200 7f0baba8c700 0 [dashboard ERRORrequest] [b'{"status": "500 Internal Server Error", "detail": "Theserver encountered an unexpected condition which prevented it fromfulfilling the request.", "request_id": "100ecd9a-5d09-419f- 8b9f- 31bc3d4042b4"}
']2020-04- 28T14:11:15.454+0200 7f0baba8c700 0 [dashboard INFO request][::ffff:0.0.0.0:61383] [POST] [500] [0.264s] [513.0B] [100ecd9a-5d09-419f-8b9f-31bc3d4042b4] /api/auth
How can I find out, where the problem is?
Thanks in advance,Simon
Von: gert.wieberdink@ziggo.nl <gert.wieberdink@ziggo.nl> Gesendet: Donnerstag, 23. April 2020 20:34:58 An: ceph-users@ceph.io
Betreff: [ceph-users] Re: Upgrading to Octopus
Hello Simon, I think that Khodayar is right. I managed to install a new Cephcluster on CentOS 8.1. Therefore you will need the ceph- el8.repo forthe time being. For some reason, "they" left the py3 packages youmentioned out of EPEL (as with leveldb, but this package appeared luckily last week in EPEL). Please find below the ceph-el8.repo file, which you have to create in/etc/yum.repos.d/
[copr:copr.fedorainfracloud.org:ktdreyer:ceph-el8] name=Copr repo for ceph-el8 owned by ktdreyer baseurl= https://download.copr.fedorainfracloud.org/results/ktdreyer/ceph-el8/epel-8-...
type=rpm-md skip_if_unavailable=True gpgcheck=1 gpgkey= https://download.copr.fedorainfracloud.org/results/ktdreyer/ceph-el8/pubkey....
repo_gpgcheck=0 enabled=1 enabled_metadata=1
This repository - and CentOS 8.x - should have been sufficient tobring up a fresh Ceph cluster. Please let me know if you still have problems in configuring yourCeph cluster. rgds, -gw _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-leave@ceph.io
_______________________________________________ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Hello Gert, I recreated the self signed certificate. SELinux was disabled and I temporarely disabled the firewall. It still doesn't work and there is no entry in journalctl -f. Somewhere there is still something from the previous nautilus or centos7 installation, causing this problem. I think I'll have to reinstall the node. I'll update you. Thanks and kind regards, Simon ________________________________ Von: Gert Wieberdink <gert.wieberdink@ziggo.nl> Gesendet: Dienstag, 28. April 2020 21:16:10 An: Simon Sutter; ceph-users@ceph.io Betreff: Re: [ceph-users] Re: Upgrading to Octopus Sorry for the typo: must be journalctl -f instead of syslogctl -f. -gw On Tue, 2020-04-28 at 19:12 +0000, Gert Wieberdink wrote: Hello Simon,ceph-mgr and dashboard installation should be straightforward. These are tough ones (internal server error 500). Did you create a self signed cert for dashboard?Did you check firewalld (port 8443) and/or SELinux? Does syslogctl -f show anything? rgds,-gw On Tue, 2020-04-28 at 12:17 +0000, Simon Sutter wrote: <!-- p {margin-top:0; margin-bottom:0} --> Hello, Yes I upgraded the system to Centos8 and now I can install the dashboard module. But the problem now is, I cannot log in to the dashboard. I deleted every cached file on my end and reinstalled the mgr and dashboard several times. If I try to log in with a wrong password, it tells me that it's wrong, but if i use the right password, it just gives me a "500 Internal Server Error". I enabled the debug mode for the mgr: ceph config set mgr mgr/dashboard/log_level debug But in the /var/log/ceph/ceph-mgr.node1.log it just tells me this generic message (ips replaced with 0.0.0.0): 2020-04-28T14:11:15.191+0200 7f0baba8c700 0 [dashboard DEBUG request] [::ffff:0.0.0.0:61383] [POST] [None] /api/auth 2020-04-28T14:11:15.282+0200 7f0bcf164700 0 log_channel(cluster) log [DBG] : pgmap v316: 273 pgs: 273 active+clean; 2.4 TiB data, 7.1 TiB used, 18 TiB / 25 TiB avail 2020-04-28T14:11:15.453+0200 7f0baba8c700 0 [dashboard DEBUG controllers.auth] Login successful 2020-04-28T14:11:15.453+0200 7f0baba8c700 0 [dashboard ERROR request] [::ffff:0.0.0.0:61383] [POST] [500] [0.264s] [513.0B] [100ecd9a-5d09-419f-8b9f-31bc3d4042b4] /api/auth 2020-04-28T14:11:15.453+0200 7f0baba8c700 0 [dashboard ERROR request] [b'{"status": "500 Internal Server Error", "detail": "The server encountered an unexpected condition which prevented it from fulfilling the request.", "request_id": "100ecd9a-5d09-419f-8b9f- 31bc3d4042b4"} '] 2020-04-28T14:11:15.454+0200 7f0baba8c700 0 [dashboard INFO request] [::ffff:0.0.0.0:61383] [POST] [500] [0.264s] [513.0B] [100ecd9a-5d09- 419f-8b9f-31bc3d4042b4] /api/auth How can I find out, where the problem is? Thanks in advance, Simon Von: <mailto:gert.wieberdink@ziggo.nl> gert.wieberdink@ziggo.nl < <mailto:gert.wieberdink@ziggo.nl> gert.wieberdink@ziggo.nl
Gesendet: Donnerstag, 23. April 2020 20:34:58 An: <mailto:ceph-users@ceph.io> ceph-users@ceph.io Betreff: [ceph-users] Re: Upgrading to Octopus Hello Simon, I think that Khodayar is right. I managed to install a new Ceph cluster on CentOS 8.1. Therefore you will need the ceph-el8.repo for the time being. For some reason, "they" left the py3 packages you mentioned out of EPEL (as with leveldb, but this package appeared luckily last week in EPEL). Please find below the ceph-el8.repo file, which you have to create in /etc/yum.repos.d/ [copr:copr.fedorainfracloud.org:ktdreyer:ceph-el8] name=Copr repo for ceph-el8 owned by ktdreyer baseurl= <https://download.copr.fedorainfracloud.org/results/ktdreyer/ceph-el8/epel-8-$basearch/> https://download.copr.fedorainfracloud.org/results/ktdreyer/ceph-el8/epel-8-... type=rpm-md skip_if_unavailable=True gpgcheck=1 gpgkey= <https://download.copr.fedorainfracloud.org/results/ktdreyer/ceph-el8/pubkey.gpg> https://download.copr.fedorainfracloud.org/results/ktdreyer/ceph-el8/pubkey.... repo_gpgcheck=0 enabled=1 enabled_metadata=1 This repository - and CentOS 8.x - should have been sufficient to bring up a fresh Ceph cluster. Please let me know if you still have problems in configuring your Ceph cluster. rgds, -gw _______________________________________________ ceph-users mailing list -- <mailto:ceph-users@ceph.io> ceph-users@ceph.io To unsubscribe send an email to <mailto:ceph-users-leave@ceph.io> ceph-users-leave@ceph.io _______________________________________________ ceph-users mailing list -- <mailto:ceph-users@ceph.io> ceph-users@ceph.io To unsubscribe send an email to <mailto:ceph-users-leave@ceph.io> ceph-users-leave@ceph.io
Hello Simon,The nautilus leftover idea sounds quite realistic to me. When I had Nautilus/CentOS7.7 combination running, I had a lot of internal server error 500 troubleusing the Ceph Dashboard. But only when I tried to access the RadosGateway tab in the nautilus dashboard. However, I was never able to solve this myself, until I created a fresh Octopus/CentOS 8.1 installation. Full dashboard accessible without any problem.Hope you get it up-and-running by reinstallation.Success.rgds,- gw On Wed, 2020-04-29 at 06:48 +0000, Simon Sutter wrote:
Hello Gert, I recreated the self signed certificate. SELinux was disabled and I temporarely disabled the firewall. It still doesn't work and there is no entry in journalctl -f.
Somewhere there is still something from the previous nautilus or centos7 installation, causing this problem.I think I'll have to reinstall the node.
I'll update you. Thanks and kind regards, Simon ________________________________Von: Gert Wieberdink < gert.wieberdink@ziggo.nl>Gesendet: Dienstag, 28. April 2020 21:16:10An: Simon Sutter; ceph-users@ceph.io Betreff: Re: [ceph-users] Re: Upgrading to Octopus Sorry for the typo: must be journalctl -f instead of syslogctl -f.-gw
On Tue, 2020-04-28 at 19:12 +0000, Gert Wieberdink wrote: Hello Simon,ceph-mgr and dashboard installation should be straightforward. These are tough ones (internal server error 500). Did you create a self signed cert for dashboard?Did you check firewalld (port 8443) and/or SELinux? Does syslogctl -f show anything? rgds,-gw On Tue, 2020-04-28 at 12:17 +0000, Simon Sutter wrote:
<!-- p {margin-top:0; margin-bottom:0} -->
Hello,
Yes I upgraded the system to Centos8 and now I can install the dashboard module. But the problem now is, I cannot log in to the dashboard. I deleted every cached file on my end and reinstalled the mgr and dashboard several times. If I try to log in with a wrong password, it tells me that it's wrong, but if i use the right password, it just gives me a "500 Internal Server Error".
I enabled the debug mode for the mgr: ceph config set mgr mgr/dashboard/log_level debug
But in the /var/log/ceph/ceph-mgr.node1.log it just tells me this generic message (ips replaced with 0.0.0.0):
2020-04-28T14:11:15.191+0200 7f0baba8c700 0 [dashboard DEBUG request] [::ffff:0.0.0.0:61383] [POST] [None] /api/auth 2020-04-28T14:11:15.282+0200 7f0bcf164700 0 log_channel(cluster) log [DBG] : pgmap v316: 273 pgs: 273 active+clean; 2.4 TiB data, 7.1 TiB used, 18 TiB / 25 TiB avail 2020-04-28T14:11:15.453+0200 7f0baba8c700 0 [dashboard DEBUG controllers.auth] Login successful 2020-04-28T14:11:15.453+0200 7f0baba8c700 0 [dashboard ERROR request] [::ffff:0.0.0.0:61383] [POST] [500] [0.264s] [513.0B] [100ecd9a-5d09-419f-8b9f-31bc3d4042b4] /api/auth 2020-04-28T14:11:15.453+0200 7f0baba8c700 0 [dashboard ERROR request] [b'{"status": "500 Internal Server Error", "detail": "The server encountered an unexpected condition which prevented it from fulfilling the request.", "request_id": "100ecd9a-5d09-419f-8b9f- 31bc3d4042b4"}
'] 2020-04-28T14:11:15.454+0200 7f0baba8c700 0 [dashboard INFO request] [::ffff:0.0.0.0:61383] [POST] [500] [0.264s] [513.0B] [100ecd9a-5d09- 419f-8b9f-31bc3d4042b4] /api/auth
How can I find out, where the problem is?
Thanks in advance, Simon
Von: <mailto:gert.wieberdink@ziggo.nl> gert.wieberdink@ziggo.nl
< <mailto:gert.wieberdink@ziggo.nl> gert.wieberdink@ziggo.nl
Gesendet: Donnerstag, 23. April 2020 20:34:58
An: <mailto:ceph-users@ceph.io> ceph-users@ceph.io
Betreff: [ceph-users] Re: Upgrading to Octopus
Hello Simon,
I think that Khodayar is right. I managed to install a new Ceph cluster on CentOS 8.1. Therefore you will need the ceph-el8.repo for the time being. For some reason, "they" left the py3 packages you mentioned out of EPEL (as with leveldb, but this package appeared luckily last week in EPEL).
Please find below the ceph-el8.repo file, which you have to create in /etc/yum.repos.d/
[copr:copr.fedorainfracloud.org:ktdreyer:ceph-el8]
name=Copr repo for ceph-el8 owned by ktdreyer
baseurl= < https://download.copr.fedorainfracloud.org/results/ktdreyer/ceph-el8/epel-8-...
https://download.copr.fedorainfracloud.org/results/ktdreyer/ceph-el8/epel-8-...
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey= < https://download.copr.fedorainfracloud.org/results/ktdreyer/ceph-el8/pubkey....
https://download.copr.fedorainfracloud.org/results/ktdreyer/ceph-el8/pubkey....
repo_gpgcheck=0
enabled=1
enabled_metadata=1
This repository - and CentOS 8.x - should have been sufficient to bring up a fresh Ceph cluster.
Please let me know if you still have problems in configuring your Ceph cluster.
rgds,
-gw
_______________________________________________
ceph-users mailing list -- <mailto:ceph-users@ceph.io> ceph-users@ceph.io
To unsubscribe send an email to <mailto:ceph-users-leave@ceph.io> ceph-users-leave@ceph.io
_______________________________________________ ceph-users mailing list -- <mailto:ceph-users@ceph.io> ceph-users@ceph.io
To unsubscribe send an email to <mailto:ceph-users-leave@ceph.io> ceph-users-leave@ceph.io
_______________________________________________ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
participants (5)
-
Adam Tygart
-
Gert Wieberdink
-
gert.wieberdink@ziggo.nl
-
Khodayar Doustar
-
Simon Sutter