cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilak Raj Singh <tila...@gmail.com>
Subject Fwd: [GSOC] Setting up multiple devcloud host in cloudstack dev environment
Date Tue, 24 Mar 2015 00:50:58 GMT
---------- Forwarded message ----------
From: Tilak Raj Singh <tilak72@gmail.com>
Date: Mon, Mar 23, 2015 at 2:02 PM
Subject: Re: [GSOC] Setting up multiple devcloud host in cloudstack dev
environment
To: Pierre-Luc Dion <pdion@cloudops.com>


Thanks Dion for your insights. I tried the new git repository you told
about. I am still struggling to get the environment setup. I installed
virtualbox, chef and vagrant and cloned the repository. configured three
host only networks with dhcp disabled
vboxnet1 192.168.22.1
vboxnet2 192.168.23.1
vboxnet3 192.168.24.1

ran vagrant_prep.sh successfully.

Now when I cd into binary_installation_binary directory and do "vagrant up"
I get the following error

==> xenserver: Clearing any previously set network interfaces...
==> xenserver: Preparing network interfaces based on configuration...
    xenserver: Adapter 1: nat
    xenserver: Adapter 2: hostonly
==> xenserver: Forwarding ports...
    xenserver: 22 => 2222 (adapter 1)
==> xenserver: Running 'pre-boot' VM customizations...
==> xenserver: Booting VM...
==> xenserver: Waiting for machine to boot. This may take a few minutes...
    xenserver: SSH address: 127.0.0.1:2222
    xenserver: SSH username: vagrant
    xenserver: SSH auth method: private key
    xenserver: Warning: Connection timeout. Retrying...
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.

If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.

If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.

If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.

The system is not able to ssh into the vm created. Can you help me figure
this issue out

Regards


On Sun, Mar 22, 2015 at 7:07 PM, Pierre-Luc Dion <pdion@cloudops.com> wrote:

> Tilak,
>
> Take a look at devcloud4 from Ian Duffy[1], it use vagrant + virtualbox to
> setup a nice test env locally. You might be able to run multiple instance
> of the cloudstack management-server into VMs. devcloud4 does not use the
> simulator as managed hypervisor, it deploy a XenServer VM, so it might help
> validating few tests where your 2 management-servers will interact to same
> hosts.
>
>
> [1] https://github.com/imduffy15/devcloud4
>
> Good luck,
>
>
> On Sun, Mar 22, 2015 at 7:18 AM, Daan Hoogland <daan.hoogland@gmail.com>
> wrote:
>
>> Tilak,
>>
>> I am cross posting your question as it is more on topic in the dev
>> list. Rohit's age is a good starting point. it is my experience that
>> every body will encounter their own problems in setting up a good
>> environment and needs further support. In your case the dual host
>> environment is a bit of a challange, though it has been set up by
>> several people. It could be convenient to set it up as remote hosts
>> instead of a devcloud vm. It should work though.
>>
>> Good travels and don't hasitate to ask for support,
>>
>> On Fri, Mar 20, 2015 at 9:15 PM, Tilak Raj Singh <tilak72@gmail.com>
>> wrote:
>> > Hi can anyone please help me here??
>> >
>> > On Fri, Mar 20, 2015 at 4:18 AM, Tilak Raj Singh <tilak72@gmail.com>
>> wrote:
>> >
>> >> Hello All,
>> >>
>> >> I am trying to setup the cloudstack developement environment on my
>> ubuntu
>> >> 12.04 64bit machine. I have successfully setup the management server
>> >> locally on my machine using the docs [1]. As I am going to start work
>> on
>> >> the issue CLOUDSTACK-8266
>> >> <https://issues.apache.org/jira/browse/CLOUDSTACK-8266> [2] I need
to
>> >> setup atleast two host on my management server. I am trying to setup
>> two
>> >> devcloud hosts for the same. Can anybody guide me how to add them.
>> Should I
>> >> follow this guide [3] to setup first devcloud resources to my
>> management
>> >> server and then manually add the other devcloud host ip into the hosts
>> >> section of cloudstack or should I edit devcloud.cfg file to add an
>> entry
>> >> for the ip, username and password for the second devcloud host and it
>> would
>> >> work?
>> >>
>> >> If I am wrong can please somebody help me figure out the correct
>> method to
>> >> do the same.
>> >>
>> >> Regards
>> >>
>> >> [1]
>> >>
>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment+on+Linux
>> >>
>> >> [2] https://issues.apache.org/jira/browse/CLOUDSTACK-8266
>> >>
>> >> [3] http://bhaisaab.org/logs/devcloud/
>> >>
>>
>>
>>
>> --
>> Daan
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message