You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Abhinandan Prateek (JIRA)" <ji...@apache.org> on 2013/10/04 08:18:57 UTC
[jira] [Updated] (CLOUDSTACK-4072) [DOC][upgrade][2.2.14 to
4.2][CentOS5 RPM builds] mysql-connector-java rpm dependency while
upgrading from 2.2.14 to 4.2
[ https://issues.apache.org/jira/browse/CLOUDSTACK-4072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Abhinandan Prateek updated CLOUDSTACK-4072:
-------------------------------------------
Fix Version/s: (was: 4.2.0)
4.2.1
> [DOC][upgrade][2.2.14 to 4.2][CentOS5 RPM builds] mysql-connector-java rpm dependency while upgrading from 2.2.14 to 4.2
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-4072
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4072
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: Doc, Packaging
> Affects Versions: 4.2.0
> Environment: MS : CentOS 5.6
> Host : ESX 4.1
> Rhel 5 builds are used to install and upgrade
> Reporter: Abhinav Roy
> Priority: Critical
> Fix For: 4.2.1
>
>
> Steps :
> ===================
> 1. Install CS advanced zone setup on CentOS 5.6 management server with Rhel 5 build for 2.2.14
> 2. Do some operations before upgrade.
> 3. Upgrade to 4.2 , rhel 5 build .
> Upgrade fails with this dependency :
> [root@MS-CentOS56 CloudPlatform-4.2-4.2-55-rhel5]# ./install.sh
> Setting up the temporary repository...
> Cleaning Yum cache...
> Loaded plugins: fastestmirror
> 7 metadata files removed
> Welcome to the CloudPlatform Installer. What would you like to do?
> NOTE: For installing KVM agent, please setup EPEL<http://fedoraproject.org/wiki/EPEL> yum repo first;
> For installing CloudPlatform on RHEL6.x, please setup distribution yum repo either from ISO or from your registeration account.
> 3.We detect you already have MySql server installed, you can bypass mysql install chapter in CloudPlatform installation guide.
> Or you can use E) to remove current mysql then re-run install.sh selecting D) to reinstall if you think existing MySql server has some trouble.
> For MySql downloaded from community, the script may not be able to detect it.
> M) Install the Management Server
> A) Install the Agent
> B) Install BareMetal Agent
> S) Install the Usage Monitor
> U) Upgrade the CloudPlatform packages installed on this computer
> R) Stop any running CloudPlatform services and remove the CloudPlatform packages from this computer
> E) Remove the MySQL server (will not remove the MySQL databases)
> Q) Quit
> > u
> Updating the CloudPlatform and its dependencies...
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
> * base: centos.mirror.net.in
> * extras: centos.mirror.net.in
> * updates: centos.mirror.net.in
> base
> cloud-temp
> cloud-temp/primary
> cloud-temp
> extras
> updates
> Setting up Update Process
> Resolving Dependencies
> --> Running transaction check
> ---> Package cloudstack-common.x86_64 0:4.2.0-SNAPSHOT.el5 set to be updated
> ---> Package cloudstack-management.x86_64 0:4.2.0-SNAPSHOT.el5 set to be updated
> --> Processing Dependency: cloudstack-awsapi = 4.2.0 for package: cloudstack-management
> --> Processing Dependency: mysql-connector-java for package: cloudstack-management
> --> Running transaction check
> ---> Package cloudstack-awsapi.x86_64 0:4.2.0-SNAPSHOT.el5 set to be updated
> ---> Package cloudstack-management.x86_64 0:4.2.0-SNAPSHOT.el5 set to be updated
> --> Processing Dependency: mysql-connector-java for package: cloudstack-management
> --> Finished Dependency Resolution
> cloudstack-management-4.2.0-SNAPSHOT.el5.x86_64 from cloud-temp has depsolving problems
> --> Missing Dependency: mysql-connector-java is needed by package cloudstack-management-4.2.0-SNAPSHOT.el5.x86_64 (cloud-temp)
> Error: Missing Dependency: mysql-connector-java is needed by package cloudstack-management-4.2.0-SNAPSHOT.el5.x86_64 (cloud-temp)
> You could try using --skip-broken to work around the problem
> You could try running: package-cleanup --problems
> package-cleanup --dupes
> rpm -Va --nofiles --nodigest
> The program package-cleanup is found in the yum-utils package.
> workaround : Download that package from http://dl.fedoraproject.org/pub/epel/5/x86_64/ ........ follow the instructions at http://pkgs.org/centos-5-rhel-5/epel-i386/mysql-connector-java-5.1.12-2.el5.i386.rpm.html .
--
This message was sent by Atlassian JIRA
(v6.1#6144)