You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Ricky Keele <rj...@digitalipvoice.com> on 2014/10/29 18:42:02 UTC

Install

Hello,

I have tried to install Cloudstack about 20 times now and still having 
issues. It seems that either I have lost my ability to follow directions 
or some of the directions are missing.

I have 3 servers setup: All running CentOS 6.5
1 for Cloudstack-management eth0 192.168.44.1 eth1 192.168.2.21
1 for KVM hypervisor cloudbr0 192.168.44.2 cloudbr1 192.168.2.22
1 for NFS storage. eth0 192.168.44.3 eth1 192.168.2.23
Cisco 7606 switch using vlan trunks

each server has 4 nics.

I have tried about every different way to do the install. I get the 
management server running with no problem. I get the KVM HV running with 
no issues. I have the NFS storage server with 2 shares /mnt/primary and 
/mnt/secondary.

I have created cloudbr0 for eth0 and cloudbr1 for eth1 on the HV and 
when I install the cloudstack-agent it also creates a virbr0 with a 
192.168.122.1 IP address.

I have created advanced network in zone with private,management, and 
guest using cloudbr0. I have created cloudbr1 on eth1 for storage. Each 
server has connectivity.

I have also mounted /mnt/primary and /mnt/secondary from the KVM host.
I seeded the template from management server and after that removed the 
monut for /mnt/secondary.

When i add the zone, pod, and cluster all goes well.

The issue is trying to add the storage. I cannot add primary storage. I 
have tried after adding host. The secondary seems to do okay.

My questions are: Is there some step that I am missing for the 
CloudbrX's, storage, some file that needs to be adjusted. Primirary 
storage fails and SSVM and CPVM never get created.

Any help would be appreciated.

Sorry for this being so long.

Ricky
-- 
Ricky Keele digital IP voice, Inc M:206-639-1376

Re: Install

Posted by Sam Ceylani <sa...@mistercertified.com>.
remove that mount from hv please

Sent from my iPhone

> On Oct 29, 2014, at 3:09 PM, Ricky Keele <rj...@digitalipvoice.com> wrote:
> 
> Primary storage is not ready, wait until it is ready to launch secondary storage vm. dcId: 2 system.vm.use.local.storage: falseIf you want to use local storage to start ssvm, need to set system.vm.use.local.storage to true
> 2014-10-29 14:07:37,827 DEBUG [o.a.c.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-9479edd8) Zone 2 is not ready to launch secondary storage VM yet
> 
> This is my log from management server.
> 
> Ricky
>> On 10/29/2014 2:03 PM, Ricky Keele wrote:
>> I have setup separate primary storage on same server but used different IP subnet.
>> 
>> 192.168.44.3 is eth0 on storage server
>> and eth1 is 192.168.2.23
>> 
>> when i add the secondary no issues but the primary fails to add each time.
>> 
>> Both are mounted from HV.
>> 
>> Ricky
>>> On 10/29/2014 1:29 PM, Sam Ceylani wrote:
>>> you cant because host is where your system vm runs on
>>> 
>>> Sent from my iPhone
>>> 
>>>> On Oct 29, 2014, at 2:27 PM, Ricky Keele <rj...@digitalipvoice.com> wrote:
>>>> 
>>>> Should the system VM's be running before host is added?
>>>> 
>>>> Ricky
>>>>> On 10/29/2014 1:24 PM, Sam Ceylani wrote:
>>>>> will not make any difference
>>>>> 
>>>>> Sent from my iPhone
>>>>> 
>>>>>> On Oct 29, 2014, at 2:22 PM, Ricky Keele <rj...@digitalipvoice.com> wrote:
>>>>>> 
>>>>>> Should I leave the secondary storage mounted after the template is completed?
>>>>>> 
>>>>>> Ricky
>>>>>>> On 10/29/2014 1:00 PM, Sam Ceylani wrote:
>>>>>>> There is a clean up process for a new install of cloudstack especially dropping cloud database and running database creation script for creating it again, it is typical for SSVM to show up for few seconds and shutdown (cycle) if your template is not in place properly, basically creating vm, booting, trying to image the hard drive of SSVM from template and finds nothing or has a problem downloading it from secondary storage and shuts down. You may have to send us management server log under /var/log/ to see at what stage it is failing,
>>>>>> -- 
>>>>>> Ricky Keele digital IP voice, Inc M:206-639-1376
>>>> -- 
>>>> Ricky Keele digital IP voice, Inc M:206-639-1376
> 
> -- 
> Ricky Keele digital IP voice, Inc M:206-639-1376

Re: Install

Posted by Ricky Keele <rj...@digitalipvoice.com>.
Primary storage is not ready, wait until it is ready to launch secondary 
storage vm. dcId: 2 system.vm.use.local.storage: falseIf you want to use 
local storage to start ssvm, need to set system.vm.use.local.storage to true
2014-10-29 14:07:37,827 DEBUG [o.a.c.s.SecondaryStorageManagerImpl] 
(secstorage-1:ctx-9479edd8) Zone 2 is not ready to launch secondary 
storage VM yet

This is my log from management server.

Ricky
On 10/29/2014 2:03 PM, Ricky Keele wrote:
> I have setup separate primary storage on same server but used 
> different IP subnet.
>
> 192.168.44.3 is eth0 on storage server
> and eth1 is 192.168.2.23
>
> when i add the secondary no issues but the primary fails to add each 
> time.
>
> Both are mounted from HV.
>
> Ricky
> On 10/29/2014 1:29 PM, Sam Ceylani wrote:
>> you cant because host is where your system vm runs on
>>
>> Sent from my iPhone
>>
>>> On Oct 29, 2014, at 2:27 PM, Ricky Keele 
>>> <rj...@digitalipvoice.com> wrote:
>>>
>>> Should the system VM's be running before host is added?
>>>
>>> Ricky
>>>> On 10/29/2014 1:24 PM, Sam Ceylani wrote:
>>>> will not make any difference
>>>>
>>>> Sent from my iPhone
>>>>
>>>>> On Oct 29, 2014, at 2:22 PM, Ricky Keele 
>>>>> <rj...@digitalipvoice.com> wrote:
>>>>>
>>>>> Should I leave the secondary storage mounted after the template is 
>>>>> completed?
>>>>>
>>>>> Ricky
>>>>>> On 10/29/2014 1:00 PM, Sam Ceylani wrote:
>>>>>> There is a clean up process for a new install of cloudstack 
>>>>>> especially dropping cloud database and running database creation 
>>>>>> script for creating it again, it is typical for SSVM to show up 
>>>>>> for few seconds and shutdown (cycle) if your template is not in 
>>>>>> place properly, basically creating vm, booting, trying to image 
>>>>>> the hard drive of SSVM from template and finds nothing or has a 
>>>>>> problem downloading it from secondary storage and shuts down. You 
>>>>>> may have to send us management server log under /var/log/ to see 
>>>>>> at what stage it is failing,
>>>>> -- 
>>>>> Ricky Keele digital IP voice, Inc M:206-639-1376
>>> -- 
>>> Ricky Keele digital IP voice, Inc M:206-639-1376
>

-- 
Ricky Keele digital IP voice, Inc M:206-639-1376

Re: Install

Posted by Ricky Keele <rj...@digitalipvoice.com>.
I have setup separate primary storage on same server but used different 
IP subnet.

192.168.44.3 is eth0 on storage server
and eth1 is 192.168.2.23

when i add the secondary no issues but the primary fails to add each time.

Both are mounted from HV.

Ricky
On 10/29/2014 1:29 PM, Sam Ceylani wrote:
> you cant because host is where your system vm runs on
>
> Sent from my iPhone
>
>> On Oct 29, 2014, at 2:27 PM, Ricky Keele <rj...@digitalipvoice.com> wrote:
>>
>> Should the system VM's be running before host is added?
>>
>> Ricky
>>> On 10/29/2014 1:24 PM, Sam Ceylani wrote:
>>> will not make any difference
>>>
>>> Sent from my iPhone
>>>
>>>> On Oct 29, 2014, at 2:22 PM, Ricky Keele <rj...@digitalipvoice.com> wrote:
>>>>
>>>> Should I leave the secondary storage mounted after the template is completed?
>>>>
>>>> Ricky
>>>>> On 10/29/2014 1:00 PM, Sam Ceylani wrote:
>>>>> There is a clean up process for a new install of cloudstack especially dropping cloud database and running database creation script for creating it again, it is typical for SSVM to show up for few seconds and shutdown (cycle) if your template is not in place properly, basically creating vm, booting, trying to image the hard drive of SSVM from template and finds nothing or has a problem downloading it from secondary storage and shuts down. You may have to send us management server log under /var/log/ to see at what stage it is failing,
>>>> -- 
>>>> Ricky Keele digital IP voice, Inc M:206-639-1376
>> -- 
>> Ricky Keele digital IP voice, Inc M:206-639-1376

-- 
Ricky Keele digital IP voice, Inc M:206-639-1376

Re: Install

Posted by Sam Ceylani <sa...@mistercertified.com>.
you cant because host is where your system vm runs on

Sent from my iPhone

> On Oct 29, 2014, at 2:27 PM, Ricky Keele <rj...@digitalipvoice.com> wrote:
> 
> Should the system VM's be running before host is added?
> 
> Ricky
>> On 10/29/2014 1:24 PM, Sam Ceylani wrote:
>> will not make any difference
>> 
>> Sent from my iPhone
>> 
>>> On Oct 29, 2014, at 2:22 PM, Ricky Keele <rj...@digitalipvoice.com> wrote:
>>> 
>>> Should I leave the secondary storage mounted after the template is completed?
>>> 
>>> Ricky
>>>> On 10/29/2014 1:00 PM, Sam Ceylani wrote:
>>>> There is a clean up process for a new install of cloudstack especially dropping cloud database and running database creation script for creating it again, it is typical for SSVM to show up for few seconds and shutdown (cycle) if your template is not in place properly, basically creating vm, booting, trying to image the hard drive of SSVM from template and finds nothing or has a problem downloading it from secondary storage and shuts down. You may have to send us management server log under /var/log/ to see at what stage it is failing,
>>> -- 
>>> Ricky Keele digital IP voice, Inc M:206-639-1376
> 
> -- 
> Ricky Keele digital IP voice, Inc M:206-639-1376

Re: Install

Posted by Ricky Keele <rj...@digitalipvoice.com>.
Should the system VM's be running before host is added?

Ricky
On 10/29/2014 1:24 PM, Sam Ceylani wrote:
> will not make any difference
>
> Sent from my iPhone
>
>> On Oct 29, 2014, at 2:22 PM, Ricky Keele <rj...@digitalipvoice.com> wrote:
>>
>> Should I leave the secondary storage mounted after the template is completed?
>>
>> Ricky
>>> On 10/29/2014 1:00 PM, Sam Ceylani wrote:
>>> There is a clean up process for a new install of cloudstack especially dropping cloud database and running database creation script for creating it again, it is typical for SSVM to show up for few seconds and shutdown (cycle) if your template is not in place properly, basically creating vm, booting, trying to image the hard drive of SSVM from template and finds nothing or has a problem downloading it from secondary storage and shuts down. You may have to send us management server log under /var/log/ to see at what stage it is failing,
>> -- 
>> Ricky Keele digital IP voice, Inc M:206-639-1376

-- 
Ricky Keele digital IP voice, Inc M:206-639-1376

Re: Install

Posted by Sam Ceylani <sa...@mistercertified.com>.
will not make any difference

Sent from my iPhone

> On Oct 29, 2014, at 2:22 PM, Ricky Keele <rj...@digitalipvoice.com> wrote:
> 
> Should I leave the secondary storage mounted after the template is completed?
> 
> Ricky
>> On 10/29/2014 1:00 PM, Sam Ceylani wrote:
>> There is a clean up process for a new install of cloudstack especially dropping cloud database and running database creation script for creating it again, it is typical for SSVM to show up for few seconds and shutdown (cycle) if your template is not in place properly, basically creating vm, booting, trying to image the hard drive of SSVM from template and finds nothing or has a problem downloading it from secondary storage and shuts down. You may have to send us management server log under /var/log/ to see at what stage it is failing,
> 
> -- 
> Ricky Keele digital IP voice, Inc M:206-639-1376

Re: Install

Posted by Ricky Keele <rj...@digitalipvoice.com>.
Should I leave the secondary storage mounted after the template is 
completed?

Ricky
On 10/29/2014 1:00 PM, Sam Ceylani wrote:
> There is a clean up process for a new install of cloudstack especially dropping cloud database and running database creation script for creating it again, it is typical for SSVM to show up for few seconds and shutdown (cycle) if your template is not in place properly, basically creating vm, booting, trying to image the hard drive of SSVM from template and finds nothing or has a problem downloading it from secondary storage and shuts down. You may have to send us management server log under /var/log/ to see at what stage it is failing,

-- 
Ricky Keele digital IP voice, Inc M:206-639-1376

Re: Install

Posted by Sam Ceylani <sa...@mistercertified.com>.
template is used for imaging system vm

Sent from my iPhone

> On Oct 29, 2014, at 2:20 PM, Ricky Keele <rj...@digitalipvoice.com> wrote:
> 
> Sam,
> 
> Does the VM install start after adding host or when template is seeded from management server?
> 
> Ricky
>> On 10/29/2014 1:00 PM, Sam Ceylani wrote:
>> There is a clean up process for a new install of cloudstack especially dropping cloud database and running database creation script for creating it again, it is typical for SSVM to show up for few seconds and shutdown (cycle) if your template is not in place properly, basically creating vm, booting, trying to image the hard drive of SSVM from template and finds nothing or has a problem downloading it from secondary storage and shuts down. You may have to send us management server log under /var/log/ to see at what stage it is failing,
> 
> -- 
> Ricky Keele digital IP voice, Inc M:206-639-1376

Re: Install

Posted by Ricky Keele <rj...@digitalipvoice.com>.
Sam,

Does the VM install start after adding host or when template is seeded 
from management server?

Ricky
On 10/29/2014 1:00 PM, Sam Ceylani wrote:
> There is a clean up process for a new install of cloudstack especially dropping cloud database and running database creation script for creating it again, it is typical for SSVM to show up for few seconds and shutdown (cycle) if your template is not in place properly, basically creating vm, booting, trying to image the hard drive of SSVM from template and finds nothing or has a problem downloading it from secondary storage and shuts down. You may have to send us management server log under /var/log/ to see at what stage it is failing,

-- 
Ricky Keele digital IP voice, Inc M:206-639-1376

Re: Install

Posted by Sam Ceylani <sa...@mistercertified.com>.
There is a clean up process for a new install of cloudstack especially dropping cloud database and running database creation script for creating it again, it is typical for SSVM to show up for few seconds and shutdown (cycle) if your template is not in place properly, basically creating vm, booting, trying to image the hard drive of SSVM from template and finds nothing or has a problem downloading it from secondary storage and shuts down. You may have to send us management server log under /var/log/ to see at what stage it is failing, 

Re: Install

Posted by Ricky Keele <rj...@digitalipvoice.com>.
Version 4.4.1

Ricky
On 10/29/2014 12:59 PM, Ian Duffy wrote:
> Hi,
>
> What version of Cloudstack are you attempting to use?
>
> Can you share the logs of your failed installations?
>
> Thanks,
>
> Ian
>

-- 
Ricky Keele digital IP voice, Inc M:206-639-1376

Re: Install

Posted by Ian Duffy <ia...@ianduffy.ie>.
Hi,

What version of Cloudstack are you attempting to use?

Can you share the logs of your failed installations?

Thanks,

Ian

Re: Install

Posted by Ricky Keele <rj...@digitalipvoice.com>.
Yes, I run the template from management server. I did not delete the old 
template before running again does that matter? Another question is does 
the storage have to be already mounted from HV host before I try to add 
to management server?

Ricky
On 10/29/2014 12:45 PM, Sam Ceylani wrote:
> have you run the template download script from management server?
>
> Sent from my iPhone
>
>> On Oct 29, 2014, at 1:42 PM, Ricky Keele <rj...@digitalipvoice.com> wrote:
>>
>> Hello,
>>
>> I have tried to install Cloudstack about 20 times now and still having issues. It seems that either I have lost my ability to follow directions or some of the directions are missing.
>>
>> I have 3 servers setup: All running CentOS 6.5
>> 1 for Cloudstack-management eth0 192.168.44.1 eth1 192.168.2.21
>> 1 for KVM hypervisor cloudbr0 192.168.44.2 cloudbr1 192.168.2.22
>> 1 for NFS storage. eth0 192.168.44.3 eth1 192.168.2.23
>> Cisco 7606 switch using vlan trunks
>>
>> each server has 4 nics.
>>
>> I have tried about every different way to do the install. I get the management server running with no problem. I get the KVM HV running with no issues. I have the NFS storage server with 2 shares /mnt/primary and /mnt/secondary.
>>
>> I have created cloudbr0 for eth0 and cloudbr1 for eth1 on the HV and when I install the cloudstack-agent it also creates a virbr0 with a 192.168.122.1 IP address.
>>
>> I have created advanced network in zone with private,management, and guest using cloudbr0. I have created cloudbr1 on eth1 for storage. Each server has connectivity.
>>
>> I have also mounted /mnt/primary and /mnt/secondary from the KVM host.
>> I seeded the template from management server and after that removed the monut for /mnt/secondary.
>>
>> When i add the zone, pod, and cluster all goes well.
>>
>> The issue is trying to add the storage. I cannot add primary storage. I have tried after adding host. The secondary seems to do okay.
>>
>> My questions are: Is there some step that I am missing for the CloudbrX's, storage, some file that needs to be adjusted. Primirary storage fails and SSVM and CPVM never get created.
>>
>> Any help would be appreciated.
>>
>> Sorry for this being so long.
>>
>> Ricky
>> -- 
>> Ricky Keele digital IP voice, Inc M:206-639-1376

-- 
Ricky Keele digital IP voice, Inc M:206-639-1376

Re: Install

Posted by Sam Ceylani <sa...@mistercertified.com>.
have you run the template download script from management server?

Sent from my iPhone

> On Oct 29, 2014, at 1:42 PM, Ricky Keele <rj...@digitalipvoice.com> wrote:
> 
> Hello,
> 
> I have tried to install Cloudstack about 20 times now and still having issues. It seems that either I have lost my ability to follow directions or some of the directions are missing.
> 
> I have 3 servers setup: All running CentOS 6.5
> 1 for Cloudstack-management eth0 192.168.44.1 eth1 192.168.2.21
> 1 for KVM hypervisor cloudbr0 192.168.44.2 cloudbr1 192.168.2.22
> 1 for NFS storage. eth0 192.168.44.3 eth1 192.168.2.23
> Cisco 7606 switch using vlan trunks
> 
> each server has 4 nics.
> 
> I have tried about every different way to do the install. I get the management server running with no problem. I get the KVM HV running with no issues. I have the NFS storage server with 2 shares /mnt/primary and /mnt/secondary.
> 
> I have created cloudbr0 for eth0 and cloudbr1 for eth1 on the HV and when I install the cloudstack-agent it also creates a virbr0 with a 192.168.122.1 IP address.
> 
> I have created advanced network in zone with private,management, and guest using cloudbr0. I have created cloudbr1 on eth1 for storage. Each server has connectivity.
> 
> I have also mounted /mnt/primary and /mnt/secondary from the KVM host.
> I seeded the template from management server and after that removed the monut for /mnt/secondary.
> 
> When i add the zone, pod, and cluster all goes well.
> 
> The issue is trying to add the storage. I cannot add primary storage. I have tried after adding host. The secondary seems to do okay.
> 
> My questions are: Is there some step that I am missing for the CloudbrX's, storage, some file that needs to be adjusted. Primirary storage fails and SSVM and CPVM never get created.
> 
> Any help would be appreciated.
> 
> Sorry for this being so long.
> 
> Ricky
> -- 
> Ricky Keele digital IP voice, Inc M:206-639-1376