Iron Foundry with enterprise Pivotal CF?

72 views
Skip to first unread message

Charlie Baum

unread,
Jul 9, 2014, 3:41:16 PM7/9/14
to ironf...@googlegroups.com
Can't seem to find any info on this, my company bought the enterprise version of Cloud Foundry v1.2.  Can I use Iron Foundry with the commercial version of CF?   

Button, Brian

unread,
Jul 9, 2014, 3:43:07 PM7/9/14
to ironf...@googlegroups.com
Yes, you can. I've personally installed it on a Pivotal CF instance. You just have to follow the install instructions in the https://github.com/ironfoundry/if_release README.md file. If you have any questions, we'll try to help!

bab


From: ironf...@googlegroups.com [ironf...@googlegroups.com] on behalf of Charlie Baum [charl...@gmail.com]
Sent: Wednesday, July 09, 2014 2:41 PM
To: ironf...@googlegroups.com
Subject: [ironfoundry] Iron Foundry with enterprise Pivotal CF?

Can't seem to find any info on this, my company bought the enterprise version of Cloud Foundry v1.2.  Can I use Iron Foundry with the commercial version of CF?   

--
You received this message because you are subscribed to the Google Groups "Iron Foundry" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ironfoundry...@googlegroups.com.
To post to this group, send email to ironf...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ironfoundry/c82f80cd-884b-47b0-8e18-db76dd60fd84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

This message contains information which may be confidential and/or privileged. Unless you are the intended recipient (or authorized to receive for the intended recipient), you may not read, use, copy or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender by reply e-mail and delete the message and any attachment(s) thereto without retaining any copies.

Charlie Baum

unread,
Jul 9, 2014, 3:56:55 PM7/9/14
to ironf...@googlegroups.com
I actually did stand up a Server 2012 box (not sure if that's supported, that's what I had up at the moment) to run the if_release and I ran into an issue.  The .\build.ps1 got pretty far and threw some warnings and error seen below.  Any idea what this could be?  


C:\if_release\if_warden\build\build.targets(140,9): warning : IronFoundry.Warden.Test.ContainerStubTests+WhenInitialize
dWithTestUserAccount.CanLaunchProcessAsAlternateUser: Unreliable on build server, review build server settings [C:\if_r
elease\if_warden\build\build.proj]
C:\if_release\if_warden\build\build.targets(140,9): warning : IronFoundry.Warden.Test.ContainerStubTests+WhenInitialize
dWithTestUserAccount.WhenImpersonationRequested_LaunchesProcessImpersonated: Unreliable on build server, review build s
erver settings [C:\if_release\if_warden\build\build.proj]
C:\if_release\if_warden\build\build.targets(140,9): error : IronFoundry.Warden.Test.LocalPrincipalManagerTests.CanFindW
ellKnownUser: Assert.Equal() Failure\r\nExpected: Administrator\r\nActual:   (null) [C:\if_release\if_warden\build\buil
d.proj]
    Finished: IronFoundry.Warden.Test.dll
  === TEST EXECUTION SUMMARY ===
    IronFoundry.Warden.Test.dll  Total: 245, Failed: 1, Skipped: 2

*** BUILD FAILED ***

Charlie Baum

unread,
Jul 9, 2014, 4:07:37 PM7/9/14
to ironf...@googlegroups.com
I found a Server 2008 R2 instance and installed go, and git and VS and ran the build.ps1 and got the following.  Looks different, but same failed result.  Am I missing something?

PS C:\ifclone\if_release> .\build.ps1
Updating submodules
Submodule 'dea_ng' (https://github.com/IronFoundry/dea_ng.git) registered for path 'dea_ng'
Submodule 'eventmachine' (https://github.com/IronFoundry/eventmachine.git) registered for path 'eventmachine'
Submodule 'if_warden' (https://github.com/cloudfoundry-incubator/if_warden.git) registered for path 'if_warden'
Cloning into 'dea_ng'...
remote: Counting objects: 12152, done.
remote: Compressing objects: 100% (5086/5086), done.
remote: Total 12152 (delta 6623), reused 12152 (delta 6623)
Receiving objects: 100% (12152/12152), 18.40 MiB | 6.18 MiB/s, done.
Resolving deltas: 100% (6623/6623), done.
Checking connectivity... done.
Submodule path 'dea_ng': checked out 'edaa12d4d690e576509fb5b178d1d4fb0de3cebc'
Submodule 'go/src/github.com/howeyc/fsnotify' (https://github.com/howeyc/fsnotify.git) registered for path 'go/src/githu
Cloning into 'go/src/github.com/cloudfoundry/gosteno'...
remote: Reusing existing pack: 427, done.
remote: Total 427 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (427/427), 102.73 KiB | 0 bytes/s, done.
Resolving deltas: 100% (216/216), done.
Checking connectivity... done.
Submodule path 'dea_ng/go/src/github.com/cloudfoundry/gosteno': checked out 'b27c580bf20520f61cb21f82365c1ef3b8e601e9'
Cloning into 'go/src/github.com/howeyc/fsnotify'...
remote: Reusing existing pack: 630, done.
remote: Total 630 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (630/630), 157.74 KiB | 0 bytes/s, done.
Resolving deltas: 100% (367/367), done.
Checking connectivity... done.
Submodule path 'dea_ng/go/src/github.com/howeyc/fsnotify': checked out '08040c5a90632bd721465eb8ad74a8e61bd7bf95'
Cloning into 'eventmachine'...
remote: Counting objects: 4703, done.
remote: Compressing objects: 100% (1972/1972), done.
remote: Total 4703 (delta 2582), reused 4703 (delta 2582)
Receiving objects: 100% (4703/4703), 2.03 MiB | 0 bytes/s, done.
Resolving deltas: 100% (2582/2582), done.
Checking connectivity... done.
Submodule path 'eventmachine': checked out '2f9494bb2a067ad46b28a71d99cebb17eba2b8db'
Cloning into 'if_warden'...
remote: Reusing existing pack: 2063, done.
remote: Total 2063 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (2063/2063), 2.10 MiB | 0 bytes/s, done.
Resolving deltas: 100% (1530/1530), done.
Checking connectivity... done.
Submodule path 'if_warden': checked out '8bafd8c11178f3b367a3774e0ca619ee08f243a5'
Submodule 'IronFoundry.Warden.Protocol/warden' (https://github.com/IronFoundry/warden.git) registered for path 'IronFoun
dry.Warden.Protocol/warden'
Cloning into 'IronFoundry.Warden.Protocol/warden'...
remote: Counting objects: 8250, done.
remote: Compressing objects: 100% (3738/3738), done.
remote: Total 8250 (delta 3966), reused 8250 (delta 3966)
Receiving objects: 100% (8250/8250), 2.12 MiB | 1.68 MiB/s, done.
Resolving deltas: 100% (3966/3966), done.
Checking connectivity... done.
Submodule path 'if_warden/IronFoundry.Warden.Protocol/warden': checked out '51372726ec85b63da997253f9b86c47a5723d9a5'
Building Warden: 0.0.0
  Restoring packages from NuGet...
  Installing 'Newtonsoft.Json 6.0.1'.
  Installing 'protobuf-net 2.0.0.668'.
  Installing 'NDesk.Options 0.2.1'.
  Installing 'CommandLineParser 1.9.71'.
  Successfully installed 'NDesk.Options 0.2.1'.
  Successfully installed 'CommandLineParser 1.9.71'.
  Installing 'NLog 2.1.0'.
  Installing 'Topshelf 3.1.3'.
  Successfully installed 'Newtonsoft.Json 6.0.1'.
  Successfully installed 'Topshelf 3.1.3'.
  Successfully installed 'NLog 2.1.0'.
  Successfully installed 'protobuf-net 2.0.0.668'.
  Installing 'NSubstitute 1.7.1.0'.
  Installing 'Topshelf.NLog 3.1.3'.
  Installing 'xunit 2.0.0-alpha-build2576'.
  Installing 'xunit.abstractions 2.0.0-alpha-build2576'.
  Successfully installed 'Topshelf.NLog 3.1.3'.
  Successfully installed 'xunit 2.0.0-alpha-build2576'.
  Successfully installed 'NSubstitute 1.7.1.0'.
  Installing 'xunit.assert 2.0.0-alpha-build2576'.
  Installing 'xunit.core 2.0.0-alpha-build2576'.
  Successfully installed 'xunit.abstractions 2.0.0-alpha-build2576'.
  Installing 'SharpZipLib 0.86.0'.
  Successfully installed 'xunit.assert 2.0.0-alpha-build2576'.
  Successfully installed 'xunit.core 2.0.0-alpha-build2576'.
  Successfully installed 'SharpZipLib 0.86.0'.
C:\ifclone\if_release\if_warden\build\build.targets(89,13): error MSB4184: The expression ""// This code was generated
by a tool. Changes will be lost.".Count()" cannot be evaluated. Method 'System.String.Count' not found. [C:\ifclone\if_
release\if_warden\build\build.proj]

Button, Brian

unread,
Jul 9, 2014, 4:10:54 PM7/9/14
to ironf...@googlegroups.com
We require some libraries that are only in Windows 2012 server, so 2008 won't work.

Are you reusing the box that you built ironfoundry on to deploy onto? Like the warning said, that sometimes has unexpected results, because we're less in control of the environment on that machine.

bab


Sent: Wednesday, July 09, 2014 3:07 PM
To: ironf...@googlegroups.com
Subject: Re: [ironfoundry] Iron Foundry with enterprise Pivotal CF?

--
You received this message because you are subscribed to the Google Groups "Iron Foundry" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ironfoundry...@googlegroups.com.
To post to this group, send email to ironf...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Charlie Baum

unread,
Jul 9, 2014, 4:13:42 PM7/9/14
to ironf...@googlegroups.com
The 2012 attempt was on a brand new 2012 R2 VM build.  I cloned the if_release and then from an elevated PS prompt ran the build.ps1 in the root of the if_release directory that was created.  That's when I got that error.  This is my very first attempt at anything Iron Foundry so I apologize in advance :)  I can't even get the build.ps1 to work.

Button, Brian

unread,
Jul 9, 2014, 4:40:47 PM7/9/14
to ironf...@googlegroups.com
Certainly not your fault, Charlie. I'm happy to work with you to figure it out, though. i've skyped with a couple of people and did screen sharing to figure out what the issues were before, and i'm happy to help you like that as well.

Someone is looking into the issue right now, and I'll let you know what we find out.

bab


Sent: Wednesday, July 09, 2014 3:13 PM

For more options, visit https://groups.google.com/d/optout.

Bob Brumfield

unread,
Jul 9, 2014, 4:47:20 PM7/9/14
to ironf...@googlegroups.com
Charlie,

This may be a fragile assumption in the unit test that is looking for a local Administrator user on the box.  Is it possible that user doesn't exist on your VM?
You could work around this by temporarily adding the user or running the build as a non-elevated user which should still build fine but skip a set of tests that it can only run as an admin.

HTH,

Bob

Charlie Baum

unread,
Jul 10, 2014, 10:08:19 AM7/10/14
to ironf...@googlegroups.com
That worked.  Our standard build here renames the local Administrator to something else, so perhaps that was it.  I will go through the code again to verify.  Running as non-elevated worked and the tests simply failed, no big deal.  Looking forward to moving on with this, thanks guys!

Tim Leong

unread,
Aug 1, 2014, 9:46:16 AM8/1/14
to ironf...@googlegroups.com
Did you have to use bosh to deploy to PCF?  We can do the same, however, our changes will be overwritten the next time we try and use the Ops manager with PCF.  Is that your understanding as well?


On Wednesday, July 9, 2014 3:43:07 PM UTC-4, brian.button wrote:

Button, Brian

unread,
Aug 1, 2014, 11:14:32 AM8/1/14
to <ironfoundry@googlegroups.com>
I've never used OpsManager, but I thought it was a UI over bosh to help you to create and manage your deployment. 

In the UI, I assume it has a place for you to define the stacks that your deployment will support. If you add windows2012 there, I'd be pretty certain that it should be persistent. 

Bab

---
Brian Button | Product Manager, Application Services
CenturyLink Cloud


For more options, visit https://groups.google.com/d/optout.

Tim Leong

unread,
Aug 1, 2014, 11:29:08 AM8/1/14
to ironf...@googlegroups.com
There is not a place to define custom stacks in the PCF ops manager UI.  So it seems that if you intend to use opsmanager with PCF, you probably cannot use IronFoundry as your config will be overwritten.

Button, Brian

unread,
Aug 1, 2014, 11:46:10 AM8/1/14
to ironf...@googlegroups.com
I just checked through their documentation, and I can’t find anywhere to do it either. Saying that you can’t use ironfoundry with Pivotal CF may be a bit of a strong statement, but it is true that your stack configuration may be overwritten. The ability to have custom stacks in Ops Manager seems to be a missing features as of right now.

bab

--
Brian Button | Product Manager, Application Services
CenturyLink Cloud





For more options, visit https://groups.google.com/d/optout.

Tim Leong

unread,
Aug 1, 2014, 12:59:53 PM8/1/14
to ironf...@googlegroups.com
Thanks for looking at their documentation.  I also confirmed with our Pivotal SE.  They state that opsmanager is all or nothing.  You use it for all PCF configs, or you should not use it at all.  You should not use bosh to update your PCF config.
Reply all
Reply to author
Forward
0 new messages