I did not test using a repo. I always build from source for the non-oss 
support. 


Steven Searles  | [email protected]
Zimcom Internet Solutions  | www.zimcom.net <http://www.zimcom.net/>
O: 513.231.9500  |  D: 513.233.4130












On 2/29/16, 1:02 PM, "Cristian Ciobanu" <[email protected]> wrote:

>Hello,
>
>    From what i see you have your ACS installed from source, i'm not sure what 
> will happen if i try to upgrade from 4.5.2 to 4.8 using repo, did someone 
> tested  ? or you ?
>
>
>Regards,
>Cristian
>www.istream.today [http://www.istream.today/]
>www.shape.host [http://www.shape.host/]
>+40.733.955.922
>On 29.02.2016 19:55:06, Steve Searles <[email protected]> wrote:
>I believe I have solved this issue.   It appears that ./package.sh is not 
>honoring the —pack noredist but will honor –p noredist.  I noticed that the 
>vmware module was being built during the initial compile but not when using 
>the packager even though it echoes the proper build env back during the 
>process. 
>
> --pack:simulator:distribution:release noredist —
>
>I changed 
>
>./package.sh —pack noredist —distribution centos63
>
>TO 
>
>./package.sh –p noredist –d centos63 
>
>The package script seems to be having issues with the — format as 
>—distribution was not recognized either but –d is. 
>
>
>Hope this helps anyone else who may run into this issue. 
>
>
>Steven Searles | ssearles@zimcom [mailto:[email protected]]
>Zimcom Internet Solutions  | www.zimcom.net [http://www.zimcom.net/]
>O: 513.231.9500  |  D: 513.233.4130
>
>
>
>From: Steve Searles <[email protected] [mailto:[email protected]]>
>Reply-To: "[email protected] [mailto:[email protected]]"; 
><[email protected] [mailto:[email protected]]>
>Date: Monday, February 29, 2016 at 12:19 PM
>To: "[email protected] [mailto:[email protected]]"; 
><[email protected] [mailto:[email protected]]>
>Subject: Re: UPDATE: Upgrade from 4.5.2 to 4.7 Vmware broken for me and now 
>4.8 as well.
>
>
>Rohit, thank you for the reply. I will grab your binaries and give it a shot. 
>Not sure if others are seeing this build problem so I would like to get it 
>resolved for their benefit as well.  I have built CS from source for the last 
>several versions and am aware of how to perform a non-oss build.  It seems 
>that I must be missing something in the process with 4.6-4.8.  In my lab I 
>still have 4.5.2 running with vmware support without issue.  I will walk 
>through the process and perhaps someone on list can point out my error. 
>
>* Downloaded the newest version apache-cloudstack-4.8.0-src.tar.bz2. 
>* I noticed that the release notes contain the following caveat “Build 
>Dependency when building Apache CloudStack with noredist, it now require the 
>file deps/vim25_55.jar available from vSphere SDK 5.5, 
>VMware-vSphere-SDK-5.5.0-1284541.zip”  I can assume we should use 
>./vsphere-ws/java/JAXWS/lib/vim25.jar from the SDK and rename it? The 
>documentation has no mention of this???   Since the MD5 sums match on this 
>file and the file that has been renamed via the mail archive as indicated 
>below I assume this is true and the documentation needs to be updated? (See 
>Below)
>* Downloaded VMware-vSphere-SDK-5.5.0-1284541.zip
>* Noticed that VMware-vSphere-SDK-5.5.0-1284541.zip does not contain 
>vim25_55.jar as indicated.  (See Below)
>[root@csmgmt01 ss]# ls -asl
>total 50100
>    4 drwxr-xr-x.  3 root root     4096 Feb 26 12:42 .
>    4 dr-xr-x---. 16 root root     4096 Feb 29 11:14 ..
>    4 drwxr-xr-x.  7 root root     4096 Feb 26 12:44 SDK
>50088 -rw-r-----.  1 root root 51284262 Feb 26 12:42 
>VMware-vSphere-SDK-5.5.0-1284541.zip
>[root@csmgmt01 ss]# cd SDK/
>[root@csmgmt01 SDK]# ls
>eam  open_source_licenses.txt  sms-sdk  spbm  ssoclient  VMware vSphere Mgmt 
>SDK-License Agmt.docx  vSphereManagementSDKReadme.html  vsphere-ws
>[root@csmgmt01 SDK]# find ./ -name vim25_55.jar
>[root@csmgmt01 SDK]#
>
>     5.  Found a version of vim25_55.jar online from this article on the list  
> http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201512.mbox/%[email protected]%3E
>  
> [http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201512.mbox/%[email protected]%3E]
>    so I grabbed it and attempted to use it. 
>     6. Copied the vim25_55.jar from the site above to the ./deps folder in my 
> source tree and ran install-non-oss.sh which completed without error, I also 
> checked this file against the file in the official SDK with the wrong name 
> and they seem to match. 
>
>[root@csmgmt01 deps]# pwd
>/usr/local/src/cs-4.8.0/deps
>[root@csmgmt01 deps]# 
>[root@csmgmt01 deps]# 
>[root@csmgmt01 deps]# ls -lash vim25_55.jar 
>3.4M -rw-r--r--. 1 root root 3.4M Feb 26 12:57 vim25_55.jar
>[root@csmgmt01 deps]# ls -las vim25_55.jar 
>3480 -rw-r--r--. 1 root root 3561084 Feb 26 12:57 vim25_55.jar
>[root@csmgmt01 deps]# md5sum vim25_55.jar 
>db14abf8347c6244c5143299d97a9abb  vim25_55.jar
>[root@csmgmt01 deps]# 
>
>
>[root@csmgmt01 SDK]# md5sum ./vsphere-ws/java/JAXWS/lib/vim25.jar
>db14abf8347c6244c5143299d97a9abb  ./vsphere-ws/java/JAXWS/lib/vim25.jar
>[root@csmgmt01 SDK]# md5sum /usr/local/src/cs-4.8.0/deps/vim25_55.jar 
>db14abf8347c6244c5143299d97a9abb  /usr/local/src/cs-4.8.0/deps/vim25_55.jar
>[root@csmgmt01 SDK]#
>
>
>./install-non-oss.sh
>
>[INFO] ------------------------------------------------------------------------
>[INFO] Building Maven Stub Project (No POM) 1
>[INFO] ------------------------------------------------------------------------
>[INFO] 
>[INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ 
>standalone-pom ---
>[INFO] Installing /usr/local/src/cs-4.8.0/deps/vim25_55.jar to 
>/root/.m2/repository/com/cloud/com/vmware/vmware-vim25/5.5/vmware-vim25-5.5.jar
>[INFO] ------------------------------------------------------------------------
>[INFO] BUILD SUCCESS
>[INFO] ------------------------------------------------------------------------
>[INFO] Total time: 0.506 s
>[INFO] Finished at: 2016-02-29T11:37:31-05:00
>[INFO] Final Memory: 6M/118M
>[INFO] ————————————————————————————————————
>
>LOOKS GOOD TO ME: 
>
>
>
>    7.  Complied Cloudstack with noredist option.  "mvn install –Dnoredist”  
> Apache CloudStack Plugin - Hypervisor VMware was added to the project (See 
> Below)
>
>
>
>[root@csmgmt01 cs-4.8.0]# mvn install -Dnoredist
>[INFO] Scanning for projects...
>[INFO] ------------------------------------------------------------------------
>[INFO] Reactor Build Order:
>[INFO] 
>[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration
>[INFO] Apache CloudStack
>[INFO] Apache CloudStack Maven Conventions Parent
>[INFO] Apache CloudStack Framework - Managed Context
>[INFO] Apache CloudStack Utils
>[INFO] Apache CloudStack Framework
>[INFO] Apache CloudStack Framework - Event Notification
>[INFO] Apache CloudStack Framework - Configuration
>[INFO] Apache CloudStack API
>[INFO] Apache CloudStack Framework - REST
>[INFO] Apache CloudStack Framework - IPC
>[INFO] Apache CloudStack Cloud Engine
>[INFO] Apache CloudStack Cloud Engine API
>[INFO] Apache CloudStack Framework - Security
>[INFO] Apache CloudStack Core
>[INFO] Apache CloudStack Agents
>[INFO] Apache CloudStack Framework - Clustering
>[INFO] Apache CloudStack Framework - Event Notification
>[INFO] Apache CloudStack Cloud Engine Schema Component
>[INFO] Apache CloudStack Framework - Jobs
>[INFO] Apache CloudStack Cloud Engine Internal Components API
>[INFO] Apache CloudStack Server
>[INFO] Apache CloudStack Framework - Quota
>[INFO] Apache CloudStack Usage Server
>[INFO] Apache CloudStack Cloud Engine Orchestration Component
>[INFO] Apache CloudStack Cloud Services
>[INFO] Apache CloudStack Secondary Storage
>[INFO] Apache CloudStack Secondary Storage Service
>[INFO] Apache CloudStack Engine Storage Component
>[INFO] Apache CloudStack Engine Storage Volume Component
>[INFO] Apache CloudStack Engine Storage Image Component
>[INFO] Apache CloudStack Engine Storage Data Motion Component
>[INFO] Apache CloudStack Engine Storage Cache Component
>[INFO] Apache CloudStack Engine Storage Snapshot Component
>[INFO] Apache CloudStack Cloud Engine API
>[INFO] Apache CloudStack Cloud Engine Service
>[INFO] Apache CloudStack Plugin POM
>[INFO] Apache CloudStack Plugin - API Rate Limit
>[INFO] Apache CloudStack Plugin - Storage Volume default provider
>[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider
>[INFO] Apache CloudStack Plugin - API SolidFire
>[INFO] Apache CloudStack Plugin - API Discovery
>[INFO] Apache CloudStack Plugin - ACL Static Role Based
>[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor
>[INFO] Apache CloudStack Plugin - Explicit Dedication Processor
>[INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner
>[INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner
>[INFO] Apache CloudStack Plugin - Implicit Dedication Planner
>[INFO] Apache CloudStack Plugin - Skip Heurestics Planner
>[INFO] Apache CloudStack Plugin - Host Allocator Random
>[INFO] Apache CloudStack Plugin - Dedicated Resources
>[INFO] Apache CloudStack Plugin - Hypervisor OracleVM
>[INFO] Apache CloudStack Plugin - Open vSwitch
>[INFO] Apache CloudStack Plugin - Hypervisor XenServer
>[INFO] Apache CloudStack Plugin - Hypervisor KVM
>[INFO] Apache CloudStack Plugin - RabbitMQ Event Bus
>[INFO] Apache CloudStack Plugin - In Memory Event Bus
>[INFO] Apache CloudStack Plugin - Kafka Event Bus
>[INFO] Apache CloudStack Plugin - Hypervisor Baremetal
>[INFO] Apache CloudStack Plugin - Hypervisor UCS
>[INFO] Apache CloudStack Plugin - Hypervisor Hyper-V
>[INFO] Apache CloudStack Plugin - Hypervisor OracleVM3
>[INFO] Apache CloudStack Plugin - Network Elastic Load Balancer
>[INFO] Apache CloudStack Plugin - Network Internal Load Balancer
>[INFO] Apache CloudStack Framework - Spring Life Cycle
>[INFO] Apache CloudStack Plugin - Network Juniper Contrail
>[INFO] Apache CloudStack Plugin - Palo Alto
>[INFO] Apache CloudStack Plugin - Network Netscaler
>[INFO] Apache CloudStack Plugin - Network Nicira NVP
>[INFO] Apache CloudStack Plugin - BigSwitch Virtual Network Segment
>[INFO] Apache CloudStack Plugin - Network Brocade VCS
>[INFO] Apache CloudStack Plugin - Midokura Midonet
>[INFO] Apache CloudStack Plugin - Stratosphere SSP
>[INFO] Apache CloudStack Plugin - Network Opendaylight
>[INFO] Apache CloudStack Plugin - Storage Allocator Random
>[INFO] Apache CloudStack Plugin - User Authenticator LDAP
>[INFO] Apache CloudStack Plugin - User Authenticator MD5
>[INFO] Apache CloudStack Plugin - User Authenticator PBKDF2-SHA-256
>[INFO] Apache CloudStack Plugin - User Authenticator Plain Text
>[INFO] Apache CloudStack Plugin - User Authenticator SAML2
>[INFO] Apache CloudStack Plugin - User Authenticator SHA256 Salted
>[INFO] Apache CloudStack Plugin - Dns Notifier Example
>[INFO] Apache CloudStack Plugin - Storage Image S3 provider
>[INFO] Apache CloudStack Plugin - Storage Image Swift provider
>[INFO] Apache CloudStack Plugin - Storage Image default provider
>[INFO] Apache CloudStack Plugin - Storage Image sample provider
>[INFO] Apache CloudStack Plugin - Storage Volume Nexenta Provider
>[INFO] Apache CloudStack Plugin - Storage Volume CloudByte Provider
>[INFO] Apache CloudStack Plugin - Storage Volume sample provider
>[INFO] Apache CloudStack Plugin - SNMP Alerts
>[INFO] Apache CloudStack Plugin - Syslog Alerts
>[INFO] Apache CloudStack Plugin - Network VXLAN
>[INFO] Apache CloudStack Plugin - GloboDNS
>[INFO] Apache CloudStack Plugin - Quota Service
>[INFO] Apache CloudStack Plugin - NetApp File System
>[INFO] Apache CloudStack Plugin - F5
>[INFO] Apache CloudStack Plugin - Juniper SRX
>[INFO] Apache CloudStack Plugin - Nuage VSP
>[INFO] Apache CloudStack VMware Base
>[INFO] Apache CloudStack Plugin - Hypervisor VMware
>[INFO] Apache CloudStack Plugin - Cisco VNMC
>[INFO] Apache CloudStack Plugin - MySQL HA Strategy
>[INFO] Apache CloudStack Framework - Spring Module
>[INFO] Apache CloudStack Secondary Storage Controller
>[INFO] Apache CloudStack Client UI
>[INFO] Apache CloudStack Console Proxy - RDP Client
>[INFO] Apache CloudStack Console Proxy
>[INFO] Apache CloudStack Console Proxy - Server
>[INFO] Apache CloudStack Framework - QuickCloud
>[INFO] 
>….
>….
>…..
>Below is the relevant build section for vmware. 
>
>…….
>…….
>[INFO] 
>[INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ cloud-plugin-network-vsp 
>---
>[INFO] Building jar: 
>/usr/local/src/cs-4.8.0/plugins/network-elements/nuage-vsp/target/cloud-plugin-network-vsp-4.8.0.jar
>[INFO] 
>[INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @ 
>cloud-plugin-network-vsp ---
>[INFO] 
>[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ 
>cloud-plugin-network-vsp ---
>[INFO] Installing 
>/usr/local/src/cs-4.8.0/plugins/network-elements/nuage-vsp/target/cloud-plugin-network-vsp-4.8.0.jar
> to 
>/root/.m2/repository/org/apache/cloudstack/cloud-plugin-network-vsp/4.8.0/cloud-plugin-network-vsp-4.8.0.jar
>[INFO] Installing 
>/usr/local/src/cs-4.8.0/plugins/network-elements/nuage-vsp/pom.xml to 
>/root/.m2/repository/org/apache/cloudstack/cloud-plugin-network-vsp/4.8.0/cloud-plugin-network-vsp-4.8.0.pom
>[INFO]                                                                         
>[INFO] ------------------------------------------------------------------------
>[INFO] Building Apache CloudStack VMware Base 4.8.0
>[INFO] ------------------------------------------------------------------------
>[INFO] 
>[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
>cloud-vmware-base ---
>[INFO] Starting audit...
>Audit done.
>
>[INFO] 
>[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
>cloud-vmware-base ---
>[INFO] 
>[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
>cloud-vmware-base ---
>[debug] execute contextualize
>[INFO] Using 'UTF-8' encoding to copy filtered resources.
>[INFO] skip non existing resourceDirectory 
>/usr/local/src/cs-4.8.0/vmware-base/resources
>[INFO] Copying 3 resources
>[INFO] 
>[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ 
>cloud-vmware-base ---
>[INFO] Nothing to compile - all classes are up to date
>[INFO] 
>[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
>cloud-vmware-base ---
>[debug] execute contextualize
>[INFO] Using 'UTF-8' encoding to copy filtered resources.
>[INFO] skip non existing resourceDirectory 
>/usr/local/src/cs-4.8.0/vmware-base/test/resources
>[INFO] Copying 3 resources
>[INFO] 
>[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
>cloud-vmware-base ---
>[INFO] Nothing to compile - all classes are up to date
>[INFO] 
>[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ 
>cloud-vmware-base ---
>[INFO] Surefire report directory: 
>/usr/local/src/cs-4.8.0/vmware-base/target/surefire-reports
>
>-------------------------------------------------------
> T E S T S
>-------------------------------------------------------
>Running com.cloud.hypervisor.vmware.util.VmwareContextTest
>log4j:WARN No appenders could be found for logger 
>(com.cloud.hypervisor.vmware.util.VmwareContext).
>log4j:WARN Please initialize the log4j system properly.
>log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig 
>[http://logging.apache.org/log4j/1.2/faq.html#noconfig] for more info.
>Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.336 sec - in 
>com.cloud.hypervisor.vmware.util.VmwareContextTest
>Running com.cloud.hypervisor.vmware.mo.HypervisorHostHelperTest
>Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.3 sec - in 
>com.cloud.hypervisor.vmware.mo.HypervisorHostHelperTest
>
>Results :
>
>Tests run: 17, Failures: 0, Errors: 0, Skipped: 0
>
>[INFO] 
>[INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ cloud-vmware-base ---
>[INFO] Building jar: 
>/usr/local/src/cs-4.8.0/vmware-base/target/cloud-vmware-base-4.8.0.jar
>[INFO] 
>[INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @ 
>cloud-vmware-base ---
>[INFO] 
>[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ 
>cloud-vmware-base ---
>[INFO] Installing 
>/usr/local/src/cs-4.8.0/vmware-base/target/cloud-vmware-base-4.8.0.jar to 
>/root/.m2/repository/org/apache/cloudstack/cloud-vmware-base/4.8.0/cloud-vmware-base-4.8.0.jar
>[INFO] Installing /usr/local/src/cs-4.8.0/vmware-base/pom.xml to 
>/root/.m2/repository/org/apache/cloudstack/cloud-vmware-base/4.8.0/cloud-vmware-base-4.8.0.pom
>[INFO]                                                                         
>[INFO] ------------------------------------------------------------------------
>[INFO] Building Apache CloudStack Plugin - Hypervisor VMware 4.8.0
>[INFO] ------------------------------------------------------------------------
>[INFO] 
>[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
>cloud-plugin-hypervisor-vmware ---
>[INFO] Starting audit...
>Audit done.
>
>[INFO] 
>[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
>cloud-plugin-hypervisor-vmware ---
>[INFO] 
>[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
>cloud-plugin-hypervisor-vmware ---
>[debug] execute contextualize
>[INFO] Using 'UTF-8' encoding to copy filtered resources.
>[INFO] Copying 10 resources
>[INFO] Copying 3 resources
>[INFO] 
>[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ 
>cloud-plugin-hypervisor-vmware ---
>[INFO] Nothing to compile - all classes are up to date
>[INFO] 
>[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
>cloud-plugin-hypervisor-vmware ---
>[debug] execute contextualize
>[INFO] Using 'UTF-8' encoding to copy filtered resources.
>[INFO] skip non existing resourceDirectory 
>/usr/local/src/cs-4.8.0/plugins/hypervisors/vmware/test/resources
>[INFO] Copying 3 resources
>[INFO] 
>[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
>cloud-plugin-hypervisor-vmware ---
>[INFO] Nothing to compile - all classes are up to date
>[INFO] 
>[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ 
>cloud-plugin-hypervisor-vmware ---
>[INFO] Surefire report directory: 
>/usr/local/src/cs-4.8.0/plugins/hypervisors/vmware/target/surefire-reports
>
>-------------------------------------------------------
> T E S T S
>-------------------------------------------------------
>log4j:WARN No appenders could be found for logger 
>(org.springframework.test.context.junit4.SpringJUnit4ClassRunner).
>log4j:WARN Please initialize the log4j system properly.
>log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig 
>[http://logging.apache.org/log4j/1.2/faq.html#noconfig] for more info.
>Running org.apache.cloudstack.storage.motion.VmwareStorageMotionStrategyTest
>Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.412 sec - in 
>org.apache.cloudstack.storage.motion.VmwareStorageMotionStrategyTest
>Running com.cloud.hypervisor.vmware.resource.VmwareResourceTest
>Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.366 sec - in 
>com.cloud.hypervisor.vmware.resource.VmwareResourceTest
>Running com.cloud.hypervisor.vmware.VmwareDatacenterApiUnitTest
>Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.782 sec - in 
>com.cloud.hypervisor.vmware.VmwareDatacenterApiUnitTest
>
>Results :
>
>Tests run: 10, Failures: 0, Errors: 0, Skipped: 0
>
>[INFO] 
>[INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ 
>cloud-plugin-hypervisor-vmware ---
>[INFO] Building jar: 
>/usr/local/src/cs-4.8.0/plugins/hypervisors/vmware/target/cloud-plugin-hypervisor-vmware-4.8.0.jar
>[INFO] 
>[INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @ 
>cloud-plugin-hypervisor-vmware ---
>[INFO] 
>[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ 
>cloud-plugin-hypervisor-vmware ---
>[INFO] Installing 
>/usr/local/src/cs-4.8.0/plugins/hypervisors/vmware/target/cloud-plugin-hypervisor-vmware-4.8.0.jar
> to 
>/root/.m2/repository/org/apache/cloudstack/cloud-plugin-hypervisor-vmware/4.8.0/cloud-plugin-hypervisor-vmware-4.8.0.jar
>[INFO] Installing /usr/local/src/cs-4.8.0/plugins/hypervisors/vmware/pom.xml 
>to 
>/root/.m2/repository/org/apache/cloudstack/cloud-plugin-hypervisor-vmware/4.8.0/cloud-plugin-hypervisor-vmware-4.8.0.pom
>[INFO]                                                                         
>
>……
>…..
>
>
>INFO] Apache CloudStack Plugin - Hypervisor VMware ...... SUCCESS [  4.559 s]
>[INFO] Apache CloudStack Plugin - Cisco VNMC ............. SUCCESS [  2.567 s]
>[INFO] Apache CloudStack Plugin - MySQL HA Strategy ...... SUCCESS [  0.719 s]
>[INFO] Apache CloudStack Framework - Spring Module ....... SUCCESS [  6.713 s]
>[INFO] Apache CloudStack Secondary Storage Controller .... SUCCESS [  2.755 s]
>[INFO] Apache CloudStack Client UI ....................... SUCCESS [ 14.085 s]
>[INFO] Apache CloudStack Console Proxy - RDP Client ...... SUCCESS [ 11.497 s]
>[INFO] Apache CloudStack Console Proxy ................... SUCCESS [  1.079 s]
>[INFO] Apache CloudStack Console Proxy - Server .......... SUCCESS [  6.575 s]
>[INFO] Apache CloudStack Framework - QuickCloud .......... SUCCESS [  0.273 s]
>[INFO] ------------------------------------------------------------------------
>[INFO] BUILD SUCCESS
>[INFO] ------------------------------------------------------------------------
>[INFO] Total time: 12:28 min
>[INFO] Finished at: 2016-02-29T11:52:03-05:00
>[INFO] Final Memory: 118M/712M
>[INFO] ------------------------------------------------------------------------
>[root@csmgmt01 cs-4.8.0]# 
>
>
>
>I then created RPM packages using the same –noredist flag.  And ran into this 
>issue of a missing spec.  Which was solved by copying the appropriate spec 
>file (See Below). 
>
>[root@csmgmt01 packaging]# pwd
>/usr/local/src/cs-4.8.0/packaging
>[root@csmgmt01 packaging]# ./package.sh --pack noredist
> --pack:simulator:distribution:release noredist --
>Preparing to package Apache CloudStack 4.8.0
>. preparing source tarball
>. executing rpmbuild
>cp: cannot stat `/cloud.spec': No such file or directory
>error: failed to stat /usr/local/src/cs-4.8.0/dist/rpmbuild/SPECS/cloud.spec: 
>No such file or directory
>RPM Build Failed 
>[root@csmgmt01 packaging]#
>
>Copy the spec file and re-run the packaging script. 
>
>[root@csmgmt01 packaging]# cp 
>/usr/local/src/cs-4.8.0/packaging/centos63/cloud.spec 
>/usr/local/src/cs-4.8.0/dist/rpmbuild/SPECS/cloud.spec
>[root@csmgmt01 packaging]# ./package.sh --pack noredist
> --pack:simulator:distribution:release noredist --
>Preparing to package Apache CloudStack 4.8.0
>. preparing source tarball
>. executing rpmbuild
>
>……
>Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8qkB1i
>+ umask 022
>+ cd /usr/local/src/cs-4.8.0/packaging/../dist/rpmbuild/BUILD
>+ cd cloudstack-4.8.0
>+ '[' 
>/usr/local/src/cs-4.8.0/dist/rpmbuild/BUILDROOT/cloudstack-4.8.0-1.el6.x86_64 
>'!=' / ']'
>+ rm -rf 
>/usr/local/src/cs-4.8.0/dist/rpmbuild/BUILDROOT/cloudstack-4.8.0-1.el6.x86_64
>+ exit 0
>RPM Build Done
>
>
>
>I removed the aws-api dependency and upgraded the remaining RPMS with the ones 
>I built above.  The DB upgrade completed successfully and cloudstack started 
>fine.  However whenever I attempt to control anything in vcenter I receive the 
>following which seems to me like the system was built without vmware support 
>when clearly it has.  
>
>
>2016-02-29 11:20:27,167 INFO  [c.c.a.m.AgentManagerImpl] 
>(ClusteredAgentManager Timer:ctx-d12d1535) (logid:5ef1b35b) Could not to find 
>a Discoverer to load the resource: 1 for hypervisor type: VMware
>2016-02-29 11:20:27,168 WARN  [c.c.a.m.AgentManagerImpl] 
>(ClusteredAgentManager Timer:ctx-d12d1535) (logid:5ef1b35b) Unable to find 
>class com.cloud.hypervisor.vmware.resource.VmwareResource
>java.lang.ClassNotFoundException: 
>com.cloud.hypervisor.vmware.resource.VmwareResource
>at 
>org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1483)
>at 
>org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329)
>at java.lang.Class.forName0(Native Method)
>at java.lang.Class.forName(Class.java:190)
>at 
>com.cloud.agent.manager.AgentManagerImpl.loadResourcesWithoutHypervisor(AgentManagerImpl.java:621)
>at 
>com.cloud.agent.manager.AgentManagerImpl.loadDirectlyConnectedHost(AgentManagerImpl.java:695)
>at 
>com.cloud.agent.manager.ClusteredAgentManagerImpl.scanDirectAgentToLoad(ClusteredAgentManagerImpl.java:217)
>at 
>com.cloud.agent.manager.ClusteredAgentManagerImpl.runDirectAgentScanTimerTask(ClusteredAgentManagerImpl.java:182)
>at 
>com.cloud.agent.manager.ClusteredAgentManagerImpl.access$100(ClusteredAgentManagerImpl.java:96)
>at 
>com.cloud.agent.manager.ClusteredAgentManagerImpl$DirectAgentScanTimerTask.runInContext(ClusteredAgentManagerImpl.java:233)
>at 
>org.apache.cloudstack.managed.context.ManagedContextTimerTask$1.runInContext(ManagedContextTimerTask.java:30)
>at 
>org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
>at 
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>at 
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
>at 
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
>at 
>org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
>at 
>org.apache.cloudstack.managed.context.ManagedContextTimerTask.run(ManagedContextTimerTask.java:27)
>at java.util.TimerThread.mainLoop(Timer.java:555)
>at java.util.TimerThread.run(Timer.java:505)
>
>Anyone have any ideas?  I have exhausted everything I could think of. 
>
>
>
>
>
>
>Steven Searles  | [email protected] [mailto:[email protected]]
>Zimcom Internet Solutions  | www.zimcom.net [http://www.zimcom.net/]
>O: 513.231.9500  |  D: 513.233.4130
>
>
>
>From: Rohit Yadav <[email protected] 
>[mailto:[email protected]]>
>Reply-To: "[email protected] [mailto:[email protected]]"; 
><[email protected] [mailto:[email protected]]>
>Date: Tuesday, January 12, 2016 at 10:40 AM
>To: "<[email protected] [mailto:[email protected]]>" 
><[email protected] [mailto:[email protected]]>
>Subject: Re: Upgrade from 4.5.2 to 4.7 Vmware broken for me
>
>
>Hi Steve,
>
>Ilya is right, you’re most likely using a OSS build (or repository with OSS 
>rpms/deb packages) which is why you’re missing the classes/java-packages; and 
>the shapeblue hosted CloudStack repositories are all noredist builds.
>
>You may build it yourself or use this repository which is built from the 
>official source release/tag with -Dnoredist build profile that gets you VMware 
>etc:
>
>http://packages.shapeblue.com/cloudstack/upstream/centos/4.7/ 
>[http://packages.shapeblue.com/cloudstack/upstream/centos/4.7/] (CentOS6)
>http://packages.shapeblue.com/cloudstack/upstream/centos7/4.7/ 
>[http://packages.shapeblue.com/cloudstack/upstream/centos7/4.7/] (CentOS7)
>
>Cheers.
>
>
>[ShapeBlue] [http://www.shapeblue.com]
>Rohit Yadav
>Software Architect ,  ShapeBlue
>d:   | s: +44 203 603 0540 [tel:|%20s:%20+44%20203%20603%200540]  |  m:  +91 
>8826230892 [tel:+91%208826230892]
>e:  [email protected] | t:  
>[mailto:[email protected]%20|%20t:]  |  w:  www.shapeblue.com 
>[http://www.shapeblue.com]
>a:  53 Chandos Place, Covent Garden London WC2N 4HS UK
>Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue 
>Services India LLP is a company incorporated in India and is operated under 
>license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company 
>incorporated in Brasil and is operated under license from Shape Blue Ltd. 
>ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa 
>and is traded under license from Shape Blue Ltd. ShapeBlue is a registered 
>trademark.
>This email and any attachments to it may be confidential and are intended 
>solely for the use of the individual to whom it is addressed. Any views or 
>opinions expressed are solely those of the author and do not necessarily 
>represent those of Shape Blue Ltd or related companies. If you are not the 
>intended recipient of this email, you must neither take any action based upon 
>its contents, nor copy or show it to anyone. Please contact the sender if you 
>believe you have received this email in error.
>
>
>
>On 08-Jan-2016, at 10:52 AM, Steve Searles <[email protected] 
>[mailto:[email protected]]> wrote:
>
>Can someone please help point me in the right direction on this one.  I 
>upgraded 4.5.2 to 4.7 in my lab. Built with all deps and noredist options as 
>done for all previous releases.  I saw in the release notes the build 
>dependency and resolved that. Build was successful (Confirmed vmware support 
>built) and rpm generation was successful.  After loading CS and updating the 
>vcenter passwords in the DB and launching CS all of my vmware hosts show 
>disconnected and as such any commands are failing to those hosts.  Below is 
>the exception I am seeing.
>
>2016-01-08 00:12:29,113 INFO  [c.c.a.m.AgentManagerImpl] 
>(ClusteredAgentManager Timer:ctx-4957e5b4) (logid:c087a0ff) Could not to find 
>a Discoverer to load the resource: 1 for hypervisor type: VMware
>2016-01-08 00:12:29,114 WARN  [c.c.a.m.AgentManagerImpl] 
>(ClusteredAgentManager Timer:ctx-4957e5b4) (logid:c087a0ff) Unable to find 
>class com.cloud.hypervisor.vmware.resource.VmwareResource
>java.lang.ClassNotFoundException: 
>com.cloud.hypervisor.vmware.resource.VmwareResource
>       at 
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1483)
>       at 
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329)
>       at java.lang.Class.forName0(Native Method)
>       at java.lang.Class.forName(Class.java:190)
>       at 
> com.cloud.agent.manager.AgentManagerImpl.loadResourcesWithoutHypervisor(AgentManagerImpl.java:623)
>       at 
> com.cloud.agent.manager.AgentManagerImpl.loadDirectlyConnectedHost(AgentManagerImpl.java:697)
>       at 
> com.cloud.agent.manager.ClusteredAgentManagerImpl.scanDirectAgentToLoad(ClusteredAgentManagerImpl.java:217)
>       at 
> com.cloud.agent.manager.ClusteredAgentManagerImpl.runDirectAgentScanTimerTask(ClusteredAgentManagerImpl.java:182)
>       at 
> com.cloud.agent.manager.ClusteredAgentManagerImpl.access$100(ClusteredAgentManagerImpl.java:96)
>       at 
> com.cloud.agent.manager.ClusteredAgentManagerImpl$DirectAgentScanTimerTask.runInContext(ClusteredAgentManagerImpl.java:233)
>       at 
> org.apache.cloudstack.managed.context.ManagedContextTimerTask$1.runInContext(ManagedContextTimerTask.java:30)
>       at 
> org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
>       at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>       at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
>       at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
>       at 
> org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
>       at 
> org.apache.cloudstack.managed.context.ManagedContextTimerTask.run(ManagedContextTimerTask.java:27)
>       at java.util.TimerThread.mainLoop(Timer.java:555)
>       at java.util.TimerThread.run(Timer.java:505)
>2016-01-08 00:12:29,115 WARN  [c.c.a.m.AgentManagerImpl] 
>(ClusteredAgentManager Timer:ctx-4957e5b4) (logid:c087a0ff) Unable to load the 
>resource: 1
>2016-01-08 00:12:29,116 DEBUG [c.c.h.Status] (ClusteredAgentManager 
>Timer:ctx-4957e5b4) (logid:c087a0ff) Transition:[Resource state = Enabled, 
>Agent event = AgentDisconnected, Host id = 1, name = 
>esx02.z01p1.us.east.cvg.cs.zimcom.net]
>2016-01-08 00:12:29,128 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] 
>(ClusteredAgentManager Timer:ctx-4957e5b4) (logid:c087a0ff) Loading directly 
>connected host 109(esx03.z01p1.us.east.cvg.cs.zimcom.net)
>2016-01-08 00:12:29,128 INFO  [c.c.a.m.AgentManagerImpl] 
>(ClusteredAgentManager Timer:ctx-4957e5b4) (logid:c087a0ff) Could not to find 
>a Discoverer to load the resource: 109 for hypervisor type: VMware
>2016-01-08 00:12:29,129 WARN  [c.c.a.m.AgentManagerImpl] 
>(ClusteredAgentManager Timer:ctx-4957e5b4) (logid:c087a0ff) Unable to find 
>class com.cloud.hypervisor.vmware.resource.VmwareResource
>java.lang.ClassNotFoundException: 
>com.cloud.hypervisor.vmware.resource.VmwareResource
>       at 
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1483)
>       at 
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329)
>       at java.lang.Class.forName0(Native Method)
>       at java.lang.Class.forName(Class.java:190)
>       at 
> com.cloud.agent.manager.AgentManagerImpl.loadResourcesWithoutHypervisor(AgentManagerImpl.java:623)
>       at 
> com.cloud.agent.manager.AgentManagerImpl.loadDirectlyConnectedHost(AgentManagerImpl.java:697)
>       at 
> com.cloud.agent.manager.ClusteredAgentManagerImpl.scanDirectAgentToLoad(ClusteredAgentManagerImpl.java:217)
>       at 
> com.cloud.agent.manager.ClusteredAgentManagerImpl.runDirectAgentScanTimerTask(ClusteredAgentManagerImpl.java:182)
>       at 
> com.cloud.agent.manager.ClusteredAgentManagerImpl.access$100(ClusteredAgentManagerImpl.java:96)
>       at 
> com.cloud.agent.manager.ClusteredAgentManagerImpl$DirectAgentScanTimerTask.runInContext(ClusteredAgentManagerImpl.java:233)
>       at 
> org.apache.cloudstack.managed.context.ManagedContextTimerTask$1.runInContext(ManagedContextTimerTask.java:30)
>       at 
> org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
>       at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>       at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
>       at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
>       at 
> org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
>       at 
> org.apache.cloudstack.managed.context.ManagedContextTimerTask.run(ManagedContextTimerTask.java:27)
>       at java.util.TimerThread.mainLoop(Timer.java:555)
>       at java.util.TimerThread.run(Timer.java:505)
>
>
>To me it looks like the VMware support is missing or the .jar was not included 
>in the build somehow.
>
>Any Ideas?
>
>
>n  Steve
>
>
>
>
>Regards.
>
>Find out more about ShapeBlue and our range of CloudStack related services:
>IaaS Cloud Design & Build [http://shapeblue.com/iaas-cloud-design-and-build//] 
>| CSForge – rapid IaaS deployment framework [http://shapeblue.com/csforge/]
>CloudStack Consulting [http://shapeblue.com/cloudstack-consultancy/] | 
>CloudStack Software Engineering 
>[http://shapeblue.com/cloudstack-software-engineering/]
>CloudStack Infrastructure Support 
>[http://shapeblue.com/cloudstack-infrastructure-support/] | CloudStack 
>Bootcamp Training Courses [http://shapeblue.com/cloudstack-training/]

Reply via email to