Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config file is created in /etc/rexray but rexray looks in ~vagrant/.rexray/etc/ #3

Open
udalrich opened this issue Apr 4, 2018 · 0 comments

Comments

@udalrich
Copy link

udalrich commented Apr 4, 2018

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

rexray.volume.crash.txt

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

rexray.volume.txt

Host OS probably is not relevant, but it is a Mac running OS X El Capitan, 10.11.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant