Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Cannot mount a pcs container and a Hubic account on the same host (Linux) #155

Open
ragefan opened this issue Jan 10, 2018 · 1 comment
Open

Comments

@ragefan
Copy link

ragefan commented Jan 10, 2018

Context

  • svfs version : 0.91
  • storage provider : OVH
  • product : pcs & Hubic

Steps to reproduce this issue :

  1. create an openrc file with all necessary env to mount a pcs and hubic (Both OS_* variables and HUBIC* ones)
  2. mount Hubic : mount -t svfs -o container=default hubic /mnt/Hubic
  3. mount pcs : mount -t svfs -o username=$OS_USERNAME,password=$OS_PASSWORD,tenant=$OS_TENANT_NAME,region=$OS_REGION_NAME,attr pcs /mnt/test

Results you expected :

Both mounts can be listed OK

Results you observed :

Listing the pcs mount actually show the root of the Hubic one !
The reproduction is systematic

Debug log :

mount -t svfs -o username=$OS_USERNAME,password=$OS_PASSWORD,tenant=$OS_TENANT_NAME,region=$OS_REGION_NAME,attr,debug=true pcs /mnt/test
root@vps132518:~# DEBU[2018-01-10T22:36:59+01:00] Skipping configuration : open : no such file or directory source=svfs

Additional information :

@ragefan
Copy link
Author

ragefan commented Jan 10, 2018

The problem seems to come from the env variables. When both OS_* and HUBIC_* are set, the pcs mount fails and is pointing to the swift root of the Hubic one.

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

No branches or pull requests

1 participant