-
1. Re: Cannot install switchyard on openshift
kcbabo Jul 3, 2012 8:26 AM (in response to objectiser)Do you have Forge installed? If so, all you need to do is:
> rhc app create -a test .... > cd test > forge > project install-facet switchyard
Magesh tested the above about a week ago and it worked. We moved to the forge method over the template app some time back, but the template app should still be kept up-to-date. Not sure if it's an issue with the diff being out-of-date (likely) or the fact that it's generated from the console. Can you file a JIRA? In the meantime, you could give the forge route a try which doesn't rely on git diff.
~ keith
-
2. Re: Cannot install switchyard on openshift
objectiser Jul 3, 2012 8:36 AM (in response to kcbabo) -
3. Re: Cannot install switchyard on openshift
mike.daleiden Jul 3, 2012 6:21 PM (in response to kcbabo)Keith -
Really enjoyed your presentations at Summit last week.
Unfortunately, following the above steps does not work for me. I can successfully create the project using rhc and can fire up forge, but it does not recognize any facets. Any ideas? I am running (unfortunately) on Win7/64-bit. When I do a 'project list-facets' from forge, all it shows is a list containing repeated 'Class' entries.
Not sure what I am doing wrong here...
-
4. Re: Cannot install switchyard on openshift
mike.daleiden Jul 3, 2012 6:23 PM (in response to mike.daleiden)Here is the output:
. . .from the rhc app create...
Successfully created application: swyd
C:\openshift-git>cd swyd
C:\openshift-git\swyd>forge
_____
| ___|__ _ __ __ _ ___
| |_ / _ \| `__/ _` |/ _ \ \\
| _| (_) | | | (_| | __/ //
|_| \___/|_| \__, |\___|
|___/
Windows? Really? Okay...
[swyd] swyd $ project install-facet switchyard
project install-facet switchyard
***ERROR*** [project install-facet] Could not find a facet with the name: switch
yard; use 'project list-facets' to list all available facets.
[swyd] swyd $
[swyd] swyd $ project list-facets
Class
Class
Class
Class
Class
Class
Class
Class
Class
Class
Class
Class
Class
Class
Class
Class
Class
Class
Class
Class
Class
Class
Class
Class
Class
Class
-
5. Re: Cannot install switchyard on openshift
kcbabo Jul 3, 2012 8:23 PM (in response to mike.daleiden)Hmm ... that looks wrong. :-) A few questions:
- Which version of Forge are you using?
- Is $FORGE_HOME set?
- Did you install the SY plugins for Forge?
My guess is that either the initial Forge installation went bad or the install of SY plugins on top of Forge corrupted something.
-
6. Re: Cannot install switchyard on openshift
mike.daleiden Jul 3, 2012 8:30 PM (in response to kcbabo)Forge 1.0.5 final
FORGE_HOME is set
How do I install the plugins? This is my first foray into Forge, so I am probably stumbling over something obvious. ;-)
-
7. Re: Cannot install switchyard on openshift
kcbabo Jul 3, 2012 8:39 PM (in response to mike.daleiden)We have our own set of plugins that can be installed into Forge. My concern is that your install appears to be broken before we get to installing the Forge plugins. You should get a list of facet names in that output instead of "Class" repeating. Hate to do this to you, but it's probably a good idea to run your output of list-facets by the Forge team first. Once that's sorted, I can give additional info on how to install our plugins on top of your Forge install (our installer script will do it).
There are two ways to interact with the Forge folks:
email : forge-dev@lists.jboss.org
forums : https://community.jboss.org/en/forge
In the meantime, I plan to verify that we haven't broken anything in our install script recently (Gary's issue). Tomorrow is a holiday, so I should have things sorted on Thursday.
-
8. Re: Cannot install switchyard on openshift
mike.daleiden Jul 3, 2012 8:47 PM (in response to kcbabo)No problem. I will get with the Forge guys to see what the heck is going on.
-
9. Re: Cannot install switchyard on openshift
mageshbk Jul 4, 2012 2:22 AM (in response to objectiser)I fixed the diff file. Could one of you please push it?
-
10. Re: Cannot install switchyard on openshift
objectiser Jul 4, 2012 4:11 AM (in response to mageshbk)Hi Magesh,
Could you attach (or provide a URL ref) to the updated diff file, so I can try it out.
Thanks.
Regards
Gary
-
11. Re: Cannot install switchyard on openshift
objectiser Jul 4, 2012 4:44 AM (in response to objectiser)Hi
Found the new updated diff in the pull request.
@Michael - if you want to try an alternative approach, then follow the instructions here (https://github.com/jboss-switchyard/switchyard-openshift) but before applying the standalone.diff, replace this file with the attached one. Just tried it and it installed ok and the server restarted, but haven't deployed any apps to it yet.
Regards
Gary
-
standalone.diff.zip 768 bytes
-
-
12. Re: Cannot install switchyard on openshift
kcbabo Jul 5, 2012 8:49 AM (in response to objectiser)Gary - did you try using the Forge route now that you have the Forge install issues sorted?
-
13. Re: Cannot install switchyard on openshift
objectiser Jul 5, 2012 9:06 AM (in response to kcbabo)No, only used other approach once I got that way working. I'll give the forge route a try soon and let you know.
Regards
Gary
-
14. Re: Cannot install switchyard on openshift
objectiser Jul 5, 2012 10:34 AM (in response to objectiser)Sorry it took a while to try this out - still jinxed. My new laptop, which I installed fedora 17 on, the network connection keeps hanging, even though the wireless connection is still fine and working on other computers.
Also for some reason openshift console has been playing up, not letting me add further apps, so I delete some older ones, but then it periodically still shows the old apps in the list instead of the new one .
Anyway managed to finally install the switchyard facet through forge and all seemed to work - however not been able to get much further as I need to resolve some other issues running the bam stuff in openshift......
Regards
Gary