You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Ian Young <iy...@ratespecial.com> on 2014/05/07 19:26:03 UTC

new installation--ssvm won't start

I reinstalled my single server CloudStack system yesterday, following the
quick start guide precisely.  The only difference was that I used
/var/primary and /var/secondary instead of /primary and /secondary, because
the /var partition on this machine is very large.  The UI installer reached
the point where it says "Creating system VMs (this may take a while)" but
never finished.  I left it overnight and it still hadn't completed.  This
is typically the step that fails, most of the times I've installed
CloudStack, so I imagine I must be making the same fundamental mistake each
time, and I'd like to know what that is.

I checked management.log and it's in a loop where it creates a secondary
storage VM, fails to start it, destroys it, and tries again.  It says Host
1 is unreachable but I'm using the correct password, SELinux is permissive,
and all the iptables rules are in place.  In what way is it trying to
connect to Host 1?  SSH?  NFS?  Here's a log excerpt of messages related to
the SSVM:

http://pastebin.com/X11A51bh

NFS appears to be functional, since CloudStack automatically mounted the
primary storage.

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3              20G  1.8G   17G  10% /
tmpfs                  32G     0   32G   0% /dev/shm
/dev/sda1             194M   42M  143M  23% /boot
/dev/sda4             1.8T  1.9G  1.7T   1% /var
192.168.100.6:/var/primary
                      1.8T  1.9G  1.7T   1%
/mnt/0594caa2-ceb4-36c6-9b13-0ff149a130af

How can I identify whatever it is that's preventing the SSVM from starting?
 Here is another log excerpt, without any filtering:

http://pastebin.com/XsPGJQik

Re: new installation--ssvm won't start

Posted by Ian Young <iy...@ratespecial.com>.
I was able to complete the installation on Friday.  Two things I did
differently that were not mentioned in the quick start guide were to
disable requiretty in /etc/sudoers and to set up NFSv4 correctly (i.e. set
up a global root directory with fsid=0).  I'm not sure how much impact the
sudoers configuration had on my problem but I'm pretty sure the NFS setup
was the main issue.


On Thu, May 8, 2014 at 5:33 PM, Ian Young <iy...@ratespecial.com> wrote:

> I know this has something to do with idmapd and NFS.  This error keeps
> appearing in /var/log/messages:
> May  8 10:29:54 virthost1 rpc.idmapd[11044]: nss_getpwnam: name '0' does
> not map into domain 'redacted.com'
>
>
> On Thu, May 8, 2014 at 5:20 PM, Ian Young <iy...@ratespecial.com> wrote:
>
>> I wiped the server clean and started over again today.  In the process, I
>> realized that, the previous time, I forgot to uncomment the Domain line in
>> /etc/idmapd.conf.  However, even though I included the step this time, the
>> GUI installer still seems to hang on the final "Creating system VMs" step.
>>  I see two VMs running when I run "virsh list" (the secondary storage VM
>> keeps getting regenerated).  In the primary storage, it looks like there is
>> one complete 693 MB image but the other two are only 11 and 12 MB, although
>> they are gradually growing.  What's happening here?
>>
>> [root@virthost1 ~]# ls -hl /var/primary/
>> total 715M
>> -rwxr--r--. 1 nobody nobody  11M May  8 09:55
>> 54de167f-ad9c-453b-91c7-fdd644922932
>> -rwxr--r--. 1 nobody nobody  12M May  8 09:55
>> 91069b66-b1b3-41aa-8995-874fd4353473
>> -rwxr--r--. 1 nobody nobody 693M May  8 09:16
>> c2e6efba-d6c7-11e3-9e76-002590c96d30
>>
>> The management server log keeps reporting that "There is no secondary
>> storage VM for secondary storage host nfs://192.168.100.6/var/secondary."
>>  Here is a larger section of logs:
>> http://pastebin.com/NFf5cBx3
>>
>>
>> On Wed, May 7, 2014 at 10:49 AM, Ian Young <iy...@ratespecial.com>wrote:
>>
>>> I noticed that in Home > Infrastructure > Zones > Zone1, Resources tab,
>>> the Secondary Storage says "Allocated 0.00 KB / 0.00 KB".  However, the
>>> secondary storage NFS mount is listed in Home > Infrastructure > Secondary
>>> Storage and the URL is correct.  Does this mean the secondary storage is
>>> unreachable?
>>>
>>>
>>> On Wed, May 7, 2014 at 10:26 AM, Ian Young <iy...@ratespecial.com>wrote:
>>>
>>>> I reinstalled my single server CloudStack system yesterday, following
>>>> the quick start guide precisely.  The only difference was that I used
>>>> /var/primary and /var/secondary instead of /primary and /secondary, because
>>>> the /var partition on this machine is very large.  The UI installer reached
>>>> the point where it says "Creating system VMs (this may take a while)" but
>>>> never finished.  I left it overnight and it still hadn't completed.  This
>>>> is typically the step that fails, most of the times I've installed
>>>> CloudStack, so I imagine I must be making the same fundamental mistake each
>>>> time, and I'd like to know what that is.
>>>>
>>>> I checked management.log and it's in a loop where it creates a
>>>> secondary storage VM, fails to start it, destroys it, and tries again.  It
>>>> says Host 1 is unreachable but I'm using the correct password, SELinux is
>>>> permissive, and all the iptables rules are in place.  In what way is it
>>>> trying to connect to Host 1?  SSH?  NFS?  Here's a log excerpt of messages
>>>> related to the SSVM:
>>>>
>>>> http://pastebin.com/X11A51bh
>>>>
>>>> NFS appears to be functional, since CloudStack automatically mounted
>>>> the primary storage.
>>>>
>>>> Filesystem            Size  Used Avail Use% Mounted on
>>>> /dev/sda3              20G  1.8G   17G  10% /
>>>> tmpfs                  32G     0   32G   0% /dev/shm
>>>> /dev/sda1             194M   42M  143M  23% /boot
>>>> /dev/sda4             1.8T  1.9G  1.7T   1% /var
>>>> 192.168.100.6:/var/primary
>>>>                       1.8T  1.9G  1.7T   1%
>>>> /mnt/0594caa2-ceb4-36c6-9b13-0ff149a130af
>>>>
>>>> How can I identify whatever it is that's preventing the SSVM from
>>>> starting?  Here is another log excerpt, without any filtering:
>>>>
>>>> http://pastebin.com/XsPGJQik
>>>>
>>>
>>>
>>
>

Re: new installation--ssvm won't start

Posted by Ian Young <iy...@ratespecial.com>.
I know this has something to do with idmapd and NFS.  This error keeps
appearing in /var/log/messages:
May  8 10:29:54 virthost1 rpc.idmapd[11044]: nss_getpwnam: name '0' does
not map into domain 'redacted.com'


On Thu, May 8, 2014 at 5:20 PM, Ian Young <iy...@ratespecial.com> wrote:

> I wiped the server clean and started over again today.  In the process, I
> realized that, the previous time, I forgot to uncomment the Domain line in
> /etc/idmapd.conf.  However, even though I included the step this time, the
> GUI installer still seems to hang on the final "Creating system VMs" step.
>  I see two VMs running when I run "virsh list" (the secondary storage VM
> keeps getting regenerated).  In the primary storage, it looks like there is
> one complete 693 MB image but the other two are only 11 and 12 MB, although
> they are gradually growing.  What's happening here?
>
> [root@virthost1 ~]# ls -hl /var/primary/
> total 715M
> -rwxr--r--. 1 nobody nobody  11M May  8 09:55
> 54de167f-ad9c-453b-91c7-fdd644922932
> -rwxr--r--. 1 nobody nobody  12M May  8 09:55
> 91069b66-b1b3-41aa-8995-874fd4353473
> -rwxr--r--. 1 nobody nobody 693M May  8 09:16
> c2e6efba-d6c7-11e3-9e76-002590c96d30
>
> The management server log keeps reporting that "There is no secondary
> storage VM for secondary storage host nfs://192.168.100.6/var/secondary."
>  Here is a larger section of logs:
> http://pastebin.com/NFf5cBx3
>
>
> On Wed, May 7, 2014 at 10:49 AM, Ian Young <iy...@ratespecial.com> wrote:
>
>> I noticed that in Home > Infrastructure > Zones > Zone1, Resources tab,
>> the Secondary Storage says "Allocated 0.00 KB / 0.00 KB".  However, the
>> secondary storage NFS mount is listed in Home > Infrastructure > Secondary
>> Storage and the URL is correct.  Does this mean the secondary storage is
>> unreachable?
>>
>>
>> On Wed, May 7, 2014 at 10:26 AM, Ian Young <iy...@ratespecial.com>wrote:
>>
>>> I reinstalled my single server CloudStack system yesterday, following
>>> the quick start guide precisely.  The only difference was that I used
>>> /var/primary and /var/secondary instead of /primary and /secondary, because
>>> the /var partition on this machine is very large.  The UI installer reached
>>> the point where it says "Creating system VMs (this may take a while)" but
>>> never finished.  I left it overnight and it still hadn't completed.  This
>>> is typically the step that fails, most of the times I've installed
>>> CloudStack, so I imagine I must be making the same fundamental mistake each
>>> time, and I'd like to know what that is.
>>>
>>> I checked management.log and it's in a loop where it creates a secondary
>>> storage VM, fails to start it, destroys it, and tries again.  It says Host
>>> 1 is unreachable but I'm using the correct password, SELinux is permissive,
>>> and all the iptables rules are in place.  In what way is it trying to
>>> connect to Host 1?  SSH?  NFS?  Here's a log excerpt of messages related to
>>> the SSVM:
>>>
>>> http://pastebin.com/X11A51bh
>>>
>>> NFS appears to be functional, since CloudStack automatically mounted the
>>> primary storage.
>>>
>>> Filesystem            Size  Used Avail Use% Mounted on
>>> /dev/sda3              20G  1.8G   17G  10% /
>>> tmpfs                  32G     0   32G   0% /dev/shm
>>> /dev/sda1             194M   42M  143M  23% /boot
>>> /dev/sda4             1.8T  1.9G  1.7T   1% /var
>>> 192.168.100.6:/var/primary
>>>                       1.8T  1.9G  1.7T   1%
>>> /mnt/0594caa2-ceb4-36c6-9b13-0ff149a130af
>>>
>>> How can I identify whatever it is that's preventing the SSVM from
>>> starting?  Here is another log excerpt, without any filtering:
>>>
>>> http://pastebin.com/XsPGJQik
>>>
>>
>>
>

Re: new installation--ssvm won't start

Posted by Ian Young <iy...@ratespecial.com>.
Exactly.  That's the URL I was referring to.  I changed it to the
2014-01-14 template and it worked.


On Tue, May 13, 2014 at 9:52 AM, dimas yoga pratama <sm...@gmail.com>wrote:

> oh okay, I should have read that part as well.
> What I mean is this :
>
> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/master/qig.html#system-template-setup
>
>
>
> On Tue, May 13, 2014 at 4:01 PM, sebgoa <ru...@gmail.com> wrote:
>
> >
> > On May 13, 2014, at 10:02 AM, Geoff Higginbottom <
> > geoff.higginbottom@shapeblue.com> wrote:
> >
> > > Just for the record, the latest install doc does have the correct URLs
> > for the System VM Templates
> > >
> > >
> >
> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/master/installation.html
> > >
> >
> > Yep, I just checked the master and the 4.3 version and the url seem
> > correct:
> >
> >
> >
> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/master/installation.html#prepare-the-system-vm-template
> >
> > if it' snot let me know or submit a patch
> >
> > >
> > > Regards
> > >
> > > Geoff Higginbottom
> > >
> > > D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
> > >
> > > geoff.higginbottom@shapeblue.com
> > >
> > > -----Original Message-----
> > > From: dimas yoga pratama [mailto:smidh.d@gmail.com]
> > > Sent: 12 May 2014 17:44
> > > To: users@cloudstack.apache.org
> > > Subject: Re: new installation--ssvm won't start
> > >
> > > Which version of Cloudstack you installd? If you follow the Cloudstack
> > 4.3 installation guide there is a mistake in system template setup
> section,
> > >
> > > you should change the old URL with:
> > >
> >
> http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-kvm.qcow2.bz2
> > >
> > > hope it works.
> > >
> > > On Fri, May 9, 2014 at 7:20 AM, Ian Young <iy...@ratespecial.com>
> > wrote:
> > >
> > >> I wiped the server clean and started over again today.  In the
> > >> process, I realized that, the previous time, I forgot to uncomment the
> > >> Domain line in /etc/idmapd.conf.  However, even though I included the
> > >> step this time, the GUI installer still seems to hang on the final
> > "Creating system VMs" step.
> > >> I see two VMs running when I run "virsh list" (the secondary storage
> > >> VM keeps getting regenerated).  In the primary storage, it looks like
> > >> there is one complete 693 MB image but the other two are only 11 and
> > >> 12 MB, although they are gradually growing.  What's happening here?
> > >>
> > >> [root@virthost1 ~]# ls -hl /var/primary/ total 715M -rwxr--r--. 1
> > >> nobody nobody  11M May  8 09:55
> > >> 54de167f-ad9c-453b-91c7-fdd644922932
> > >> -rwxr--r--. 1 nobody nobody  12M May  8 09:55
> > >> 91069b66-b1b3-41aa-8995-874fd4353473
> > >> -rwxr--r--. 1 nobody nobody 693M May  8 09:16
> > >> c2e6efba-d6c7-11e3-9e76-002590c96d30
> > >>
> > >> The management server log keeps reporting that "There is no secondary
> > >> storage VM for secondary storage host nfs://
> 192.168.100.6/var/secondary
> > ."
> > >> Here is a larger section of logs:
> > >> http://pastebin.com/NFf5cBx3
> > >>
> > >>
> > >> On Wed, May 7, 2014 at 10:49 AM, Ian Young <iy...@ratespecial.com>
> > wrote:
> > >>
> > >>> I noticed that in Home > Infrastructure > Zones > Zone1, Resources
> > >>> tab, the Secondary Storage says "Allocated 0.00 KB / 0.00 KB".
> > >>> However, the secondary storage NFS mount is listed in Home >
> > >>> Infrastructure >
> > >> Secondary
> > >>> Storage and the URL is correct.  Does this mean the secondary
> > >>> storage is unreachable?
> > >>>
> > >>>
> > >>> On Wed, May 7, 2014 at 10:26 AM, Ian Young <iy...@ratespecial.com>
> > >> wrote:
> > >>>
> > >>>> I reinstalled my single server CloudStack system yesterday,
> > >>>> following
> > >> the
> > >>>> quick start guide precisely.  The only difference was that I used
> > >>>> /var/primary and /var/secondary instead of /primary and /secondary,
> > >> because
> > >>>> the /var partition on this machine is very large.  The UI installer
> > >> reached
> > >>>> the point where it says "Creating system VMs (this may take a
> while)"
> > >> but
> > >>>> never finished.  I left it overnight and it still hadn't completed.
> > >> This
> > >>>> is typically the step that fails, most of the times I've installed
> > >>>> CloudStack, so I imagine I must be making the same fundamental
> > >>>> mistake
> > >> each
> > >>>> time, and I'd like to know what that is.
> > >>>>
> > >>>> I checked management.log and it's in a loop where it creates a
> > >>>> secondary storage VM, fails to start it, destroys it, and tries
> > >>>> again.  It says
> > >> Host
> > >>>> 1 is unreachable but I'm using the correct password, SELinux is
> > >> permissive,
> > >>>> and all the iptables rules are in place.  In what way is it trying
> > >>>> to connect to Host 1?  SSH?  NFS?  Here's a log excerpt of messages
> > >> related to
> > >>>> the SSVM:
> > >>>>
> > >>>> http://pastebin.com/X11A51bh
> > >>>>
> > >>>> NFS appears to be functional, since CloudStack automatically
> > >>>> mounted the primary storage.
> > >>>>
> > >>>> Filesystem            Size  Used Avail Use% Mounted on
> > >>>> /dev/sda3              20G  1.8G   17G  10% /
> > >>>> tmpfs                  32G     0   32G   0% /dev/shm
> > >>>> /dev/sda1             194M   42M  143M  23% /boot
> > >>>> /dev/sda4             1.8T  1.9G  1.7T   1% /var
> > >>>> 192.168.100.6:/var/primary
> > >>>>                      1.8T  1.9G  1.7T   1%
> > >>>> /mnt/0594caa2-ceb4-36c6-9b13-0ff149a130af
> > >>>>
> > >>>> How can I identify whatever it is that's preventing the SSVM from
> > >>>> starting?  Here is another log excerpt, without any filtering:
> > >>>>
> > >>>> http://pastebin.com/XsPGJQik
> > >>>>
> > >>>
> > >>>
> > >>
> > > Find out more about ShapeBlue and our range of CloudStack related
> > services
> > >
> > > IaaS Cloud Design & Build<
> > http://shapeblue.com/iaas-cloud-design-and-build//>
> > > CSForge – rapid IaaS deployment framework<
> http://shapeblue.com/csforge/>
> > > CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> > > CloudStack Infrastructure Support<
> > http://shapeblue.com/cloudstack-infrastructure-support/>
> > > CloudStack Bootcamp Training Courses<
> > http://shapeblue.com/cloudstack-training/>
> > >
> > > This email and any attachments to it may be confidential and are
> > intended solely for the use of the individual to whom it is addressed.
> Any
> > views or opinions expressed are solely those of the author and do not
> > necessarily represent those of Shape Blue Ltd or related companies. If
> you
> > are not the intended recipient of this email, you must neither take any
> > action based upon its contents, nor copy or show it to anyone. Please
> > contact the sender if you believe you have received this email in error.
> > Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue
> > Services India LLP is a company incorporated in India and is operated
> under
> > license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a
> > company incorporated in Brasil and is operated under license from Shape
> > Blue Ltd. ShapeBlue is a registered trademark.
> >
> >
>

Re: new installation--ssvm won't start

Posted by dimas yoga pratama <sm...@gmail.com>.
oh okay, I should have read that part as well.
What I mean is this :
http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/master/qig.html#system-template-setup



On Tue, May 13, 2014 at 4:01 PM, sebgoa <ru...@gmail.com> wrote:

>
> On May 13, 2014, at 10:02 AM, Geoff Higginbottom <
> geoff.higginbottom@shapeblue.com> wrote:
>
> > Just for the record, the latest install doc does have the correct URLs
> for the System VM Templates
> >
> >
> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/master/installation.html
> >
>
> Yep, I just checked the master and the 4.3 version and the url seem
> correct:
>
>
> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/master/installation.html#prepare-the-system-vm-template
>
> if it' snot let me know or submit a patch
>
> >
> > Regards
> >
> > Geoff Higginbottom
> >
> > D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
> >
> > geoff.higginbottom@shapeblue.com
> >
> > -----Original Message-----
> > From: dimas yoga pratama [mailto:smidh.d@gmail.com]
> > Sent: 12 May 2014 17:44
> > To: users@cloudstack.apache.org
> > Subject: Re: new installation--ssvm won't start
> >
> > Which version of Cloudstack you installd? If you follow the Cloudstack
> 4.3 installation guide there is a mistake in system template setup section,
> >
> > you should change the old URL with:
> >
> http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-kvm.qcow2.bz2
> >
> > hope it works.
> >
> > On Fri, May 9, 2014 at 7:20 AM, Ian Young <iy...@ratespecial.com>
> wrote:
> >
> >> I wiped the server clean and started over again today.  In the
> >> process, I realized that, the previous time, I forgot to uncomment the
> >> Domain line in /etc/idmapd.conf.  However, even though I included the
> >> step this time, the GUI installer still seems to hang on the final
> "Creating system VMs" step.
> >> I see two VMs running when I run "virsh list" (the secondary storage
> >> VM keeps getting regenerated).  In the primary storage, it looks like
> >> there is one complete 693 MB image but the other two are only 11 and
> >> 12 MB, although they are gradually growing.  What's happening here?
> >>
> >> [root@virthost1 ~]# ls -hl /var/primary/ total 715M -rwxr--r--. 1
> >> nobody nobody  11M May  8 09:55
> >> 54de167f-ad9c-453b-91c7-fdd644922932
> >> -rwxr--r--. 1 nobody nobody  12M May  8 09:55
> >> 91069b66-b1b3-41aa-8995-874fd4353473
> >> -rwxr--r--. 1 nobody nobody 693M May  8 09:16
> >> c2e6efba-d6c7-11e3-9e76-002590c96d30
> >>
> >> The management server log keeps reporting that "There is no secondary
> >> storage VM for secondary storage host nfs://192.168.100.6/var/secondary
> ."
> >> Here is a larger section of logs:
> >> http://pastebin.com/NFf5cBx3
> >>
> >>
> >> On Wed, May 7, 2014 at 10:49 AM, Ian Young <iy...@ratespecial.com>
> wrote:
> >>
> >>> I noticed that in Home > Infrastructure > Zones > Zone1, Resources
> >>> tab, the Secondary Storage says "Allocated 0.00 KB / 0.00 KB".
> >>> However, the secondary storage NFS mount is listed in Home >
> >>> Infrastructure >
> >> Secondary
> >>> Storage and the URL is correct.  Does this mean the secondary
> >>> storage is unreachable?
> >>>
> >>>
> >>> On Wed, May 7, 2014 at 10:26 AM, Ian Young <iy...@ratespecial.com>
> >> wrote:
> >>>
> >>>> I reinstalled my single server CloudStack system yesterday,
> >>>> following
> >> the
> >>>> quick start guide precisely.  The only difference was that I used
> >>>> /var/primary and /var/secondary instead of /primary and /secondary,
> >> because
> >>>> the /var partition on this machine is very large.  The UI installer
> >> reached
> >>>> the point where it says "Creating system VMs (this may take a while)"
> >> but
> >>>> never finished.  I left it overnight and it still hadn't completed.
> >> This
> >>>> is typically the step that fails, most of the times I've installed
> >>>> CloudStack, so I imagine I must be making the same fundamental
> >>>> mistake
> >> each
> >>>> time, and I'd like to know what that is.
> >>>>
> >>>> I checked management.log and it's in a loop where it creates a
> >>>> secondary storage VM, fails to start it, destroys it, and tries
> >>>> again.  It says
> >> Host
> >>>> 1 is unreachable but I'm using the correct password, SELinux is
> >> permissive,
> >>>> and all the iptables rules are in place.  In what way is it trying
> >>>> to connect to Host 1?  SSH?  NFS?  Here's a log excerpt of messages
> >> related to
> >>>> the SSVM:
> >>>>
> >>>> http://pastebin.com/X11A51bh
> >>>>
> >>>> NFS appears to be functional, since CloudStack automatically
> >>>> mounted the primary storage.
> >>>>
> >>>> Filesystem            Size  Used Avail Use% Mounted on
> >>>> /dev/sda3              20G  1.8G   17G  10% /
> >>>> tmpfs                  32G     0   32G   0% /dev/shm
> >>>> /dev/sda1             194M   42M  143M  23% /boot
> >>>> /dev/sda4             1.8T  1.9G  1.7T   1% /var
> >>>> 192.168.100.6:/var/primary
> >>>>                      1.8T  1.9G  1.7T   1%
> >>>> /mnt/0594caa2-ceb4-36c6-9b13-0ff149a130af
> >>>>
> >>>> How can I identify whatever it is that's preventing the SSVM from
> >>>> starting?  Here is another log excerpt, without any filtering:
> >>>>
> >>>> http://pastebin.com/XsPGJQik
> >>>>
> >>>
> >>>
> >>
> > Find out more about ShapeBlue and our range of CloudStack related
> services
> >
> > IaaS Cloud Design & Build<
> http://shapeblue.com/iaas-cloud-design-and-build//>
> > CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
> > CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> > CloudStack Infrastructure Support<
> http://shapeblue.com/cloudstack-infrastructure-support/>
> > CloudStack Bootcamp Training Courses<
> http://shapeblue.com/cloudstack-training/>
> >
> > This email and any attachments to it may be confidential and are
> intended solely for the use of the individual to whom it is addressed. Any
> views or opinions expressed are solely those of the author and do not
> necessarily represent those of Shape Blue Ltd or related companies. If you
> are not the intended recipient of this email, you must neither take any
> action based upon its contents, nor copy or show it to anyone. Please
> contact the sender if you believe you have received this email in error.
> Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue
> Services India LLP is a company incorporated in India and is operated under
> license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a
> company incorporated in Brasil and is operated under license from Shape
> Blue Ltd. ShapeBlue is a registered trademark.
>
>

Re: new installation--ssvm won't start

Posted by Amin Pashapour <jo...@yahoo.com>.
The master installation guide has the versions wrong for package repository.  Look for 4.2 and you see it for DEB and RHEL. I think both need to be changed to 4.3.


________________________________
 From: Ian Young <iy...@ratespecial.com>
To: users@cloudstack.apache.org 
Sent: Tuesday, May 13, 2014 7:17 PM
Subject: Re: new installation--ssvm won't start
 

I'm using 4.3.  The Quick Installation Guide for CentOS (which is what I
was following) still has the old URL.  I forgot to mention changing the URL
was another thing I did differently in order to get it working.

http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/qig.html



On Tue, May 13, 2014 at 2:01 AM, sebgoa <ru...@gmail.com> wrote:

>
> On May 13, 2014, at 10:02 AM, Geoff Higginbottom <
> geoff.higginbottom@shapeblue.com> wrote:
>
> > Just for the record, the latest install doc does have the correct URLs
> for the System VM Templates
> >
> >
> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/master/installation.html
> >
>
> Yep, I just checked the master and the 4.3 version and the url seem
> correct:
>
>
> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/master/installation.html#prepare-the-system-vm-template
>
> if it' snot let me know or submit a patch
>
> >
> > Regards
> >
> > Geoff Higginbottom
> >
> > D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
> >
> > geoff.higginbottom@shapeblue.com
> >
> > -----Original Message-----
> > From: dimas yoga pratama [mailto:smidh.d@gmail.com]
> > Sent: 12 May 2014 17:44
> > To: users@cloudstack.apache.org
> > Subject: Re: new installation--ssvm won't start
> >
> > Which version of Cloudstack you installd? If you follow the Cloudstack
> 4.3 installation guide there is a mistake in system template setup section,
> >
> > you should change the old URL with:
> >
> http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-kvm.qcow2.bz2
> >
> > hope it works.
> >
> > On Fri, May 9, 2014 at 7:20 AM, Ian Young <iy...@ratespecial.com>
> wrote:
> >
> >> I wiped the server clean and started over again today.  In the
> >> process, I realized that, the previous time, I forgot to uncomment the
> >> Domain line in /etc/idmapd.conf.  However, even though I included the
> >> step this time, the GUI installer still seems to hang on the final
> "Creating system VMs" step.
> >> I see two VMs running when I run "virsh list" (the secondary storage
> >> VM keeps getting regenerated).  In the primary storage, it looks like
> >> there is one complete 693 MB image but the other two are only 11 and
> >> 12 MB, although they are gradually growing.  What's happening here?
> >>
> >> [root@virthost1 ~]# ls -hl /var/primary/ total 715M -rwxr--r--. 1
> >> nobody nobody  11M May  8 09:55
> >> 54de167f-ad9c-453b-91c7-fdd644922932
> >> -rwxr--r--. 1 nobody nobody  12M May  8 09:55
> >> 91069b66-b1b3-41aa-8995-874fd4353473
> >> -rwxr--r--. 1 nobody nobody 693M May  8 09:16
> >> c2e6efba-d6c7-11e3-9e76-002590c96d30
> >>
> >> The management server log keeps reporting that "There is no secondary
> >> storage VM for secondary storage host nfs://192.168.100.6/var/secondary
> ."
> >> Here is a larger section of logs:
> >> http://pastebin.com/NFf5cBx3
> >>
> >>
> >> On Wed, May 7, 2014 at 10:49 AM, Ian Young <iy...@ratespecial.com>
> wrote:
> >>
> >>> I noticed that in Home > Infrastructure > Zones > Zone1, Resources
> >>> tab, the Secondary Storage says "Allocated 0.00 KB / 0.00 KB".
> >>> However, the secondary storage NFS mount is listed in Home >
> >>> Infrastructure >
> >> Secondary
> >>> Storage and the URL is correct.  Does this mean the secondary
> >>> storage is unreachable?
> >>>
> >>>
> >>> On Wed, May 7, 2014 at 10:26 AM, Ian Young <iy...@ratespecial.com>
> >> wrote:
> >>>
> >>>> I reinstalled my single server CloudStack system yesterday,
> >>>> following
> >> the
> >>>> quick start guide precisely.  The only difference was that I used
> >>>> /var/primary and /var/secondary instead of /primary and /secondary,
> >> because
> >>>> the /var partition on this machine is very large.  The UI installer
> >> reached
> >>>> the point where it says "Creating system VMs (this may take a while)"
> >> but
> >>>> never finished.  I left it overnight and it still hadn't completed.
> >> This
> >>>> is typically the step that fails, most of the times I've installed
> >>>> CloudStack, so I imagine I must be making the same fundamental
> >>>> mistake
> >> each
> >>>> time, and I'd like to know what that is.
> >>>>
> >>>> I checked management.log and it's in a loop where it creates a
> >>>> secondary storage VM, fails to start it, destroys it, and tries
> >>>> again.  It says
> >> Host
> >>>> 1 is unreachable but I'm using the correct password, SELinux is
> >> permissive,
> >>>> and all the iptables rules are in place.  In what way is it trying
> >>>> to connect to Host 1?  SSH?  NFS?  Here's a log excerpt of messages
> >> related to
> >>>> the SSVM:
> >>>>
> >>>> http://pastebin.com/X11A51bh
> >>>>
> >>>> NFS appears to be functional, since CloudStack automatically
> >>>> mounted the primary storage.
> >>>>
> >>>> Filesystem            Size  Used Avail Use% Mounted on
> >>>> /dev/sda3              20G  1.8G   17G  10% /
> >>>> tmpfs                  32G     0   32G   0% /dev/shm
> >>>> /dev/sda1             194M   42M  143M  23% /boot
> >>>> /dev/sda4             1.8T  1.9G  1.7T   1% /var
> >>>> 192.168.100.6:/var/primary
> >>>>                      1.8T  1.9G  1.7T   1%
> >>>> /mnt/0594caa2-ceb4-36c6-9b13-0ff149a130af
> >>>>
> >>>> How can I identify whatever it is that's preventing the SSVM from
> >>>> starting?  Here is another log excerpt, without any filtering:
> >>>>
> >>>> http://pastebin.com/XsPGJQik
> >>>>
> >>>
> >>>
> >>
> > Find out more about ShapeBlue and our range of CloudStack related
> services
> >
> > IaaS Cloud Design & Build<
> http://shapeblue.com/iaas-cloud-design-and-build//>
> > CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
> > CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> > CloudStack Infrastructure Support<
> http://shapeblue.com/cloudstack-infrastructure-support/>
> > CloudStack Bootcamp Training Courses<
> http://shapeblue.com/cloudstack-training/>
> >
> > This email and any attachments to it may be confidential and are
> intended solely for the use of the individual to whom it is addressed. Any
> views or opinions expressed are solely those of the author and do not
> necessarily represent those of Shape Blue Ltd or related companies. If you
> are not the intended recipient of this email, you must neither take any
> action based upon its contents, nor copy or show it to anyone. Please
> contact the sender if you believe you have received this email in error.
> Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue
> Services India LLP is a company incorporated in India and is operated under
> license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a
> company incorporated in Brasil and is operated under license from Shape
> Blue Ltd. ShapeBlue is a registered trademark.
>
>

Re: new installation--ssvm won't start

Posted by sebgoa <ru...@gmail.com>.
On May 14, 2014, at 1:17 AM, Ian Young <iy...@ratespecial.com> wrote:

> I'm using 4.3.  The Quick Installation Guide for CentOS (which is what I
> was following) still has the old URL.  I forgot to mention changing the URL
> was another thing I did differently in order to get it working.
> 
> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/qig.html
> 
> 

Thanks for catching this, I just fixed this.

You should feel free to do a drive by contribution to the docs when you find an issue like this. 
Just click on the 'edit on github' button at the top right of the page, edit it and submit a patch.

That would be very welcome, everyone needs to chime in to make the docs better.

thanks,

-sebastien


> On Tue, May 13, 2014 at 2:01 AM, sebgoa <ru...@gmail.com> wrote:
> 
>> 
>> On May 13, 2014, at 10:02 AM, Geoff Higginbottom <
>> geoff.higginbottom@shapeblue.com> wrote:
>> 
>>> Just for the record, the latest install doc does have the correct URLs
>> for the System VM Templates
>>> 
>>> 
>> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/master/installation.html
>>> 
>> 
>> Yep, I just checked the master and the 4.3 version and the url seem
>> correct:
>> 
>> 
>> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/master/installation.html#prepare-the-system-vm-template
>> 
>> if it' snot let me know or submit a patch
>> 
>>> 
>>> Regards
>>> 
>>> Geoff Higginbottom
>>> 
>>> D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
>>> 
>>> geoff.higginbottom@shapeblue.com
>>> 
>>> -----Original Message-----
>>> From: dimas yoga pratama [mailto:smidh.d@gmail.com]
>>> Sent: 12 May 2014 17:44
>>> To: users@cloudstack.apache.org
>>> Subject: Re: new installation--ssvm won't start
>>> 
>>> Which version of Cloudstack you installd? If you follow the Cloudstack
>> 4.3 installation guide there is a mistake in system template setup section,
>>> 
>>> you should change the old URL with:
>>> 
>> http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-kvm.qcow2.bz2
>>> 
>>> hope it works.
>>> 
>>> On Fri, May 9, 2014 at 7:20 AM, Ian Young <iy...@ratespecial.com>
>> wrote:
>>> 
>>>> I wiped the server clean and started over again today.  In the
>>>> process, I realized that, the previous time, I forgot to uncomment the
>>>> Domain line in /etc/idmapd.conf.  However, even though I included the
>>>> step this time, the GUI installer still seems to hang on the final
>> "Creating system VMs" step.
>>>> I see two VMs running when I run "virsh list" (the secondary storage
>>>> VM keeps getting regenerated).  In the primary storage, it looks like
>>>> there is one complete 693 MB image but the other two are only 11 and
>>>> 12 MB, although they are gradually growing.  What's happening here?
>>>> 
>>>> [root@virthost1 ~]# ls -hl /var/primary/ total 715M -rwxr--r--. 1
>>>> nobody nobody  11M May  8 09:55
>>>> 54de167f-ad9c-453b-91c7-fdd644922932
>>>> -rwxr--r--. 1 nobody nobody  12M May  8 09:55
>>>> 91069b66-b1b3-41aa-8995-874fd4353473
>>>> -rwxr--r--. 1 nobody nobody 693M May  8 09:16
>>>> c2e6efba-d6c7-11e3-9e76-002590c96d30
>>>> 
>>>> The management server log keeps reporting that "There is no secondary
>>>> storage VM for secondary storage host nfs://192.168.100.6/var/secondary
>> ."
>>>> Here is a larger section of logs:
>>>> http://pastebin.com/NFf5cBx3
>>>> 
>>>> 
>>>> On Wed, May 7, 2014 at 10:49 AM, Ian Young <iy...@ratespecial.com>
>> wrote:
>>>> 
>>>>> I noticed that in Home > Infrastructure > Zones > Zone1, Resources
>>>>> tab, the Secondary Storage says "Allocated 0.00 KB / 0.00 KB".
>>>>> However, the secondary storage NFS mount is listed in Home >
>>>>> Infrastructure >
>>>> Secondary
>>>>> Storage and the URL is correct.  Does this mean the secondary
>>>>> storage is unreachable?
>>>>> 
>>>>> 
>>>>> On Wed, May 7, 2014 at 10:26 AM, Ian Young <iy...@ratespecial.com>
>>>> wrote:
>>>>> 
>>>>>> I reinstalled my single server CloudStack system yesterday,
>>>>>> following
>>>> the
>>>>>> quick start guide precisely.  The only difference was that I used
>>>>>> /var/primary and /var/secondary instead of /primary and /secondary,
>>>> because
>>>>>> the /var partition on this machine is very large.  The UI installer
>>>> reached
>>>>>> the point where it says "Creating system VMs (this may take a while)"
>>>> but
>>>>>> never finished.  I left it overnight and it still hadn't completed.
>>>> This
>>>>>> is typically the step that fails, most of the times I've installed
>>>>>> CloudStack, so I imagine I must be making the same fundamental
>>>>>> mistake
>>>> each
>>>>>> time, and I'd like to know what that is.
>>>>>> 
>>>>>> I checked management.log and it's in a loop where it creates a
>>>>>> secondary storage VM, fails to start it, destroys it, and tries
>>>>>> again.  It says
>>>> Host
>>>>>> 1 is unreachable but I'm using the correct password, SELinux is
>>>> permissive,
>>>>>> and all the iptables rules are in place.  In what way is it trying
>>>>>> to connect to Host 1?  SSH?  NFS?  Here's a log excerpt of messages
>>>> related to
>>>>>> the SSVM:
>>>>>> 
>>>>>> http://pastebin.com/X11A51bh
>>>>>> 
>>>>>> NFS appears to be functional, since CloudStack automatically
>>>>>> mounted the primary storage.
>>>>>> 
>>>>>> Filesystem            Size  Used Avail Use% Mounted on
>>>>>> /dev/sda3              20G  1.8G   17G  10% /
>>>>>> tmpfs                  32G     0   32G   0% /dev/shm
>>>>>> /dev/sda1             194M   42M  143M  23% /boot
>>>>>> /dev/sda4             1.8T  1.9G  1.7T   1% /var
>>>>>> 192.168.100.6:/var/primary
>>>>>>                     1.8T  1.9G  1.7T   1%
>>>>>> /mnt/0594caa2-ceb4-36c6-9b13-0ff149a130af
>>>>>> 
>>>>>> How can I identify whatever it is that's preventing the SSVM from
>>>>>> starting?  Here is another log excerpt, without any filtering:
>>>>>> 
>>>>>> http://pastebin.com/XsPGJQik
>>>>>> 
>>>>> 
>>>>> 
>>>> 
>>> Find out more about ShapeBlue and our range of CloudStack related
>> services
>>> 
>>> IaaS Cloud Design & Build<
>> http://shapeblue.com/iaas-cloud-design-and-build//>
>>> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
>>> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
>>> CloudStack Infrastructure Support<
>> http://shapeblue.com/cloudstack-infrastructure-support/>
>>> CloudStack Bootcamp Training Courses<
>> http://shapeblue.com/cloudstack-training/>
>>> 
>>> This email and any attachments to it may be confidential and are
>> intended solely for the use of the individual to whom it is addressed. Any
>> views or opinions expressed are solely those of the author and do not
>> necessarily represent those of Shape Blue Ltd or related companies. If you
>> are not the intended recipient of this email, you must neither take any
>> action based upon its contents, nor copy or show it to anyone. Please
>> contact the sender if you believe you have received this email in error.
>> Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue
>> Services India LLP is a company incorporated in India and is operated under
>> license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a
>> company incorporated in Brasil and is operated under license from Shape
>> Blue Ltd. ShapeBlue is a registered trademark.
>> 
>> 


Re: new installation--ssvm won't start

Posted by Ian Young <iy...@ratespecial.com>.
I'm using 4.3.  The Quick Installation Guide for CentOS (which is what I
was following) still has the old URL.  I forgot to mention changing the URL
was another thing I did differently in order to get it working.

http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/qig.html


On Tue, May 13, 2014 at 2:01 AM, sebgoa <ru...@gmail.com> wrote:

>
> On May 13, 2014, at 10:02 AM, Geoff Higginbottom <
> geoff.higginbottom@shapeblue.com> wrote:
>
> > Just for the record, the latest install doc does have the correct URLs
> for the System VM Templates
> >
> >
> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/master/installation.html
> >
>
> Yep, I just checked the master and the 4.3 version and the url seem
> correct:
>
>
> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/master/installation.html#prepare-the-system-vm-template
>
> if it' snot let me know or submit a patch
>
> >
> > Regards
> >
> > Geoff Higginbottom
> >
> > D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
> >
> > geoff.higginbottom@shapeblue.com
> >
> > -----Original Message-----
> > From: dimas yoga pratama [mailto:smidh.d@gmail.com]
> > Sent: 12 May 2014 17:44
> > To: users@cloudstack.apache.org
> > Subject: Re: new installation--ssvm won't start
> >
> > Which version of Cloudstack you installd? If you follow the Cloudstack
> 4.3 installation guide there is a mistake in system template setup section,
> >
> > you should change the old URL with:
> >
> http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-kvm.qcow2.bz2
> >
> > hope it works.
> >
> > On Fri, May 9, 2014 at 7:20 AM, Ian Young <iy...@ratespecial.com>
> wrote:
> >
> >> I wiped the server clean and started over again today.  In the
> >> process, I realized that, the previous time, I forgot to uncomment the
> >> Domain line in /etc/idmapd.conf.  However, even though I included the
> >> step this time, the GUI installer still seems to hang on the final
> "Creating system VMs" step.
> >> I see two VMs running when I run "virsh list" (the secondary storage
> >> VM keeps getting regenerated).  In the primary storage, it looks like
> >> there is one complete 693 MB image but the other two are only 11 and
> >> 12 MB, although they are gradually growing.  What's happening here?
> >>
> >> [root@virthost1 ~]# ls -hl /var/primary/ total 715M -rwxr--r--. 1
> >> nobody nobody  11M May  8 09:55
> >> 54de167f-ad9c-453b-91c7-fdd644922932
> >> -rwxr--r--. 1 nobody nobody  12M May  8 09:55
> >> 91069b66-b1b3-41aa-8995-874fd4353473
> >> -rwxr--r--. 1 nobody nobody 693M May  8 09:16
> >> c2e6efba-d6c7-11e3-9e76-002590c96d30
> >>
> >> The management server log keeps reporting that "There is no secondary
> >> storage VM for secondary storage host nfs://192.168.100.6/var/secondary
> ."
> >> Here is a larger section of logs:
> >> http://pastebin.com/NFf5cBx3
> >>
> >>
> >> On Wed, May 7, 2014 at 10:49 AM, Ian Young <iy...@ratespecial.com>
> wrote:
> >>
> >>> I noticed that in Home > Infrastructure > Zones > Zone1, Resources
> >>> tab, the Secondary Storage says "Allocated 0.00 KB / 0.00 KB".
> >>> However, the secondary storage NFS mount is listed in Home >
> >>> Infrastructure >
> >> Secondary
> >>> Storage and the URL is correct.  Does this mean the secondary
> >>> storage is unreachable?
> >>>
> >>>
> >>> On Wed, May 7, 2014 at 10:26 AM, Ian Young <iy...@ratespecial.com>
> >> wrote:
> >>>
> >>>> I reinstalled my single server CloudStack system yesterday,
> >>>> following
> >> the
> >>>> quick start guide precisely.  The only difference was that I used
> >>>> /var/primary and /var/secondary instead of /primary and /secondary,
> >> because
> >>>> the /var partition on this machine is very large.  The UI installer
> >> reached
> >>>> the point where it says "Creating system VMs (this may take a while)"
> >> but
> >>>> never finished.  I left it overnight and it still hadn't completed.
> >> This
> >>>> is typically the step that fails, most of the times I've installed
> >>>> CloudStack, so I imagine I must be making the same fundamental
> >>>> mistake
> >> each
> >>>> time, and I'd like to know what that is.
> >>>>
> >>>> I checked management.log and it's in a loop where it creates a
> >>>> secondary storage VM, fails to start it, destroys it, and tries
> >>>> again.  It says
> >> Host
> >>>> 1 is unreachable but I'm using the correct password, SELinux is
> >> permissive,
> >>>> and all the iptables rules are in place.  In what way is it trying
> >>>> to connect to Host 1?  SSH?  NFS?  Here's a log excerpt of messages
> >> related to
> >>>> the SSVM:
> >>>>
> >>>> http://pastebin.com/X11A51bh
> >>>>
> >>>> NFS appears to be functional, since CloudStack automatically
> >>>> mounted the primary storage.
> >>>>
> >>>> Filesystem            Size  Used Avail Use% Mounted on
> >>>> /dev/sda3              20G  1.8G   17G  10% /
> >>>> tmpfs                  32G     0   32G   0% /dev/shm
> >>>> /dev/sda1             194M   42M  143M  23% /boot
> >>>> /dev/sda4             1.8T  1.9G  1.7T   1% /var
> >>>> 192.168.100.6:/var/primary
> >>>>                      1.8T  1.9G  1.7T   1%
> >>>> /mnt/0594caa2-ceb4-36c6-9b13-0ff149a130af
> >>>>
> >>>> How can I identify whatever it is that's preventing the SSVM from
> >>>> starting?  Here is another log excerpt, without any filtering:
> >>>>
> >>>> http://pastebin.com/XsPGJQik
> >>>>
> >>>
> >>>
> >>
> > Find out more about ShapeBlue and our range of CloudStack related
> services
> >
> > IaaS Cloud Design & Build<
> http://shapeblue.com/iaas-cloud-design-and-build//>
> > CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
> > CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> > CloudStack Infrastructure Support<
> http://shapeblue.com/cloudstack-infrastructure-support/>
> > CloudStack Bootcamp Training Courses<
> http://shapeblue.com/cloudstack-training/>
> >
> > This email and any attachments to it may be confidential and are
> intended solely for the use of the individual to whom it is addressed. Any
> views or opinions expressed are solely those of the author and do not
> necessarily represent those of Shape Blue Ltd or related companies. If you
> are not the intended recipient of this email, you must neither take any
> action based upon its contents, nor copy or show it to anyone. Please
> contact the sender if you believe you have received this email in error.
> Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue
> Services India LLP is a company incorporated in India and is operated under
> license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a
> company incorporated in Brasil and is operated under license from Shape
> Blue Ltd. ShapeBlue is a registered trademark.
>
>

Re: new installation--ssvm won't start

Posted by sebgoa <ru...@gmail.com>.
On May 13, 2014, at 10:02 AM, Geoff Higginbottom <ge...@shapeblue.com> wrote:

> Just for the record, the latest install doc does have the correct URLs for the System VM Templates
> 
> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/master/installation.html
> 

Yep, I just checked the master and the 4.3 version and the url seem correct:

http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/master/installation.html#prepare-the-system-vm-template

if it' snot let me know or submit a patch

> 
> Regards
> 
> Geoff Higginbottom
> 
> D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
> 
> geoff.higginbottom@shapeblue.com
> 
> -----Original Message-----
> From: dimas yoga pratama [mailto:smidh.d@gmail.com]
> Sent: 12 May 2014 17:44
> To: users@cloudstack.apache.org
> Subject: Re: new installation--ssvm won't start
> 
> Which version of Cloudstack you installd? If you follow the Cloudstack 4.3 installation guide there is a mistake in system template setup section,
> 
> you should change the old URL with:
> http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-kvm.qcow2.bz2
> 
> hope it works.
> 
> On Fri, May 9, 2014 at 7:20 AM, Ian Young <iy...@ratespecial.com> wrote:
> 
>> I wiped the server clean and started over again today.  In the
>> process, I realized that, the previous time, I forgot to uncomment the
>> Domain line in /etc/idmapd.conf.  However, even though I included the
>> step this time, the GUI installer still seems to hang on the final "Creating system VMs" step.
>> I see two VMs running when I run "virsh list" (the secondary storage
>> VM keeps getting regenerated).  In the primary storage, it looks like
>> there is one complete 693 MB image but the other two are only 11 and
>> 12 MB, although they are gradually growing.  What's happening here?
>> 
>> [root@virthost1 ~]# ls -hl /var/primary/ total 715M -rwxr--r--. 1
>> nobody nobody  11M May  8 09:55
>> 54de167f-ad9c-453b-91c7-fdd644922932
>> -rwxr--r--. 1 nobody nobody  12M May  8 09:55
>> 91069b66-b1b3-41aa-8995-874fd4353473
>> -rwxr--r--. 1 nobody nobody 693M May  8 09:16
>> c2e6efba-d6c7-11e3-9e76-002590c96d30
>> 
>> The management server log keeps reporting that "There is no secondary
>> storage VM for secondary storage host nfs://192.168.100.6/var/secondary."
>> Here is a larger section of logs:
>> http://pastebin.com/NFf5cBx3
>> 
>> 
>> On Wed, May 7, 2014 at 10:49 AM, Ian Young <iy...@ratespecial.com> wrote:
>> 
>>> I noticed that in Home > Infrastructure > Zones > Zone1, Resources
>>> tab, the Secondary Storage says "Allocated 0.00 KB / 0.00 KB".
>>> However, the secondary storage NFS mount is listed in Home >
>>> Infrastructure >
>> Secondary
>>> Storage and the URL is correct.  Does this mean the secondary
>>> storage is unreachable?
>>> 
>>> 
>>> On Wed, May 7, 2014 at 10:26 AM, Ian Young <iy...@ratespecial.com>
>> wrote:
>>> 
>>>> I reinstalled my single server CloudStack system yesterday,
>>>> following
>> the
>>>> quick start guide precisely.  The only difference was that I used
>>>> /var/primary and /var/secondary instead of /primary and /secondary,
>> because
>>>> the /var partition on this machine is very large.  The UI installer
>> reached
>>>> the point where it says "Creating system VMs (this may take a while)"
>> but
>>>> never finished.  I left it overnight and it still hadn't completed.
>> This
>>>> is typically the step that fails, most of the times I've installed
>>>> CloudStack, so I imagine I must be making the same fundamental
>>>> mistake
>> each
>>>> time, and I'd like to know what that is.
>>>> 
>>>> I checked management.log and it's in a loop where it creates a
>>>> secondary storage VM, fails to start it, destroys it, and tries
>>>> again.  It says
>> Host
>>>> 1 is unreachable but I'm using the correct password, SELinux is
>> permissive,
>>>> and all the iptables rules are in place.  In what way is it trying
>>>> to connect to Host 1?  SSH?  NFS?  Here's a log excerpt of messages
>> related to
>>>> the SSVM:
>>>> 
>>>> http://pastebin.com/X11A51bh
>>>> 
>>>> NFS appears to be functional, since CloudStack automatically
>>>> mounted the primary storage.
>>>> 
>>>> Filesystem            Size  Used Avail Use% Mounted on
>>>> /dev/sda3              20G  1.8G   17G  10% /
>>>> tmpfs                  32G     0   32G   0% /dev/shm
>>>> /dev/sda1             194M   42M  143M  23% /boot
>>>> /dev/sda4             1.8T  1.9G  1.7T   1% /var
>>>> 192.168.100.6:/var/primary
>>>>                      1.8T  1.9G  1.7T   1%
>>>> /mnt/0594caa2-ceb4-36c6-9b13-0ff149a130af
>>>> 
>>>> How can I identify whatever it is that's preventing the SSVM from
>>>> starting?  Here is another log excerpt, without any filtering:
>>>> 
>>>> http://pastebin.com/XsPGJQik
>>>> 
>>> 
>>> 
>> 
> Find out more about ShapeBlue and our range of CloudStack related services
> 
> IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
> CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>
> 
> This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


RE: new installation--ssvm won't start

Posted by Geoff Higginbottom <ge...@shapeblue.com>.
Just for the record, the latest install doc does have the correct URLs for the System VM Templates

http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/master/installation.html


Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbottom@shapeblue.com

-----Original Message-----
From: dimas yoga pratama [mailto:smidh.d@gmail.com]
Sent: 12 May 2014 17:44
To: users@cloudstack.apache.org
Subject: Re: new installation--ssvm won't start

Which version of Cloudstack you installd? If you follow the Cloudstack 4.3 installation guide there is a mistake in system template setup section,

you should change the old URL with:
http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-kvm.qcow2.bz2

hope it works.

On Fri, May 9, 2014 at 7:20 AM, Ian Young <iy...@ratespecial.com> wrote:

> I wiped the server clean and started over again today.  In the
> process, I realized that, the previous time, I forgot to uncomment the
> Domain line in /etc/idmapd.conf.  However, even though I included the
> step this time, the GUI installer still seems to hang on the final "Creating system VMs" step.
>  I see two VMs running when I run "virsh list" (the secondary storage
> VM keeps getting regenerated).  In the primary storage, it looks like
> there is one complete 693 MB image but the other two are only 11 and
> 12 MB, although they are gradually growing.  What's happening here?
>
> [root@virthost1 ~]# ls -hl /var/primary/ total 715M -rwxr--r--. 1
> nobody nobody  11M May  8 09:55
> 54de167f-ad9c-453b-91c7-fdd644922932
> -rwxr--r--. 1 nobody nobody  12M May  8 09:55
> 91069b66-b1b3-41aa-8995-874fd4353473
> -rwxr--r--. 1 nobody nobody 693M May  8 09:16
> c2e6efba-d6c7-11e3-9e76-002590c96d30
>
> The management server log keeps reporting that "There is no secondary
> storage VM for secondary storage host nfs://192.168.100.6/var/secondary."
>  Here is a larger section of logs:
> http://pastebin.com/NFf5cBx3
>
>
> On Wed, May 7, 2014 at 10:49 AM, Ian Young <iy...@ratespecial.com> wrote:
>
> > I noticed that in Home > Infrastructure > Zones > Zone1, Resources
> > tab, the Secondary Storage says "Allocated 0.00 KB / 0.00 KB".
> > However, the secondary storage NFS mount is listed in Home >
> > Infrastructure >
> Secondary
> > Storage and the URL is correct.  Does this mean the secondary
> > storage is unreachable?
> >
> >
> > On Wed, May 7, 2014 at 10:26 AM, Ian Young <iy...@ratespecial.com>
> wrote:
> >
> >> I reinstalled my single server CloudStack system yesterday,
> >> following
> the
> >> quick start guide precisely.  The only difference was that I used
> >> /var/primary and /var/secondary instead of /primary and /secondary,
> because
> >> the /var partition on this machine is very large.  The UI installer
> reached
> >> the point where it says "Creating system VMs (this may take a while)"
> but
> >> never finished.  I left it overnight and it still hadn't completed.
>  This
> >> is typically the step that fails, most of the times I've installed
> >> CloudStack, so I imagine I must be making the same fundamental
> >> mistake
> each
> >> time, and I'd like to know what that is.
> >>
> >> I checked management.log and it's in a loop where it creates a
> >> secondary storage VM, fails to start it, destroys it, and tries
> >> again.  It says
> Host
> >> 1 is unreachable but I'm using the correct password, SELinux is
> permissive,
> >> and all the iptables rules are in place.  In what way is it trying
> >> to connect to Host 1?  SSH?  NFS?  Here's a log excerpt of messages
> related to
> >> the SSVM:
> >>
> >> http://pastebin.com/X11A51bh
> >>
> >> NFS appears to be functional, since CloudStack automatically
> >> mounted the primary storage.
> >>
> >> Filesystem            Size  Used Avail Use% Mounted on
> >> /dev/sda3              20G  1.8G   17G  10% /
> >> tmpfs                  32G     0   32G   0% /dev/shm
> >> /dev/sda1             194M   42M  143M  23% /boot
> >> /dev/sda4             1.8T  1.9G  1.7T   1% /var
> >> 192.168.100.6:/var/primary
> >>                       1.8T  1.9G  1.7T   1%
> >> /mnt/0594caa2-ceb4-36c6-9b13-0ff149a130af
> >>
> >> How can I identify whatever it is that's preventing the SSVM from
> >> starting?  Here is another log excerpt, without any filtering:
> >>
> >> http://pastebin.com/XsPGJQik
> >>
> >
> >
>
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.

Re: new installation--ssvm won't start

Posted by dimas yoga pratama <sm...@gmail.com>.
Which version of Cloudstack you installd? If you follow the Cloudstack 4.3
installation guide there is a mistake in system template setup section,

you should change the old URL with:
http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-kvm.qcow2.bz2

hope it works.

On Fri, May 9, 2014 at 7:20 AM, Ian Young <iy...@ratespecial.com> wrote:

> I wiped the server clean and started over again today.  In the process, I
> realized that, the previous time, I forgot to uncomment the Domain line in
> /etc/idmapd.conf.  However, even though I included the step this time, the
> GUI installer still seems to hang on the final "Creating system VMs" step.
>  I see two VMs running when I run "virsh list" (the secondary storage VM
> keeps getting regenerated).  In the primary storage, it looks like there is
> one complete 693 MB image but the other two are only 11 and 12 MB, although
> they are gradually growing.  What's happening here?
>
> [root@virthost1 ~]# ls -hl /var/primary/
> total 715M
> -rwxr--r--. 1 nobody nobody  11M May  8 09:55
> 54de167f-ad9c-453b-91c7-fdd644922932
> -rwxr--r--. 1 nobody nobody  12M May  8 09:55
> 91069b66-b1b3-41aa-8995-874fd4353473
> -rwxr--r--. 1 nobody nobody 693M May  8 09:16
> c2e6efba-d6c7-11e3-9e76-002590c96d30
>
> The management server log keeps reporting that "There is no secondary
> storage VM for secondary storage host nfs://192.168.100.6/var/secondary."
>  Here is a larger section of logs:
> http://pastebin.com/NFf5cBx3
>
>
> On Wed, May 7, 2014 at 10:49 AM, Ian Young <iy...@ratespecial.com> wrote:
>
> > I noticed that in Home > Infrastructure > Zones > Zone1, Resources tab,
> > the Secondary Storage says "Allocated 0.00 KB / 0.00 KB".  However, the
> > secondary storage NFS mount is listed in Home > Infrastructure >
> Secondary
> > Storage and the URL is correct.  Does this mean the secondary storage is
> > unreachable?
> >
> >
> > On Wed, May 7, 2014 at 10:26 AM, Ian Young <iy...@ratespecial.com>
> wrote:
> >
> >> I reinstalled my single server CloudStack system yesterday, following
> the
> >> quick start guide precisely.  The only difference was that I used
> >> /var/primary and /var/secondary instead of /primary and /secondary,
> because
> >> the /var partition on this machine is very large.  The UI installer
> reached
> >> the point where it says "Creating system VMs (this may take a while)"
> but
> >> never finished.  I left it overnight and it still hadn't completed.
>  This
> >> is typically the step that fails, most of the times I've installed
> >> CloudStack, so I imagine I must be making the same fundamental mistake
> each
> >> time, and I'd like to know what that is.
> >>
> >> I checked management.log and it's in a loop where it creates a secondary
> >> storage VM, fails to start it, destroys it, and tries again.  It says
> Host
> >> 1 is unreachable but I'm using the correct password, SELinux is
> permissive,
> >> and all the iptables rules are in place.  In what way is it trying to
> >> connect to Host 1?  SSH?  NFS?  Here's a log excerpt of messages
> related to
> >> the SSVM:
> >>
> >> http://pastebin.com/X11A51bh
> >>
> >> NFS appears to be functional, since CloudStack automatically mounted the
> >> primary storage.
> >>
> >> Filesystem            Size  Used Avail Use% Mounted on
> >> /dev/sda3              20G  1.8G   17G  10% /
> >> tmpfs                  32G     0   32G   0% /dev/shm
> >> /dev/sda1             194M   42M  143M  23% /boot
> >> /dev/sda4             1.8T  1.9G  1.7T   1% /var
> >> 192.168.100.6:/var/primary
> >>                       1.8T  1.9G  1.7T   1%
> >> /mnt/0594caa2-ceb4-36c6-9b13-0ff149a130af
> >>
> >> How can I identify whatever it is that's preventing the SSVM from
> >> starting?  Here is another log excerpt, without any filtering:
> >>
> >> http://pastebin.com/XsPGJQik
> >>
> >
> >
>

Re: new installation--ssvm won't start

Posted by Ian Young <iy...@ratespecial.com>.
I wiped the server clean and started over again today.  In the process, I
realized that, the previous time, I forgot to uncomment the Domain line in
/etc/idmapd.conf.  However, even though I included the step this time, the
GUI installer still seems to hang on the final "Creating system VMs" step.
 I see two VMs running when I run "virsh list" (the secondary storage VM
keeps getting regenerated).  In the primary storage, it looks like there is
one complete 693 MB image but the other two are only 11 and 12 MB, although
they are gradually growing.  What's happening here?

[root@virthost1 ~]# ls -hl /var/primary/
total 715M
-rwxr--r--. 1 nobody nobody  11M May  8 09:55
54de167f-ad9c-453b-91c7-fdd644922932
-rwxr--r--. 1 nobody nobody  12M May  8 09:55
91069b66-b1b3-41aa-8995-874fd4353473
-rwxr--r--. 1 nobody nobody 693M May  8 09:16
c2e6efba-d6c7-11e3-9e76-002590c96d30

The management server log keeps reporting that "There is no secondary
storage VM for secondary storage host nfs://192.168.100.6/var/secondary."
 Here is a larger section of logs:
http://pastebin.com/NFf5cBx3


On Wed, May 7, 2014 at 10:49 AM, Ian Young <iy...@ratespecial.com> wrote:

> I noticed that in Home > Infrastructure > Zones > Zone1, Resources tab,
> the Secondary Storage says "Allocated 0.00 KB / 0.00 KB".  However, the
> secondary storage NFS mount is listed in Home > Infrastructure > Secondary
> Storage and the URL is correct.  Does this mean the secondary storage is
> unreachable?
>
>
> On Wed, May 7, 2014 at 10:26 AM, Ian Young <iy...@ratespecial.com> wrote:
>
>> I reinstalled my single server CloudStack system yesterday, following the
>> quick start guide precisely.  The only difference was that I used
>> /var/primary and /var/secondary instead of /primary and /secondary, because
>> the /var partition on this machine is very large.  The UI installer reached
>> the point where it says "Creating system VMs (this may take a while)" but
>> never finished.  I left it overnight and it still hadn't completed.  This
>> is typically the step that fails, most of the times I've installed
>> CloudStack, so I imagine I must be making the same fundamental mistake each
>> time, and I'd like to know what that is.
>>
>> I checked management.log and it's in a loop where it creates a secondary
>> storage VM, fails to start it, destroys it, and tries again.  It says Host
>> 1 is unreachable but I'm using the correct password, SELinux is permissive,
>> and all the iptables rules are in place.  In what way is it trying to
>> connect to Host 1?  SSH?  NFS?  Here's a log excerpt of messages related to
>> the SSVM:
>>
>> http://pastebin.com/X11A51bh
>>
>> NFS appears to be functional, since CloudStack automatically mounted the
>> primary storage.
>>
>> Filesystem            Size  Used Avail Use% Mounted on
>> /dev/sda3              20G  1.8G   17G  10% /
>> tmpfs                  32G     0   32G   0% /dev/shm
>> /dev/sda1             194M   42M  143M  23% /boot
>> /dev/sda4             1.8T  1.9G  1.7T   1% /var
>> 192.168.100.6:/var/primary
>>                       1.8T  1.9G  1.7T   1%
>> /mnt/0594caa2-ceb4-36c6-9b13-0ff149a130af
>>
>> How can I identify whatever it is that's preventing the SSVM from
>> starting?  Here is another log excerpt, without any filtering:
>>
>> http://pastebin.com/XsPGJQik
>>
>
>

Re: new installation--ssvm won't start

Posted by Ian Young <iy...@ratespecial.com>.
I noticed that in Home > Infrastructure > Zones > Zone1, Resources tab, the
Secondary Storage says "Allocated 0.00 KB / 0.00 KB".  However, the
secondary storage NFS mount is listed in Home > Infrastructure > Secondary
Storage and the URL is correct.  Does this mean the secondary storage is
unreachable?


On Wed, May 7, 2014 at 10:26 AM, Ian Young <iy...@ratespecial.com> wrote:

> I reinstalled my single server CloudStack system yesterday, following the
> quick start guide precisely.  The only difference was that I used
> /var/primary and /var/secondary instead of /primary and /secondary, because
> the /var partition on this machine is very large.  The UI installer reached
> the point where it says "Creating system VMs (this may take a while)" but
> never finished.  I left it overnight and it still hadn't completed.  This
> is typically the step that fails, most of the times I've installed
> CloudStack, so I imagine I must be making the same fundamental mistake each
> time, and I'd like to know what that is.
>
> I checked management.log and it's in a loop where it creates a secondary
> storage VM, fails to start it, destroys it, and tries again.  It says Host
> 1 is unreachable but I'm using the correct password, SELinux is permissive,
> and all the iptables rules are in place.  In what way is it trying to
> connect to Host 1?  SSH?  NFS?  Here's a log excerpt of messages related to
> the SSVM:
>
> http://pastebin.com/X11A51bh
>
> NFS appears to be functional, since CloudStack automatically mounted the
> primary storage.
>
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sda3              20G  1.8G   17G  10% /
> tmpfs                  32G     0   32G   0% /dev/shm
> /dev/sda1             194M   42M  143M  23% /boot
> /dev/sda4             1.8T  1.9G  1.7T   1% /var
> 192.168.100.6:/var/primary
>                       1.8T  1.9G  1.7T   1%
> /mnt/0594caa2-ceb4-36c6-9b13-0ff149a130af
>
> How can I identify whatever it is that's preventing the SSVM from
> starting?  Here is another log excerpt, without any filtering:
>
> http://pastebin.com/XsPGJQik
>