FreeBSD Bugzilla – Attachment 231491 Details for
Bug 261649
net/ceph14: Upgrade with new dashboard install, and minor dependancy fix
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Update installation instructions
ceph14.14.2.22_2.diff (text/plain), 3.25 KB, created by
Willem Jan Withagen
on 2022-02-01 12:00:47 UTC
(
hide
)
Description:
Update installation instructions
Filename:
MIME Type:
Creator:
Willem Jan Withagen
Created:
2022-02-01 12:00:47 UTC
Size:
3.25 KB
patch
obsolete
>diff --git a/net/ceph14/Makefile b/net/ceph14/Makefile >index 43b50902a..4b49cab54 100644 >--- a/net/ceph14/Makefile >+++ b/net/ceph14/Makefile >@@ -3,7 +3,7 @@ > PORTNAME= ceph > DISTVERSIONPREFIX= v > DISTVERSION= 14.2.22 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= net > PKGNAMESUFFIX= 14 > >@@ -51,15 +51,15 @@ RUN_DEPENDS= \ > ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}virtualenv>=0:devel/py-virtualenv@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}protobuf>=0:devel/py-protobuf@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}bcrypt>=0:security/py-bcrypt@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}openssl>=0:security/py-openssl@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}pyjwt>=0:www/py-pyjwt@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pyjwt1>=0:www/py-pyjwt1@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}werkzeug>=0:www/py-werkzeug@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}cherrypy>=0:www/py-cherrypy@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}pecan>=0:www/py-pecan@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}routes>=0:www/py-routes@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}prettytable>=0:devel/py-prettytable@${PY_FLAVOR} >+ ${PYTHON_PKGNAMEPREFIX}routes>=0:www/py-routes@${PY_FLAVOR} > > USES= cmake:noninja compiler:c++17-lang cpe dos2unix fuse gettext-runtime gmake ncurses \ > pkgconfig python:3.8-3.9 readline shebangfix ssl >diff --git a/net/ceph14/pkg-message b/net/ceph14/pkg-message >index 7c2cf9f69..d2ccd686e 100644 >--- a/net/ceph14/pkg-message >+++ b/net/ceph14/pkg-message >@@ -2,19 +2,32 @@ > { type: install > message: <<EOM > This package has installed ceph14, called nautilus. >-It comes with a web based dashboard that cannot be build >-into a package but will require the user to install it himself. > >-To install the dashboard, please execute: >- as root execute: >- cd ${LOCALBASE}/share/ceph/mgr/dashboard/frontend >+To be able to run Ceph, the following setup changes are needed: >+ >+ - Mount linux compat filesystem, add to /etc/fstab: >+ # required by ceph >+ linprocfs /compat/linux/proc linprocfs rw 0 0 >+ linsysfs /compat/linux/sys linsysfs rw 0 0 >+ fdescfs /compat/linux/dev/fd fdescfs rw,linrdlnk 0 0 >+ >+ - Shorten the WAIT2 time for TCP teardown >+ echo "net.inet.tcp.msl=3000" >> /etc/sysctl.conf >+ >+Ceph comes with a web based dashboard that cannot be build >+into a packagei. But the user can it himselfi from a ready-made RPM. >+ >+To install the dashboard, please execute (as root): >+ >+ mkdir -p /usr/local/share/ceph/mgr/dashboard > pkg install rpm2cpio >+ cd /tmp > fetch http://download.ceph.com/rpm-nautilus/el8/noarch/ceph-mgr-dashboard-14.2.22-0.el8.noarch.rpm >- rpm2cpio ${DISTDIR}/ceph-mgr-dashboard-${DISTVERSION}-0.el7.noarch.rpm | \ >- ( cd ${WRKDIR}/dashboard; cpio -divm ) >- chown -R ceph:ceph . >- chown -R ceph:ceph /var/lib/ceph >- >+ rpm2cpio ./ceph-mgr-dashboard-${DISTVERSION}-0.el8.noarch.rpm | cpio -divm >+ cd /tmp/usr/share/ceph/mgr/dashboard >+ rsync -vra . /usr/local/share/ceph/mgr/dashboard/ >+ chown -R ceph:ceph /usr/local/share/ceph/mgr/dashboard/ >+ chown -R ceph:ceph /var/lib/ceph /var/run/ceph /var/log/ceph > EOM > } > ]
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 261649
: 231491