Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CFF96F5F5 for ; Mon, 25 Mar 2013 17:25:15 +0000 (UTC) Received: (qmail 20541 invoked by uid 500); 25 Mar 2013 17:25:15 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 20525 invoked by uid 500); 25 Mar 2013 17:25:15 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 20418 invoked by uid 500); 25 Mar 2013 17:25:15 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 20376 invoked by uid 99); 25 Mar 2013 17:25:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Mar 2013 17:25:15 +0000 Date: Mon, 25 Mar 2013 17:25:15 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-1736) Ubuntu 12.04 cloud-setup-management Failed to configure CloudStack Management Server MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-1736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13612867#comment-13612867 ] ASF subversion and git services commented on CLOUDSTACK-1736: ------------------------------------------------------------- Commit ae3a04835096f3e2f8dd659a33ac46348e46b670 in branch refs/heads/master from [~wolfencom] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=ae3a048 ] CLOUDSTACK-1736: Changes required to get cloudstack-management service working again. The newly created package for cloudstack-management was not correctly installing the service. This prevented cloud-setup-management from being able to configure the service, and the init script didn't even believe the service was installed. I also added sudo to the chmod command for checking script permissions, as most scripts belong to root. It was trying to configure the agent with cloudstack-setup-agent but the script was still called cloud-setup-agent, so I renamed it to cloudstack-setup-agent. > Ubuntu 12.04 cloud-setup-management Failed to configure CloudStack Management Server > -------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-1736 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1736 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Management Server > Affects Versions: 4.1.0, 4.2.0 > Environment: MS ubuntu 12.04 > Reporter: angeline shen > Assignee: Chip Childers > Priority: Blocker > Fix For: 4.1.0, 4.2.0 > > Attachments: Apache_CloudStack-4 1 0-Installation_Guide-en-US.pdf, asf4.1cloud_centos63_release.doc, asf4.1cloud_ubuntu1204_release.doc, CLOUDSTACK-1736-1.patch, ip1.doc, iptables_13324.doc, setupManagement.doc.log > > > 1. http://jenkins.cloudstack.org/job/package-deb-4.1/ contains cloudstack debian packages to be installed for Ubuntu 12.04 OS based management server. > 2. MS1: setup up APT repository containing above packges in MS1:/var/www/cloudstack/repo/binary > 3. MS2: To configure MS2 to make use of MS1's APT repository for installation, > in MS2 create /etc/apt/sources.list.d/cloudstack.list with following content: > deb http://MS1 IP address/cloudstack/repo binary ./ > 4. MS2: > apt-get install cloud-management > apt-get install cloudstack-awsapi > apt-get install cloudstack-cli > apt-get install cloudstack-usage > root@angie:/var/log/cloudstack/management# dpkg -l | grep cloudstack > ii cloudstack-awsapi 4.1.0-incubating-0.0.snapshot CloudStack Amazon EC2 API > ii cloudstack-cli 4.1.0-incubating-0.0.snapshot The CloudStack CLI called CloudMonkey > ii cloudstack-common 4.1.0-incubating-0.0.snapshot A common package which contains files which are shared by several CloudStack packages > ii cloudstack-management 4.1.0-incubating-0.0.snapshot CloudStack server library > ii cloudstack-usage 4.1.0-incubating-0.0.snapshot CloudStack usage monitor > root@angie:/# cd / > root@angie:/# find . -name 'cloud*' -print > .... > ./usr/bin/cloud-update-xenserver-licenses > ./usr/bin/cloud-setup-databases > ./usr/bin/cloud-set-guest-sshkey > ./usr/bin/cloud-set-guest-password > ./usr/bin/cloud-migrate-databases > ./usr/bin/cloud-setup-management > ...... > 5. root@angie:/usr/bin# cloud-setup-databases cloud@localhost --deploy-as=root > Mysql user name:cloud [ OK ] > Mysql user password: [ OK ] > Mysql server ip:localhost [ OK ] > Mysql server port:3306 [ OK ] > Mysql root user name:root [ OK ] > Mysql root user password: [ OK ] > Checking Cloud database files ... [ OK ] > Checking local machine hostname ... [ OK ] > Checking SELinux setup ... [ OK ] > Detected local IP address as 10.223.133.24, will use as cluster management server node IP[ OK ] > Preparing /etc/cloudstack/management/db.properties [ OK ] > Applying /usr/share/cloudstack-management/setup/create-database.sql [ OK ] > Applying /usr/share/cloudstack-management/setup/create-schema.sql [ OK ] > Applying /usr/share/cloudstack-management/setup/create-database-premium.sql [ OK ] > Applying /usr/share/cloudstack-management/setup/create-schema-premium.sql [ OK ] > Applying /usr/share/cloudstack-management/setup/server-setup.sql [ OK ] > Applying /usr/share/cloudstack-management/setup/templates.sql [ OK ] > Processing encryption ... [ OK ] > Finalizing setup ... [ OK ] > CloudStack has successfully initialized database, you can check your database configuration in /etc/cloudstack/management/db.properties > 6. root@angie:/var/log/cloudstack/management# cloud-setup-management > Starting to configure CloudStack Management Server: > Configure sudoers ... [OK] > Configure Firewall ... [OK] > Configure CloudStack Management Server ...[Failed] > Failed to configure CloudStack Management Server, please see the /var/log/cloudstack/setupManagement.log for detail > Try to restore your system: > Restore sudoers ... [OK] > Restore Firewall ... [OK] > Restore CloudStack Management Server ...[OK] > Problems: > 1. cloud-setup-managment FAILed > 2. no managment-server.log generated in /var/log/cloudstack/management -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira