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

Failed to apply topology in the GlusterFS lab #24

Open
johanrobinson opened this issue Oct 10, 2016 · 7 comments
Open

Failed to apply topology in the GlusterFS lab #24

johanrobinson opened this issue Oct 10, 2016 · 7 comments

Comments

@johanrobinson
Copy link

[vagrant@client ~]$ heketi-cli -s http://deploy-heketi-aplo.cloudapps.example.com topology load --json=/home/vagrant/topology.json
Found node 192.168.10.100 on cluster ea5233c7ce5dc284deaa6324ca83e823
Adding device /dev/vdb ... Unable to add device: Unable to execute command on glusterfs-dc-192.168.10.100-1-sghyu: WARNING: lvmetad is running but disabled. Restart lvmetad before enabling it!
Device /dev/vdb not found (or ignored by filtering).

        Adding device /dev/vdc ... Unable to add device: Unable to execute command on glusterfs-dc-192.168.10.100-1-sghyu:   WARNING: lvmetad is running but disabled. Restart lvmetad before enabling it!

Device /dev/vdc not found (or ignored by filtering).

        Adding device /dev/vdd ... Unable to add device: Unable to execute command on glusterfs-dc-192.168.10.100-1-sghyu:   WARNING: lvmetad is running but disabled. Restart lvmetad before enabling it!

Device /dev/vdd not found (or ignored by filtering).

    Found node 192.168.10.101 on cluster ea5233c7ce5dc284deaa6324ca83e823
        Adding device /dev/vdb ... Unable to add device: Unable to execute command on glusterfs-dc-192.168.10.101-1-6jf74:   WARNING: lvmetad is running but disabled. Restart lvmetad before enabling it!

Device /dev/vdb not found (or ignored by filtering).

        Adding device /dev/vdc ... Unable to add device: Unable to execute command on glusterfs-dc-192.168.10.101-1-6jf74:   WARNING: lvmetad is running but disabled. Restart lvmetad before enabling it!

Device /dev/vdc not found (or ignored by filtering).

        Adding device /dev/vdd ... Unable to add device: Unable to execute command on glusterfs-dc-192.168.10.101-1-6jf74:   WARNING: lvmetad is running but disabled. Restart lvmetad before enabling it!

Device /dev/vdd not found (or ignored by filtering).

    Found node 192.168.10.102 on cluster ea5233c7ce5dc284deaa6324ca83e823
        Adding device /dev/vdb ... Unable to add device: Unable to execute command on glusterfs-dc-192.168.10.102-1-70e8j:   WARNING: lvmetad is running but disabled. Restart lvmetad before enabling it!

Device /dev/vdb not found (or ignored by filtering).

        Adding device /dev/vdc ... Unable to add device: Unable to execute command on glusterfs-dc-192.168.10.102-1-70e8j:   WARNING: lvmetad is running but disabled. Restart lvmetad before enabling it!

Device /dev/vdc not found (or ignored by filtering).

        Adding device /dev/vdd ... Unable to add device: Unable to execute command on glusterfs-dc-192.168.10.102-1-70e8j:   WARNING: lvmetad is running but disabled. Restart lvmetad before enabling it!

Device /dev/vdd not found (or ignored by filtering).

The devices /dev/vdb, /dev/vdc, /dev/vdd - doesn't exist on atomic0, atomic1, atomic2 in my setup.
Did I miss something in my setup? Using MBP with virtualbox...

@lpabon
Copy link

lpabon commented Oct 11, 2016

@johanrobinson Hi, this is interesting. Do you mind supplying the following?

  • Topology file
  • Using standalone or openshift vagrant demo deployment?
  • Were any of the files adjusted?

Thanks.

@johanrobinson
Copy link
Author

@lpabon Thanks,

topology.json.gz

I'm using the openshift vagrant demo deployment
No files are adjusted.

//JR

@lpabon
Copy link

lpabon commented Oct 13, 2016

@johanrobinson The vagrant demo already sets everything up for you once the ansible commands are finished deploying. Are you trying to deploy before or after the ansible commands run (which are executed by the up.sh script)?

@johanrobinson
Copy link
Author

@lpabon:
Thanks for trying to help! :-)
I ran everything according to the instructions in this project, deploying everything with vagrant on virtualbox on my MacBookPro. Seems like the vagrant stuff kicked off well and the ansible playbook ran through too without errors.
I never ran the 'up.sh' script manually afterwards as I thought this was invoked by vagrant?

@lpabon
Copy link

lpabon commented Oct 14, 2016

@johanrobinson Cool, so is everything all set?

@johanrobinson
Copy link
Author

@lpabon, no it's not all set. As I said vagrant and Ansible ran through without errors, but then when trying to run the topology load in the lab, it fails according to my first post.

@raghavendra-talur
Copy link
Member

After looking at #23 and this one, I think the centos/atomic-host vagrant box that @johanrobinson has might be pretty old.

Updating the vagrant box by
vagrant box update --box centos/atomic-host
could fix both the issues.

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

3 participants