-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
When running vagrant up, the config file is written to /etc/rexray/config.yml, but rexray looks in the ~/.rexray/etc/config.yml.
vagrant --version
Vagrant 2.0.3
Inside master, rexray volume ls
Oops, an error occured!
libstorage: invalid format
To correct the error please review:
- Debug output by using the flag -l debug
- The REX-ray website at https://github.com/thecodeteam/rexray
- The on↓ine he↓p be↓ow
<standard volume ls help>
rexray volume ls -l debug
The relevant lines appear to be
time="2018-04-04T21:47:52+01:00" level=debug msg="loading config" buildType="client+agent+controller" configFileName=rexray globalConfigFileExists=false globalConfigFilePath="/home/vagrant/.rexray/etc/rexray.yml" ignoreExists=false time=1522874872825 userConfigFileExists=false userConfigFilePath="/home/vagrant/.rexray/rexray.yml"
time="2018-04-04T21:47:52+01:00" level=debug msg="cannot find global or user file" buildType="client+agent+controller" configFileName=rexray globalConfigFileExists=false globalConfigFilePath="/home/vagrant/.rexray/etc/rexray.yml" ignoreExists=false time=1522874872825 userConfigFileExists=false userConfigFilePath="/home/vagrant/.rexray/rexray.yml"
time="2018-04-04T21:47:52+01:00" level=debug msg="loading config" buildType="client+agent+controller" configFileName=config globalConfigFileExists=false globalConfigFilePath="/home/vagrant/.rexray/etc/config.yml" ignoreExists=true time=1522874872825 userConfigFileExists=false userConfigFilePath="/home/vagrant/.rexray/config.yml"
time="2018-04-04T21:47:52+01:00" level=debug msg="disabled config file exist check" buildType="client+agent+controller" configFileName=config globalConfigFileExists=false globalConfigFilePath="/home/vagrant/.rexray/etc/config.yml" ignoreExists=true time=1522874872825 userConfigFileExists=false userConfigFilePath="/home/vagrant/.rexray/config.yml"
time="2018-04-04T21:47:52+01:00" level=debug msg="created new config" buildType="client+agent+controller" configFileName=config globalConfigFileExists=false globalConfigFilePath="/home/vagrant/.rexray/etc/config.yml" ignoreExists=true time=1522874872825 userConfigFileExists=false userConfigFilePath="/home/vagrant/.rexray/config.yml"
where it is looking under ~vagrant for both the user and global config files.
After copying /etc/rexray/config to ~/.rexray/etc, rexray volume ls -l debug
Host OS probably is not relevant, but it is a Mac running OS X El Capitan, 10.11.6.
Metadata
Metadata
Assignees
Labels
No labels