voxpupuli / puppet-gluster

Create and manage Gluster pools, volumes, and mounts
https://forge.puppet.com/puppet/gluster
MIT License
16 stars 72 forks source link

Systemd start for glusterd failed! #200

Open HTechHQ opened 5 years ago

HTechHQ commented 5 years ago

Affected Puppet, Ruby, OS and module versions/distributions

How to reproduce (e.g Puppet code you use)

I am basically running the example 02_simple, just adapted it to my node names

What are you seeing

Error: Systemd start for glusterd failed!
journalctl log for glusterd:
-- No entries --

Error: /Stage[main]/Gluster::Service/Service[glusterd]/ensure: change from stopped to running failed: Systemd start for glusterd failed!
journalctl log for glusterd:
-- No entries --

What behaviour did you expect instead

I would expect the example to pass and the file system to come up. Because of the error message I don't know what to try any more. Please help me out, if I missed something or you need more info for debugging. Firewall settings ect. seam all to be fine. I can execute gluster commands manually and create a volume by hand.

Output log

Error: Systemd start for glusterd failed!
journalctl log for glusterd:
-- No entries --

Error: /Stage[main]/Gluster::Service/Service[glusterd]/ensure: change from stopped to running failed: Systemd start for glusterd failed!
journalctl log for glusterd:
-- No entries --

Notice: /Stage[main]/Main/Node[__node_regexp__swarm-node-01-9]/Gluster::Volume[gvol0]/Exec[gluster create volume gvol0]: Dependency Service[glusterd] has failures: true
Warning: /Stage[main]/Main/Node[__node_regexp__swarm-node-01-9]/Gluster::Volume[gvol0]/Exec[gluster create volume gvol0]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Node[__node_regexp__swarm-node-01-9]/Gluster::Volume[gvol0]/Gluster::Volume::Option[gvol0:nfs.disable]/Exec[gluster option gvol0 nfs.disable true]: Dependency Service[glusterd] has failures: true
Warning: /Stage[main]/Main/Node[__node_regexp__swarm-node-01-9]/Gluster::Volume[gvol0]/Gluster::Volume::Option[gvol0:nfs.disable]/Exec[gluster option gvol0 nfs.disable true]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Node[__node_regexp__swarm-node-01-9]/Gluster::Volume[gvol0]/Exec[gluster start volume gvol0]: Dependency Service[glusterd] has failures: true
Warning: /Stage[main]/Main/Node[__node_regexp__swarm-node-01-9]/Gluster::Volume[gvol0]/Exec[gluster start volume gvol0]: Skipping because of failed dependencies

Any additional information you'd like to impart

maxadamo commented 11 months ago

@HTechHQ is this still happening? As I see, Gluster could not run those commands if the service is down and it makes sense to me to have such dependency. How can you tell puppet to ignore the status of the service? We could implement a try and except mechanism, or other methods, but would it make sense, to let Puppet complete, and leave your service down? I think it's even better to see that puppet is failing (maybe from your monitoring, or from Puppetboard). The way around you believe that everything is fine.

But please correct me if I am misunderstanding your request.