Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B4E44116F3 for ; Mon, 12 May 2014 22:40:49 +0000 (UTC) Received: (qmail 23700 invoked by uid 500); 12 May 2014 22:40:44 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 23650 invoked by uid 500); 12 May 2014 22:40:44 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 23642 invoked by uid 99); 12 May 2014 22:40:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 May 2014 22:40:43 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of iyoung@ratespecial.com designates 209.85.223.182 as permitted sender) Received: from [209.85.223.182] (HELO mail-ie0-f182.google.com) (209.85.223.182) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 May 2014 22:40:40 +0000 Received: by mail-ie0-f182.google.com with SMTP id to1so700074ieb.41 for ; Mon, 12 May 2014 15:40:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ratespecial.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=RG0exHQZWjUyUR0FVBK3sHgSHjM5qBSQFqU272dbCsw=; b=efUL0ca1sfWSF/3Jxsv2yS5s5HzUhXtcyQaksrRavW6/d3oDjbvWy78a68+MZ25cLC 5zsMxJX0FeT7T5FiXDG3DtdHKnzAd74RYq+CTHquR5L0XCSFS7UQEeeLgWfYTLmoxRAb leOXarzCMjXZ/bsiv7hbKiv6gUGvrvx3nXxLM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=RG0exHQZWjUyUR0FVBK3sHgSHjM5qBSQFqU272dbCsw=; b=ahAut3KNFsg5JbD0Ko8hBODPQVl0nQflansPv/XM2oUmAk3o+3zTk66P0HlgKXoAVk eUZ5TjGV92vQph3MrzBqMjWK18c1UT92TYmHbVDcCesBAzz7iAXdO4f/jCMDSA1l4pvb m+RZGkbQBk+6WKzDUB2x9udZ0pB85zPPE6Lo2oDlAhuRVMQAK0tIanNrVGYBc1SgILlu jabhxLlOwD5mX6SYRWwr3tmF20Bd4SQp7VKrTT3GXDtYl9EIVn7ZUzTkp2eZxjeopR3w U0xpjmSaC+MILwMelgMlqrjQqbzD7H7kl+WCT6uNxIwpdz/4EmFCiO+qoZrF+XtpRxGF Ew6A== X-Gm-Message-State: ALoCoQlLuTys4OQunw4H6+FLP5IiVOxGXIP2ZQlbz8iCmSUrKtBTC+fxDGo4gkxFCBJSbq4sn7Xx MIME-Version: 1.0 X-Received: by 10.50.2.8 with SMTP id 8mr48419076igq.32.1399934419421; Mon, 12 May 2014 15:40:19 -0700 (PDT) Received: by 10.50.114.98 with HTTP; Mon, 12 May 2014 15:40:19 -0700 (PDT) In-Reply-To: References: Date: Mon, 12 May 2014 15:40:19 -0700 Message-ID: Subject: Re: new installation--ssvm won't start From: Ian Young To: users@cloudstack.apache.org Content-Type: multipart/alternative; boundary=089e0115ff70c7609e04f93ba1ce X-Virus-Checked: Checked by ClamAV on apache.org --089e0115ff70c7609e04f93ba1ce Content-Type: text/plain; charset=UTF-8 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 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 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 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 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 >>>> >>> >>> >> > --089e0115ff70c7609e04f93ba1ce--