Bug 1375091
Summary: | Vagrant setup fails undefined method `-' for nil:NilClass (NoMethodError) | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Bhaskarakiran <byarlaga> |
Component: | Container | Assignee: | Sébastien Han <shan> |
Status: | CLOSED NOTABUG | QA Contact: | Anoop <annair> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.0 | CC: | byarlaga, dang, flucifre, hchen, ifont, jim.curtis, mzywusko, pprakash, rcyriac, seb |
Target Milestone: | rc | ||
Target Release: | 2.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-09-21 17:12:28 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1315538, 1371113 |
Description
Bhaskarakiran
2016-09-12 07:32:42 UTC
Did you copy all the files? Like vagrant_variables.yml? I followed the below document for setting up the cluster using vagrant. https://docs.google.com/document/d/1Ef5a_-Yjozy5Ue3C0M7mMQNn6zWZe0-514bhxKwFHI8/edit?ts=576a3d95&pli=1# Did copy the files. Does the command: "vagrant status" return the same error? Vagrant status output: [root@dhcp43-179 ceph-ansible]# vagrant status No usable default provider could be found for your system. Vagrant relies on interactions with 3rd party systems, known as "providers", to provide Vagrant with resources to run development environments. Examples are VirtualBox, VMware, Hyper-V. The easiest solution to this message is to install VirtualBox, which is available for free on all major platforms. If you believe you already have a provider available, make sure it is properly installed and configured. You can see more details about why a particular provider isn't working by forcing usage with `vagrant up --provider=PROVIDER`, which should give you a more specific error message for that particular provider. This looks more to be a documentation i guess. Should we login to a hypervisor and do the vagrant provisioning ?? yes you need to run this command on the same node where you're trying to provision, which provider do you use? Okay. I am using KVM. libvirt. So can you resend the output of the command from the node where you're trying to provision? I suspect this is a setup issue with your vagrant and libvirt provider Will update that shortly. But the documentation has to be modified accordingly else wouldn't know from where to run vagrant. Comment #11 is correct. Error in comment #6 ("No usable default provider could be found for your system") is a Vagrant setup error. This is caused by a missing variable in vagrant_variables.yml.atomic, which is used as a reference and copied into vagrant_variables.yml per the instructions in the doc linked in comment #4. I've created https://github.com/ceph/ceph-ansible/pull/990 to fix this. |