[Gluster-devel] [Gluster-users] Automatically Deploying GlusterFS with Puppet-Gluster+Vagrant!
Kaushal M
kshlmster at gmail.com
Tue Jan 21 08:38:19 UTC 2014
I tried again and I failed again.
I had to modify your patch for vagrant-cachier as the plugin has been
updated to 0.5.1. After this, I tried to get the puppet vm up and
failed.
I'm using vagrant-1.4 and it appears to have some issues with
vagrant-libvirt and nfs. I commented out a couple of lines in
vagrant-libvirt based on a comment on your first vagrant blog post. I
tried getting the puppet vm up again. This time the domain starts, but
got stuck at "Waiting for domain to get an ip address" and I'm still
stuck.
I did some digging around the code. Found that, vagrant-libvirt uses
fog (ruby cloud services library)[1] to perform some interactions with
libvirt. I'm stuck at the place where vagrant-libvirt is waiting on
fog to obtain the ip address of the vm [2]. Fog requires a setup
involving arpwatch and rsyslog to get the ip of the domain [3]. I did
the setup, but even then fog couldn't get the address. Might be a
problem with the way I performed the setup (the instructions are old
and based on ubuntu, but I use ArchLinux), as the log file which fog
parses remained empty.
Do you have any tips on how I can resolve this problem? In the mean
time, I'll continue digging around and see if I can fix it myself.
~kaushal
[1] - http://fog.io/
[2] - https://github.com/pradels/vagrant-libvirt/blob/master/lib/vagrant-libvirt/action/wait_till_up.rb#L32
[3] - http://jedi.be/blog/2011/09/13/libvirt-fog-provider/
On Thu, Jan 9, 2014 at 1:27 PM, James <purpleidea at gmail.com> wrote:
> I would recommend you read my earlier vagrant related articles. I
> mention that issue in
> http://ttboj.wordpress.com/2013/12/21/vagrant-vsftp-and-other-tricks/
>
> Sadly the author liked the patch, but seems to have been awol since.
> If I don't hear anything shortly, I'll fork it. The patch should be
> easy to apply manually for now.
>
> Thanks for the comments, let me know if you find any other issues.
>
> James
>
> On Thu, Jan 9, 2014 at 2:07 AM, Kaushal M <kshlmster at gmail.com> wrote:
>> vagrant-cachier complains about 'mount_options'. Your patch hasn't
>> been accepted into the upstream vagrant-cachier yet.
>> I'll be better for other users if you could add some steps on applying
>> your patch.
>>
>> ~kaushal
>>
>> On Thu, Jan 9, 2014 at 9:35 AM, James <purpleidea at gmail.com> wrote:
>>> Okay, It's ready for you to try!
>>>
>>> You don't need to know anything about Puppet, and it's easy to follow
>>> along if you're not even comfortable with a shell.
>>>
>>> https://ttboj.wordpress.com/2014/01/08/automatically-deploying-glusterfs-with-puppet-gluster-vagrant/
>>>
>>> This has been quite a large amount of work to "get right", and I hope
>>> you appreciate it! Let me know your experience!
>>>
>>> Special thanks to John Mark, who hooked me up with hosting for the
>>> vagrant base image "box".
>>>
>>> Cheers,
>>>
>>> James
>>> _______________________________________________
>>> Gluster-users mailing list
>>> Gluster-users at gluster.org
>>> http://supercolony.gluster.org/mailman/listinfo/gluster-users
More information about the Gluster-devel
mailing list