saltstack-formulas / opensds-formula

Integration with Open Software Defined Storage - Capri release - SuSE/CentOS/Ubuntu
https://opensds.io
Other
4 stars 2 forks source link

Fix multicloud systemd service #36

Closed noelmcloughlin closed 5 years ago

noelmcloughlin commented 5 years ago

Forgot to set working directory.

root@ubuntu1804:/usr/lib/systemd/system# systemctl status opensds-multi-cloud
* opensds-multi-cloud.service - OpenSDS multi-cloud service
   Loaded: loaded (/usr/lib/systemd/system/opensds-multi-cloud.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2019-01-22 14:56:50 MST; 12min ago
     Docs: https://opensds.io
 Main PID: 555 (code=exited, status=1/FAILURE)

Jan 22 14:56:50 ubuntu1804.localdomain systemd[1]: Started OpenSDS multi-cloud service.
Jan 22 14:56:50 ubuntu1804.localdomain docker-compose[555]:         Can't find a suitable configuration file in this directory or any
Jan 22 14:56:50 ubuntu1804.localdomain docker-compose[555]:         parent. Are you in the right directory?
Jan 22 14:56:50 ubuntu1804.localdomain docker-compose[555]:         Supported filenames: docker-compose.yml, docker-compose.yaml
Jan 22 14:56:50 ubuntu1804.localdomain docker-compose[555]:         
Jan 22 14:56:50 ubuntu1804.localdomain systemd[1]: opensds-multi-cloud.service: Main process exited, code=exited, status=1/FAILURE
Jan 22 14:56:50 ubuntu1804.localdomain systemd[1]: opensds-multi-cloud.service: Failed with result 'exit-code'