incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhinav Roy (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CLOUDSTACK-11) Not able to install ASF 4.0 on Rhel 6.2
Date Fri, 07 Sep 2012 08:44:07 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-11?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Abhinav Roy closed CLOUDSTACK-11.
---------------------------------

    Resolution: Fixed

Closing the issue as we got the proper steps and the installation is going fine now. Here
are the steps :-

1. Copy the following packages into one folder :
 
    cloud-agent-scripts-4.0-1.el6.x86_64.rpm  
    cloud-client-4.0-1.el6.x86_64.rpm     
    cloud-core-4.0-1.el6.x86_64.rpm  
    cloud-python-4.0-1.el6.x86_64.rpm  
    cloud-setup-4.0-1.el6.x86_64.rpm
    cloud-aws-api-4.0-1.el6.x86_64.rpm
    cloud-client-ui-4.0-1.el6.x86_64.rpm 
    cloud-deps-4.0-1.el6.x86_64.rpm  
    cloud-server-4.0-1.el6.x86_64.rpm 
    cloud-utils-4.0-1.el6.x86_64.rpm

2. Go into that folder and install the packages
    rpm -Uvh *.rpm

3. Install the DB server
    yum install mysql-server mysql

4. Enable mysqld
    service mysqld start

5. Login to mysql and grant access privileges to remote users,
    mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;

6.  Restart mysqld
     service mysqld restart

7.  Open mysql server port 3306
     iptables -I INPUT -p tcp --dport 3306 -j ACCEPT

8.  Edit the /etc/sysconfig/iptables file and add the following line at the beginning of the
INPUT chain:
     -A INPUT -p tcp --dport 3306 -j ACCEPT

9. Set up the database
    cloud-setup-databases cloud:<dbpassword>@localhost --deploy-as=root:<password>
    -e  <encryption_type> -m <management_server_key> -k <database_key>

**** If setting up databases gives this error 
      Cloud DB required file /usr/share/java/cloud-jasypt-1.8.jar was not found
      Then,
      make sure /usr/local/bin/cloud-setup-databases has 
     "encryptionJarPath = '/usr/share/java/jasypt-1.9.0.jar'"
      Repeat step 9.
**** 
     

10. cloud-setup-management
    
                
> Not able to install ASF 4.0 on Rhel 6.2
> ---------------------------------------
>
>                 Key: CLOUDSTACK-11
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-11
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Install and Setup
>    Affects Versions: pre-4.0.0
>         Environment: Platform : Rhel 6.2
> CloudStack build : asf4.0.rpm.tar
>            Reporter: Abhinav Roy
>            Assignee: edison su
>            Priority: Blocker
>             Fix For: pre-4.0.0
>
>
> Steps Executed :- 
> 1. Copied the tar file asf4.0.rpm.tar on the rhel machine.    --- It was successful
> 2. Untar the file.                                                             ---  It
was successful
> 3. rpm -Uvh *.rpm                                                           --- This
gave following output
> error: Failed dependencies:
>         /usr/sbin/libvirtd is needed by cloud-agent-4.0-1.el6.x86_64
>         ebtables is needed by cloud-agent-4.0-1.el6.x86_64
>         jna is needed by cloud-agent-4.0-1.el6.x86_64
>         jsvc is needed by cloud-agent-4.0-1.el6.x86_64
>         kvm is needed by cloud-agent-4.0-1.el6.x86_64
>         libvirt is needed by cloud-agent-4.0-1.el6.x86_64
>         qemu-img is needed by cloud-agent-4.0-1.el6.x86_64
>         PING is needed by cloud-baremetal-agent-4.0-1.el6.x86_64
>         syslinux is needed by cloud-baremetal-agent-4.0-1.el6.x86_64
>         tftp-server is needed by cloud-baremetal-agent-4.0-1.el6.x86_64
>         xinetd is needed by cloud-baremetal-agent-4.0-1.el6.x86_64
>         jsvc is needed by cloud-usage-4.0-1.el6.x86_64
> After this I installed all above mentioned packages by 'yum install <package name>........

> expect jsvc and PING.
> Downloaded jsvc from net and installed but couldn't find PING. So, removed the baremetal
package(just for trial) 
> 4. rpm -Uvh *.rpm                                                              --- This
time install was successful.
> 5. cloud-setup-databases                                                   --- Gave the
following error
> "Cloud DB required file /usr/share/java/cloud-jasypt-1.8.jar was not found "
> -------- We are not able to proceed with the installation due to the above mentioned
issues. Please let us know the workaround/correct installation steps.

--
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

Mime
View raw message