>From my last few hours tinkering, this seems like an alternate workaround to 
>the patch I have in review board, for those who don’t want to patch code but 
>need to build RPMs of ACS:

Executed on a virgin AWS ECS instance running 64 bit Amazon Linux:

sudo yum -y update
sudo yum -y install git java-1.7.0-openjdk-devel
git clone https://git-wip-us.apache.org/repos/asf/cloudstack.git
wget 
http://www.dsgnwrld.com/am/maven/maven-3/3.2.1/binaries/apache-maven-3.2.1-bin.tar.gz
tar xvf apache-maven-3.2.1-bin.tar.gz
export PATH=$PATH:~/apache-maven-3.2.1/bin
# select JDK 1.7 when prompted
sudo alternatives --config java 
cd cloudstack/
mvn -P deps
mvn clean install -Pawsapi
# The previous step will fail, as things are: Broken. Next lines before the 
next mvn command fix and clean things up:
Edit 
~/.m2/repository/org/apache/rampart/rampart-project/1.5.1/rampart-project-1.5.1.pom,
 remove repositories section
rm -rf ~/.m2/repository/org/apache/rampart/rahas
rm -rf ~/.m2/repository/org/apache/rampart/rampart
rm -rf ~/.m2/repository/org/apache/rampart/rampart-core
rm -rf ~/.m2/repository/org/apache/rampart/rampart-policy
rm -rf ~/.m2/repository/org/apache/rampart/rampart-trust
rm -rf ~/.m2/repository/org/apache/ws
rm -rf ~/.m2/repository/org/apache/santuario
rm -rf ~/.m2/repository/org/apache/axis2
rm -rf ~/.m2/repository/org/slf4j/
rm -rf ~/.m2/repository/org/opensaml/
rm -rf ~/.m2/repository/commons-lang/
rm -rf ~/.m2/repository/bouncycastle/
mvn clean install -Pawsapi

I haven’t run this through functional testing yet, but the results look 
promising.

On Mar 6, 2014, at 4:14 PM, John Kinsella <j...@stratosec.co> wrote:

> David was seeing this as well. This is is a documented problem at 
> https://issues.apache.org/jira/browse/RAMPART-393.
> 
> I just spun up a VM at AWS using a 64 bit amazon linux api. Ran the commands 
> below, got same errors:
> 
>    1  sudo yum update
>    2  yum install git java-1.7.0-openjdk-devel
>    3  git clone https://git-wip-us.apache.org/repos/asf/cloudstack.git
>    4  wget 
> http://www.dsgnwrld.com/am/maven/maven-3/3.2.1/binaries/apache-maven-3.2.1-bin.tar.gz
>    5  tar xvf apache-maven-3.2.1-bin.tar.gz
>    6  export PATH=$PATH:~/apache-maven-3.2.1/bin/
>    7  cd cloudstack/
>    8  mvn -P deps
>    9  mvn clean install -Pawsapi
> 
> I suspect the Citrix devs are sitting behind Nexus or other maven mirror?
> 
> John
> 
> On Mar 6, 2014, at 3:13 PM, Animesh Chaturvedi 
> <animesh.chaturv...@citrix.com<mailto:animesh.chaturv...@citrix.com>> wrote:
> 
> Folks anyone else seeing this? I want to build RC soon and wanted to confirm 
> if this is an issue or not and if so if we can get a fix right away
> 
> -----Original Message-----
> From: Prachi Damle [mailto:prachi.da...@citrix.com]
> Sent: Thursday, March 06, 2014 1:20 PM
> To: dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>
> Subject: RE: 4.3 vote
> 
> John,
> 
> I could not reproduce this broken build on 4.3 after wiping out my entire
> repository.
> 1.  rm -rf ~/.m2/repository
> 2. mvn clean install -Pawsapi
> 
> My build is successful.
> 
> Can someone who is able to reproduce this check this further?
> 
> Prachi
> 
> 
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache CloudStack ................................. SUCCESS 
> [1:53.957s] [INFO]
> Apache CloudStack Maven Conventions Parent ........ SUCCESS [0.089s] [INFO]
> Apache CloudStack Framework - Managed Context ..... SUCCESS [28.189s]
> [INFO] Apache CloudStack Utils ........................... SUCCESS 
> [1:06.368s] [INFO]
> Apache CloudStack Framework ....................... SUCCESS [0.303s] [INFO]
> Apache CloudStack Framework - Event Notification .. SUCCESS [27.125s]
> [INFO] Apache CloudStack Framework - Configuration ....... SUCCESS [5.878s]
> [INFO] Apache CloudStack API ............................. SUCCESS [55.346s] 
> [INFO]
> Apache CloudStack Framework - REST ................ SUCCESS [16.891s] [INFO]
> Apache CloudStack Framework - IPC ................. SUCCESS [11.845s] [INFO]
> Apache CloudStack Cloud Engine .................... SUCCESS [0.072s] [INFO]
> Apache CloudStack Cloud Engine API ................ SUCCESS [10.641s] [INFO]
> Apache CloudStack Core ............................ SUCCESS [30.300s] [INFO] 
> Apache
> CloudStack Agents .......................... SUCCESS [22.533s] [INFO] Apache
> CloudStack Framework - Clustering .......... SUCCESS [8.801s] [INFO] Apache
> CloudStack Framework - Jobs ................ SUCCESS [9.251s] [INFO] Apache
> CloudStack Cloud Engine Schema Component ... SUCCESS [39.764s] [INFO]
> Apache CloudStack Framework - Event Notification .. SUCCESS [2.761s] [INFO]
> Apache CloudStack Cloud Engine Internal Components API  SUCCESS [6.014s]
> [INFO] Apache CloudStack Server .......................... SUCCESS 
> [1:23.722s] [INFO]
> Apache CloudStack Usage Server .................... SUCCESS [9.872s] [INFO]
> Apache XenSource XAPI ............................. SUCCESS [17.003s] [INFO] 
> Apache
> CloudStack Cloud Engine Orchestration Component  SUCCESS [16.774s]
> 
> [INFO] Apache CloudStack Cloud Services .................. SUCCESS [0.100s] 
> ...........
> [INFO] Apache CloudStack Client UI ....................... SUCCESS [35.094s] 
> [INFO]
> Apache CloudStack Console Proxy - RDP Client ...... SUCCESS [24.447s] [INFO]
> Apache CloudStack Console Proxy ................... SUCCESS [0.120s] [INFO]
> Apache CloudStack Console Proxy - Server .......... SUCCESS [6.431s] [INFO]
> Apache CloudStack Framework - QuickCloud .......... SUCCESS [0.577s] [INFO]
> Apache CloudStack AWS API Bridge .................. SUCCESS [4:57.758s] 
> [INFO] ----
> --------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] 
> ------------------------------------------------------------------------
> 
> -----Original Message-----
> From: John Kinsella [mailto:j...@stratosec.co]
> Sent: Wednesday, March 05, 2014 11:51 AM
> To: dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>
> Subject: Re: 4.3 vote
> 
> The dependency's actually been broken for a very long time, apparently. On
> a clean box with no maven repository cache (rm -rf ~/.m2/repository),
> awsapi (and therefore RPMs) will not build.
> 
> It looks like Noa saw similar issue in
> 42f3804fbdde7bfe4f3676ef0c18a54dfe95354c, but I'm still seeing issues.
> 
> John
> 
> On Mar 5, 2014, at 11:10 AM, Animesh Chaturvedi
> <animesh.chaturv...@citrix.com<mailto:animesh.chaturv...@citrix.com><mailto:animesh.chaturv...@citrix.com>>
> wrote:
> 
> John when was the dependency broken? Are you not able to build AWSAPI?
> 
> -----Original Message-----
> From: John Kinsella [mailto:j...@stratosec.co]
> Sent: Wednesday, March 05, 2014 11:00 AM
> To: 
> dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org><mailto:dev@cloudstack.apache.org>
> Subject: Re: 4.3 vote
> 
> FYI I'm still -1 until CLOUDSTACK-6156 and
> https://reviews.apache.org/r/18392/ is addressed.
> 
> On Mar 5, 2014, at 10:10 AM, Animesh Chaturvedi
> <animesh.chaturv...@citrix.com<mailto:animesh.chaturv...@citrix.com><mailto:animesh.chaturv...@citrix.com>>
> wrote:
> 
> 
> 
> -----Original Message-----
> From: sebgoa [mailto:run...@gmail.com]
> Sent: Wednesday, March 05, 2014 7:58 AM
> To: 
> dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org><mailto:dev@cloudstack.apache.org>
> Subject: Re: 4.3 vote
> 
> 
> On Mar 5, 2014, at 4:54 PM, Nux! 
> <n...@li.nux.ro<mailto:n...@li.nux.ro><mailto:n...@li.nux.ro>>
> wrote:
> 
> On 05.03.2014 15:52, Animesh Chaturvedi wrote:
> Working on it now, waiting on 1 last thing for realhostip changes
> 
> So, does the realhostip "feature" disappear starting with 4.3?
> 
> if that's the case we need to put this on the release notes. Happy to do so if
> someone send me the text..
> [Animesh] It is really a convenience that we got used to not a feature. You
> can specify your own domain name and change the certificate even now with
> 4.2 and prior releases. The instructions are in Admin Guide [1]
> 
> Amogh has put a wiki on the changes at [2].
> 
> 
> [1]
> http://cloudstack.apache.org/docs/en-US//Apache_CloudStack/4.2.0/html/
> Admin_Guide/console-proxy.html#change-console-proxy-ssl-certificate-do
> main
> 
> [2]
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Realhost+IP+chan
> ges
> 
> 
> 
> 
> Lucian
> 
> --
> Sent from the Delta quadrant using Borg technology!
> 
> Nux!
> www.nux.ro
> 
> 
> 
> Stratosec<http://stratosec.co/> - Compliance as a Service
> o: 415.315.9385
> @johnlkinsella<http://twitter.com/johnlkinsella>
> 
> 
> Stratosec<http://stratosec.co/> - Compliance as a Service
> o: 415.315.9385
> @johnlkinsella<http://twitter.com/johnlkinsella>
> 

Stratosec - Compliance as a Service
o: 415.315.9385
@johnlkinsella

Reply via email to