ceph / ceph/calamari

Calamari not working Ubuntu 16.04

Open
#503 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
345
Forks
175
PR merge metrics
No merged PRs in 30d

Description

Hi,

I Installed a functional CEPH cluster under ubuntu 16.04. Now I'm trying to install calamari, but after severals attemps I'm not successful.

After fix all the dependencies and installa calamari-server on my ceph-admin, I get the next error when I try to run #root@ceph-admin:~# calamari-ctl initialize

`Traceback (most recent call last):
File "/usr/bin/calamari-ctl", line 9, in
load_entry_point('calamari-cthulhu==0.1', 'console_scripts', 'calamari-ctl')()
File "/opt/calamari/venv/local/lib/python2.7/site-packages/pkg_resources.py", line 353, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/opt/calamari/venv/local/lib/python2.7/site-packages/pkg_resources.py", line 2321, in load_entry_point
return ep.load()
File "/opt/calamari/venv/local/lib/python2.7/site-packages/pkg_resources.py", line 2048, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/opt/calamari/venv/local/lib/python2.7/site-packages/calamari_cthulhu-0.1-py2.7.egg/cthulhu/calamari_ctl.py", line 8, in
from alembic import command
File "/opt/calamari/venv/local/lib/python2.7/site-packages/alembic/__init__.py", line 8, in
from . import op
File "/opt/calamari/venv/local/lib/python2.7/site-packages/alembic/op.py", line 1, in
from .operations import Operations
File "/opt/calamari/venv/local/lib/python2.7/site-packages/alembic/operations.py", line 3, in
from sqlalchemy.types import NULLTYPE, Integer
File "/opt/calamari/venv/local/lib/python2.7/site-packages/sqlalchemy/__init__.py", line 50, in
from .types import (
File "/opt/calamari/venv/local/lib/python2.7/site-packages/sqlalchemy/types.py", line 23, in
import datetime as dt
ImportError: No module named datetime
`
Could someone give me some idea? It's a bad idea use ubuntu 16.04 for calamari? I Should use redhat or older 14.04LTS ubuntu?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the reported /usr/bin/calamari-ctl entry point and cthulhu/calamari_ctl.py, then reproduce `calamari-ctl initialize` in the stated Python 2.7 environment. Trace the Alembic and SQLAlchemy imports and compare the dependency and Ubuntu 16.04 setup with the project's supported installation guidance; done means the compatibility cause and supported platform are established.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, sqlalchemy, ubuntu
Domain
backend, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.