Return-Path: X-Original-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9CC7CE94E for ; Wed, 21 Nov 2012 08:03:20 +0000 (UTC) Received: (qmail 51653 invoked by uid 500); 21 Nov 2012 08:03:20 -0000 Delivered-To: apmail-incubator-cloudstack-users-archive@incubator.apache.org Received: (qmail 51595 invoked by uid 500); 21 Nov 2012 08:03:19 -0000 Mailing-List: contact cloudstack-users-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-users@incubator.apache.org Delivered-To: mailing list cloudstack-users@incubator.apache.org Received: (qmail 51570 invoked by uid 99); 21 Nov 2012 08:03:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Nov 2012 08:03:19 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [193.169.209.1] (HELO dkdix076p.privathost.dk) (193.169.209.1) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Nov 2012 08:03:12 +0000 Received: from localhost (localhost [127.0.0.1]) by dkdix076p.privathost.dk (Postfix) with ESMTP id DE1159D636 for ; Wed, 21 Nov 2012 09:02:50 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at dkdix076p.privathost.dk Received: from dkdix076p.privathost.dk ([127.0.0.1]) by localhost (dkdix076p.privathost.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gN8rDcyeR-ou for ; Wed, 21 Nov 2012 09:02:50 +0100 (CET) Received: from DKNB000044 (unknown [80.72.147.66]) (Authenticated sender: vrod@vrod.dk) by dkdix076p.privathost.dk (Postfix) with ESMTPSA id 666649D635 for ; Wed, 21 Nov 2012 09:02:50 +0100 (CET) From: "Christoffer Pedersen" To: References: <013301cdc706$6a8bcb10$3fa36130$@vrod.dk> In-Reply-To: Subject: RE: Cloudstack 4 (Incubating) not working Date: Wed, 21 Nov 2012 09:02:43 +0100 Message-ID: <007901cdc7be$99f13d50$cdd3b7f0$@vrod.dk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQKe5SkzUvewSiuihDY8P9jJCw7f/QHTOPAFlkMYtUA= Content-Language: da X-Virus-Checked: Checked by ClamAV on apache.org Hi, I figured out that i had to run cloud-setup-management (doh) before it would start working but this is not shown in the guide that you have to run this. I only found out that you had to do this by scrolling to the "setup separate management server"-section where the command should be issued. Thanks, - Chris -----Original Message----- From: Edison Su [mailto:Edison.su@citrix.com] Sent: 20. november 2012 19:37 To: cloudstack-users@incubator.apache.org Subject: RE: Cloudstack 4 (Incubating) not working > -----Original Message----- > From: Christoffer Pedersen [mailto:vrod@vrod.dk] > Sent: Tuesday, November 20, 2012 2:04 AM > To: cloudstack-users@incubator.apache.org > Subject: Cloudstack 4 (Incubating) not working > > Hello there, > > > > I am trying to set up a Cloudstack version 4.0.0 based (Incubating) > infrastructure. I have 1 management-server hosted on a > ESXi5-hypervisor as a VM, and 2 physical hypervisors. All systems are Ubuntu 12.04. > > > > The hypervisors should access the Primary storage through a 4Gbit > FibreChannel setup through HBA's which i have setup and works. All the > ISO's are placed on a NFS-server which is also setup and works. > > > > I have followed the official install guide for CS4 (Incubating) but > after the installation was done, i could not access the user interface > (simply gave me a tomcat error). After a reboot of the management > server, i could now see the UI, but not login. I looked in the management server log, and found this: > > > > 2012-11-20 10:23:12,937 DEBUG [utils.script.Script] (main:null) Executing: > sudo keytool -genkey -keystore /etc/cloud/management/cloud.keystore > -storepass vmops.com -keypass vmops.com -keyalg RSA -validity 3650 - > dname cn="Cloudstack User",ou="",o="",c="Unknown" > > 2012-11-20 10:23:12,953 DEBUG [utils.script.Script] (main:null) Exit > value is 1 > > 2012-11-20 10:23:12,954 DEBUG [utils.script.Script] (main:null) sudo: > no tty present and no askpass program specifiedSorry, try again.sudo: > no tty present and no askpass program specifiedSorry, try again.sudo: > no tty present and no askpass program specifiedSorry, try again.sudo: > 3 incorrect password attempts > > > > I then tried to add "Defaults visiblepw" to my /etc/sudoers file, but > now i get > this: Do you run cloud-setup-management before start management server, the " requiretty " in /etc/sudoers should be removed. > > > > 2012-11-20 10:41:55,761 DEBUG [utils.script.Script] (main:null) Executing: > sudo keytool -genkey -keystore /etc/cloud/management/cloud.keystore > -storepass vmops.com -keypass vmops.com -keyalg RSA -validity 3650 - > dname cn="Cloudstack User",ou="",o="",c="Unknown" > > 2012-11-20 10:42:00,774 WARN [utils.script.Script] (Script-1:null) > Interrupting script. It seems timeout when running above command. Can you manually execute above command? > > > > The UI is not reachable anymore, even though the tomcat service is > still listening on that port. I followed the guide exactly as you > should and this is the second time I try. Any ideas? > > > > - Chris > > > >