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

I set this up on a non live server. #2197

Open
METANOVA-241 opened this issue Jul 22, 2024 · 1 comment
Open

I set this up on a non live server. #2197

METANOVA-241 opened this issue Jul 22, 2024 · 1 comment

Comments

@METANOVA-241
Copy link

          I set this up on a non live server.

fstab file:
LABEL=cloudimg-rootfs / ext4 defaults 0 1
LABEL=UEFI /boot/efi vfat umask=0077 0 1

ctwebcust-test-prwdr /var/www/html/prwdr gcsfuse rw,allow_other,file_mode=777,dir_mode=777,implicit_dirs,debug_gcs,debug_fs,debug_fuse,log_file=/var/log/fuse.log,key_file=/usr/key.json

Log after reboot: (does not get mounted) - just seems to stop
{"name":"root","levelname":"INFO","severity":"INFO","message":"Start gcsfuse/0.42.3 (Go version go1.19.5) for app "" using mount point: /var/www/html/prwdr\n","timestampSeconds":1681132871,"timestampNanos":809785695}
{"name":"root","levelname":"INFO","severity":"INFO","message":"Opening GCS connection...\n","timestampSeconds":1681132871,"timestampNanos":809927336}
{"name":"root","levelname":"INFO","severity":"INFO","message":"Creating a mount at "/var/www/html/prwdr"\n","timestampSeconds":1681132871,"timestampNanos":869427943}
{"name":"root","levelname":"INFO","severity":"INFO","message":"Creating a new server...\n","timestampSeconds":1681132871,"timestampNanos":869474692}
{"name":"root","levelname":"INFO","severity":"INFO","message":"Set up root directory for bucket ctwebcust-test-prwdr\n","timestampSeconds":1681132871,"timestampNanos":869503712}
{"name":"root","levelname":"DEBUG","severity":"DEBUG","message":"gcs: Req 0x0: \u003c- ListObjects("")\n","timestampSeconds":1681132871,"timestampNanos":869520903}

Returned after a manual sudo mount -a
{"name":"root","levelname":"INFO","severity":"INFO","message":"Start gcsfuse/0.42.3 (Go version go1.19.5) for app "" using mount point: /var/www/html/prwdr\n","timestampSeconds":1681132871,"timestampNanos":809785695}
{"name":"root","levelname":"INFO","severity":"INFO","message":"Opening GCS connection...\n","timestampSeconds":1681132871,"timestampNanos":809927336}
{"name":"root","levelname":"INFO","severity":"INFO","message":"Creating a mount at "/var/www/html/prwdr"\n","timestampSeconds":1681132871,"timestampNanos":869427943}
{"name":"root","levelname":"INFO","severity":"INFO","message":"Creating a new server...\n","timestampSeconds":1681132871,"timestampNanos":869474692}
{"name":"root","levelname":"INFO","severity":"INFO","message":"Set up root directory for bucket ctwebcust-test-prwdr\n","timestampSeconds":1681132871,"timestampNanos":869503712}
{"name":"root","levelname":"DEBUG","severity":"DEBUG","message":"gcs: Req 0x0: \u003c- ListObjects("")\n","timestampSeconds":1681132871,"timestampNanos":869520903}
{"name":"root","levelname":"INFO","severity":"INFO","message":"Start gcsfuse/0.42.3 (Go version go1.19.5) for app "" using mount point: /var/www/html/prwdr\n","timestampSeconds":1681133139,"timestampNanos":58349370}
{"name":"root","levelname":"INFO","severity":"INFO","message":"Opening GCS connection...\n","timestampSeconds":1681133139,"timestampNanos":58632200}
{"name":"root","levelname":"INFO","severity":"INFO","message":"Creating a mount at "/var/www/html/prwdr"\n","timestampSeconds":1681133139,"timestampNanos":118089066}
{"name":"root","levelname":"INFO","severity":"INFO","message":"Creating a new server...\n","timestampSeconds":1681133139,"timestampNanos":118186606}
{"name":"root","levelname":"INFO","severity":"INFO","message":"Set up root directory for bucket ctwebcust-test-prwdr\n","timestampSeconds":1681133139,"timestampNanos":121399457}
{"name":"root","levelname":"DEBUG","severity":"DEBUG","message":"gcs: Req 0x0: \u003c- ListObjects("")\n","timestampSeconds":1681133139,"timestampNanos":121569027}
{"name":"root","levelname":"DEBUG","severity":"DEBUG","message":"gcs: Req 0x0: -\u003e ListObjects("") (139.9024ms): OK\n","timestampSeconds":1681133139,"timestampNanos":261479107}
{"name":"root","levelname":"INFO","severity":"INFO","message":"Mounting file system "ctwebcust-test-prwdr"...\n","timestampSeconds":1681133139,"timestampNanos":261928837}
{"name":"root","levelname":"DEBUG","severity":"DEBUG","message":"fuse_debug: Beginning the mounting kickoff process\n","timestampSeconds":1681133139,"timestampNanos":262078687}
{"name":"root","levelname":"DEBUG","severity":"DEBUG","message":"fuse_debug: Parsing fuse file descriptor\n","timestampSeconds":1681133139,"timestampNanos":262092637}
{"name":"root","levelname":"DEBUG","severity":"DEBUG","message":"fuse_debug: Preparing for direct mounting\n","timestampSeconds":1681133139,"timestampNanos":262134047}
{"name":"root","levelname":"DEBUG","severity":"DEBUG","message":"fuse_debug: Successfully opened the /dev/fuse in blocking mode\n","timestampSeconds":1681133139,"timestampNanos":262167557}
{"name":"root","levelname":"DEBUG","severity":"DEBUG","message":"fuse_debug: Starting the unix mounting\n","timestampSeconds":1681133139,"timestampNanos":262204567}
{"name":"root","levelname":"DEBUG","severity":"DEBUG","message":"fuse_debug: Unix mounting completed successfully\n","timestampSeconds":1681133139,"timestampNanos":265095568}
{"name":"root","levelname":"DEBUG","severity":"DEBUG","message":"fuse_debug: Completed the mounting kickoff process\n","timestampSeconds":1681133139,"timestampNanos":265113558}
{"name":"root","levelname":"DEBUG","severity":"DEBUG","message":"fuse_debug: Creating a connection object\n","timestampSeconds":1681133139,"timestampNanos":265121418}
{"name":"root","levelname":"DEBUG","severity":"DEBUG","message":"fuse_debug: Op 0x00000002 connection.go:416] \u003c- init\n","timestampSeconds":1681133139,"timestampNanos":277011133}
{"name":"root","levelname":"DEBUG","severity":"DEBUG","message":"fuse_debug: Op 0x00000002 connection.go:498] -\u003e OK ()\n","timestampSeconds":1681133139,"timestampNanos":277085693}
{"name":"root","levelname":"DEBUG","severity":"DEBUG","message":"fuse_debug: Successfully created the connection\n","timestampSeconds":1681133139,"timestampNanos":277159034}
{"name":"root","levelname":"DEBUG","severity":"DEBUG","message":"fuse_debug: Waiting for mounting process to complete\n","timestampSeconds":1681133139,"timestampNanos":277173954}
{"name":"root","levelname":"INFO","severity":"INFO","message":"File system has been successfully mounted.\n","timestampSeconds":1681133139,"timestampNanos":277180583}

THANKS

Originally posted by @gcontois in #1043 (comment)

@Tulsishah
Copy link
Collaborator

Hi @METANOVA-241,

By "non-live server," do you mean a server without internet access? If so, then it won't work without internet access. If not, could you please run GCSFuse with the latest version and share the latest logs?

Thanks,
Tulsi Shah

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

2 participants