[
https://issues.apache.org/jira/browse/CLOUDSTACK-1736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13608444#comment-13608444
]
angeline shen commented on CLOUDSTACK-1736:
-------------------------------------------
1. attachment asf4.1cloud_ubuntu1204_release.doc - On MS ubuntu 12.04
ASF 4.1
output of cd /; find . -name 'cloud*' -print shows:
./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
this file can be compared with next attachment
asf4.1cloud_centos63_release.doc - On MS Centos 6.3 ASF 4.1
output of cd /; find . -name 'cloud*' -print shows:
./usr/bin/cloudstack-set-guest-password
./usr/bin/cloudstack-migrate-databases
./usr/bin/cloudstack-update-xenserver-licenses
./usr/bin/cloudstack-setup-encryption
./usr/bin/cloudstack-aws-api-register
./usr/bin/cloudstack-setup-databases
./usr/bin/cloudstack-sysvmadm
./usr/bin/cloudstack-external-ipallocator.py
./usr/bin/cloudstack-setup-management
./usr/bin/cloudstack-set-guest-sshkey
./usr/bin/cloudstack-setup-bridge
2. attachment MS ubuntu 12.04
/var/log/cloudstack/management/setupManagement.log
3. attachment iptables_13324.doc : output of iptables-save after the first
failure of cloudstack-setup-management
then I attempted to execute the commands in setupManagement.log.
originally, in /etc/ufw/ufw.conf : ENABLED=no
I changed /etc/ufw/ufw.conf : ENABLED=yes
service ufw restart
Tried to execute commands in setupManagement.log.
attachment ip1.doc is output of iptables-save after executing commands in
setupManagement.log.
Sorry, I am neophyte to ubuntu 12.04, googling to learn how to work iptables
in Ubuntu 12.04
4. On MS:
# service cloudstack-management start
cloud-management is not installed
But I did all the cloudstack-management installation:
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
> 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
> Environment: MS ubuntu 12.04
> Reporter: angeline shen
> Assignee: Prasanna Santhanam
> Priority: Blocker
> Fix For: 4.1.0
>
> Attachments: asf4.1cloud_centos63_release.doc,
> asf4.1cloud_ubuntu1204_release.doc, 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