aquarist-labs / aquarium

Project Aquarium is a SUSE-sponsored open source project aiming at becoming an easy to use, rock solid storage appliance based on Ceph.
https://aquarist-labs.io/
Other
71 stars 23 forks source link

gravel: error while bootstrapping node #95

Closed s0nea closed 3 years ago

s0nea commented 3 years ago

I tried to test https://github.com/aquarist-labs/aquarium/pull/80 . In order to do so, I did the following steps:

  1. Deployed a new Vagrant environment as explained in https://github.com/aquarist-labs/aquarium/pull/38 .
  2. Pulled the changes of https://github.com/aquarist-labs/aquarium/pull/80 to my local development environment. Because of https://github.com/aquarist-labs/aquarium/pull/93 the dev environment can now make use of the API offered by the Vagrant box.
  3. I opened the installer at http://localhost:4242/ and started the bootstrapping process (http://localhost:4242/installer/create/bootstrap)
  4. After a few seconds I saw the following error on the Vagrant box:
vagrant@node01:/srv/aquarium> ./run_aquarium.sh 
INFO:     Started server process [5225]
INFO:     Waiting for application startup.
INFO:     app startup
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:1337 (Press CTRL+C to quit)
INFO:     bootstrap > selected addr: 192.168.121.105
INFO:     bootstrap > start (success: True)
INFO:     192.168.121.105:34058 - "POST /api/bootstrap/start HTTP/1.1" 200 OK
INFO:     192.168.121.105:34060 - "GET /api/bootstrap/status HTTP/1.1" 200 OK
Task exception was never retrieved
future: <Task finished name='Task-9' coro=<Bootstrap._do_bootstrap() done, defined at ./gravel/controllers/bootstrap.py:130> exception=BootstrapError('error bootstrapping: rc = 1')>
Traceback (most recent call last):
  File "./gravel/controllers/bootstrap.py", line 147, in _do_bootstrap
    raise BootstrapError(f"error bootstrapping: rc = {retcode}")
gravel.controllers.bootstrap.BootstrapError: error bootstrapping: rc = 1
jecluis commented 3 years ago

Related to #71 Fixed by #105