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

Failed to remount bricks after glusterd2 container restart #1277

Closed
Madhu-1 opened this issue Oct 12, 2018 · 3 comments
Closed

Failed to remount bricks after glusterd2 container restart #1277

Madhu-1 opened this issue Oct 12, 2018 · 3 comments
Labels

Comments

@Madhu-1
Copy link
Member

Madhu-1 commented Oct 12, 2018

Observed behavior

after restarting the glusterd2 container, if we don't persist bricks path in /var/run/glusterd2, bricks won't come up automatically

Expected/desired behavior

glusterd2 bricks path should get created automatically even if the bricks path are not present

Details on how to reproduce (minimal and precise)

More info gcs issue

Information about the environment:

  • Glusterd2 version used (e.g. v4.1.0 or master): master
  • Operating system used:
  • Glusterd2 compiled from sources, as a package (rpm/deb), or container: container
  • Using External ETCD: (yes/no, if yes ETCD version): yes
  • If container, which container image: latest
  • Using kubernetes, openshift, or direct install: kubernetes
  • If kubernetes/openshift, is gluster running inside kubernetes/openshift or outside: inside kubernetes

Other useful information

  • glusterd2 config files from all nodes (default /etc/glusterd2/glusterd2.toml)
  • glusterd2 log files from all nodes (default /var/log/glusterd2/glusterd2.log)
  • ETCD configuration
  • Contents of uuid.toml from all nodes (default /var/lib/glusterd2/uuid.toml)
  • Output of statedump from any one of the node

Useful commands

  • To get glusterd2 version
    glusterd2 --version
    
  • To get ETCD version
    etcd --version
    
  • To get output of statedump
    curl http://glusterd2-IP:glusterd2-Port/statedump
    
@Madhu-1
Copy link
Member Author

Madhu-1 commented Oct 12, 2018

@aravindavk PTAL

@Madhu-1 Madhu-1 changed the title Failed to remount bricks after glsuterd2 container restart Failed to remount bricks after glusterd2 container restart Oct 12, 2018
@aravindavk
Copy link
Member

RCA: During Volume create, it creates the target mount directory and mounts the brick. But during glusterd start, mount is tried without creating the mount directory.

@aravindavk
Copy link
Member

With the PR #1053 brick directory is created before mounting the brick. Closing this issue. Please reopen if this issue happens again.

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

No branches or pull requests

2 participants