Skip to content

Custom Endpoints prevent mount with HNS enabled #3705

@ivopatty

Description

@ivopatty

Describe the issue
The hidden flag --enable-hns for Hierarchical Namespace support in combination with the specification of a Custom Endpoint for PSC usage prevents bucket mounting

System & Version (please complete the following information):

  • OS: RHEL8/Fedora
  • Platform: vSphere VM & Fedora Docker Image
  • Version 3.2.0

Steps to reproduce the behavior with following information:
**Note: ** This describes the full use-case tested, in validation of the issue, specifying the default url of https://storage.googleapis.com/storage/v1 also reproduces the issue through public internet

  1. Have a GCS Bucket with HNS disabled
  2. Enable Private Service Connect to retrieve a PSC URL and have it linked through CloudVPN
  3. Get a Service Account with JSON key for authentication
  4. Configure GCS Fuse with the flags: gcsfuse --implicit-dirs --allow_other --key-file=/path/to/key --custom-endpoint=storage.p.googleapis.com/storage/v1/
  5. FUSE mount fails

Additional context
Setting the hidden flag --enable-hns explicitly to false resolves the issue.

Error logging during the mount process

{"timestamp":{"seconds":1755588312,"nanos":565522854},"severity":"INFO","message":"Error occurred during command execution on gcsfuse/3.2.0 (Go version go1.24.5): mountWithStorageHandle: fs.NewServer: create file system: SetUpBucket: BucketHandle: storageLayout call failed: context deadline exceeded"}
{"timestamp":{"seconds":1755588361,"nanos":830359596},"severity":"ERROR","message":"Error while mounting gcsfuse: mountWithStorageHandle: fs.NewServer: create file system: SetUpBucket: BucketHandle: storageLayout call failed: context deadline exceeded\n"}
{"timestamp":{"seconds":1755588361,"nanos":830620850},"severity":"ERROR","message":"Failed to signal error to parent-process from daemon: write DAEMONIZE_STATUS_FD: broken pipe"}
{"timestamp":{"seconds":1755588361,"nanos":830701166},"severity":"INFO","message":"Error occurred during command execution on gcsfuse/3.2.0 (Go version go1.24.5): mountWithStorageHandle: fs.NewServer: create file system: SetUpBucket: BucketHandle: storageLayout call failed: context deadline exceeded"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    p2P2questionCustomer Issue: question about how to use tool

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions