- This topic has 2 replies, 2 voices, and was last updated 2 years, 4 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forums › FABRIC General Questions and Discussion › fablib : No such file or directory: ‘/tmp/fablib/fablib.log’
Hello,
Thanks for the update to the FABlib library. It’s much more convenient that only need to configure Fabric environment once and even more stuff we would like to explore. However, I did come across an issue.
I was able to import the FABlib library and create slice using the updated notebook. Then I got a disconnect error when I re-connect to the JupyterHub, I got the error No such file or directory: '/tmp/fablib/fablib.log'
when I set fablib = fablib_manager()
. I tried to re-run the configure notebook and it still didn’t work. I was wondering if I need to create a fablib.log file.
Here is the information of the fabric_rc:
fabric@jupyter-xai-40clemson-2eedu:~/work/fabric_config$ ls -l
total 16
-rw-r----- 1 fabric users 730 Jul 21 18:39 fabric_rc
-rw-rw---- 1 fabric users 2575 Jul 21 14:13 slice_key
-rw-rw---- 1 fabric users 569 Jul 21 14:13 slice_key.pub
-rw-rw---- 1 fabric users 352 Jul 21 18:35 ssh_config
fabric@jupyter-xai-40clemson-2eedu:~/work/fabric_config$ cat fabric_rc
export FABRIC_CREDMGR_HOST=cm.fabric-testbed.net
export FABRIC_ORCHESTRATOR_HOST=orchestrator.fabric-testbed.net
export FABRIC_PROJECT_ID=b3cffedd-ddb4-43ee-b57d-459b768e14ca
export FABRIC_TOKEN_LOCATION=/home/fabric/work/tokens.json
export FABRIC_BASTION_HOST=bastion-1.fabric-testbed.net
export FABRIC_BASTION_USERNAME=xai_0051546236
export FABRIC_BASTION_KEY_LOCATION=/home/fabric/work/xai-bastion-1
#export FABRIC_BASTION_KEY_PASSPHRASE=
export FABRIC_SLICE_PRIVATE_KEY_FILE=/home/fabric/work/fabric_config/slice_key
export FABRIC_SLICE_PUBLIC_KEY_FILE=/home/fabric/work/fabric_config/slice_key.pub
#export FABRIC_SLICE_PRIVATE_KEY_PASSPHRASE=
export FABRIC_LOG_FILE=/tmp/fablib/fablib.log
export FABRIC_LOG_LEVEL=INFO
Thanks for your help,
Best Regards,
Xusheng
This is a temporary bug from an update we just pushed. Either wait a bit and a fix will be pushed or type “mkdir /tmp/fablib” and it will work for now.
Hello Paul,
That works! Thank you so much.