Open magick93 opened 10 years ago
After yesterday's commits by gnodet the error is now different:
/usr/bin/erb:115:in `read': No such file or directory - /var/lib/openshift/52ce32114382ec241c00016d/fuse//versions/1.0.0/etc/org.apache.karaf.management.cfg.erb (Errno::ENOENT) from /usr/bin/erb:115:in `run' from /usr/bin/erb:140
Yes, I'm working on it.
Thank you, now adding the application through https://openshift.redhat.com/app/console/application_types worked fine!
Olli
I get a similar error to the one mentioned above using Openshift Origin VirtualBox version for both web console and command line "rhc create-app":
End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of fabric8-karaf-1.0.0.redhat-341.zip or fabric8-karaf-1.0.0.redhat-341.zip.zip, and cannot find fabric8-karaf-1.0.0.redhat-341.zip.ZIP, period.
Should this work with Openshift Origin?
Ah yeah a new build 341 was just done today and are in the staging repo. Its waiting to be promoted, and when that happens the 341 .zip is downloadable.
The previous build 340 or 337 would work.
So if you have bit of patience then when 341 is promoted then the OS cartridge works
Okay there was a problem with 341. We have switched back to last good known which is 337.
The cartridge should work again on OS.
Thank you, Claus! It works now!
Except.. When I access the Fuse application in OS I get a somewhat.. different.. view than in the demo at http://vimeo.com/80625940. I attached a screen shot. My application does not contain Camel bundles/features at all for one. Nor any runtime container management tabs.
My platform is as mentioned above Openshift Origin running on VirtualBox and installed following these instructions: http://openshift.github.io/documentation/oo_deployment_guide_vm.html
This is what the installation of Fuse application said:
The cartridge 'https://raw.github.com/jboss-fuse/fuse-openshift-cartridge/master/metadata/manifest.yml' will be downloaded and installed
Application Options
-------------------
Domain: senaatti
Cartridges: https://raw.github.com/jboss-fuse/fuse-openshift-cartridge/master/metadata/manifest.yml
Gear Size: default
Scaling: no
Environment Variables: OPENSHIFT_FUSE_ZOOKEEPER_PASSWORD=admin
Creating application 'fuse' ... done
Setting up fabric container
Using provided password from cartridge
Configuring zookeeper server
Fuse created successfully. Please make note of these credentials:
Console URL: http://fuse-senaatti.openshift.local
Console User: admin
Console Password: admin
Zookeeper URL: fuse-senaatti.openshift.local:38032
Zookeeper Password: admin
The Fuse Management Console will be available shortly at: http://fuse-senaatti.openshift.local
Fabric( 9001) is started successfully
Started Fuse cart
Waiting for your DNS name to be available ... retry # 1 - Waiting for DNS: fuse-senaatti.openshift.local
retry # 2 - Waiting for DNS: fuse-senaatti.openshift.local
retry # 3 - Waiting for DNS: fuse-senaatti.openshift.local
retry # 4 - Waiting for DNS: fuse-senaatti.openshift.local
retry # 5 - Waiting for DNS: fuse-senaatti.openshift.local
retry # 6 - Waiting for DNS: fuse-senaatti.openshift.local
retry # 7 - Waiting for DNS: fuse-senaatti.openshift.local
failure
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: Your application was created successfully but had problems during
configuration. Below is a list of the issues and steps you can
take to complete the configuration of your application.
Application URL: http://fuse-senaatti.openshift.local/
Issues:
1. We were unable to lookup your hostname (fuse-senaatti.openshift.local) in a reasonable amount of time and can not clone your application.
Steps to complete your configuration:
1. Clone your git repo
$ rhc git-clone fuse
If you continue to experience problems after completing these steps,
you can try destroying and recreating the application:
$ rhc app delete fuse --confirm
Please contact us if you are unable to successfully create your
application:
Support - https://www.openshift.com/support
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
From what I see in the screenshot you don't have the fabric perspective available. AFAIR, this perspective is made available when fabric has started up and the container has provisioned. If you wait a bit longer I think that you'll get the perspective.
Ioannis Canellos
Blog: http://iocanel.blogspot.com http://iocanel.blogspot.com/ Twitter: iocanel
@umeetiusbaar
I have the same problem this morning, and logged a ticket https://issues.jboss.org/browse/FABRIC-869
There is instructions how to resolve this in the FABRIC-869 ticket, which is basically
SSH into the container Access the Fuse CLI And create the fabric with --clean option to re-create the fabric
I still have this problem on my Openshift VirtualBox environment with build 1.0.0.redhat-357. I created the whole VirtualBox environment again and followed the instructions in https://issues.jboss.org/browse/FABRIC-869 but it gave me the following error:
[fabric8-test.openshift.local container]\> bin/client
client: JAVA_HOME not set; results may vary
4978 [pool-2-thread-1] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at /127.1.244.1:23101 presented unverified key:
______ _ _ _____
| ___| | | (_) | _ |
| |_ __ _| |__ _ __ _ ___ \ V /
| _/ _` | '_ \| '__| |/ __|/ _ \
| || (_| | |_) | | | | (__| |_| |
\_| \__,_|_.__/|_| |_|\___\_____/
Fabric8 Container (1.0.0.redhat-357)
http://fabric8.io/
Type 'help' to get started
and 'help [cmd]' for help on a specific command.
Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown this container.
Open a browser to http://localhost:8181 to access the management console
Create a new Fabric via 'fabric:create'
or join an existing Fabric via 'fabric:join [someUrls]'
Fabric8:admin@fabric8> fabric:status
Command not found: fabric:status
Fabric8:admin@fabric8> fabric:create --clean
Waiting for container: fabric8
Error executing command: Unable to create zookeeper server configuration
The log file (fuse/log/karaf-fabric8.log) showed the following stacktrace for this error:
2014-02-28 03:47:42,369 | INFO | Thread-48 | DeploymentAgent | io.fabric8.agent.DeploymentAgent 184 | 60 - io.fabric8.fabric-agent - 1.0.0.redhat-357 | Stopping DeploymentAgent
2014-02-28 03:47:42,386 | INFO | Component Actor | AbstractComponent | abric8.api.scr.AbstractComponent 45 | 58 - io.fabric8.fabric-api - 1.0.0.redhat-357 | deactivateComponent: io.fabric8.api.j
mx.ClusterBootstrapManager@2c9049f1
2014-02-28 03:47:42,389 | INFO | Component Actor | AbstractCommandComponent | support.AbstractCommandComponent 49 | 62 - io.fabric8.fabric-boot-commands - 1.0.0.redhat-357 | deactivateComponent: io.fab
ric8.boot.commands.CreateCommand@687cd1df
2014-02-28 03:47:42,391 | INFO | Component Actor | AbstractCommandComponent | support.AbstractCommandComponent 49 | 62 - io.fabric8.fabric-boot-commands - 1.0.0.redhat-357 | deactivateComponent: io.fab
ric8.boot.commands.JoinCommand@5415cf91
2014-02-28 03:47:42,397 | INFO | Component Actor | AbstractComponent | abric8.api.scr.AbstractComponent 45 | 58 - io.fabric8.fabric-api - 1.0.0.redhat-357 | deactivateComponent: io.fabric8.boot.
BootstrapCompleteService@36ac4e47
2014-02-28 03:47:42,398 | INFO | Component Actor | AbstractComponent | abric8.api.scr.AbstractComponent 45 | 58 - io.fabric8.fabric-api - 1.0.0.redhat-357 | deactivateComponent: io.fabric8.inter
nal.ZooKeeperClusterBootstrapImpl@1b184442
2014-02-28 03:47:42,419 | INFO | Component Actor | AbstractComponent | abric8.api.scr.AbstractComponent 45 | 58 - io.fabric8.fabric-api - 1.0.0.redhat-357 | deactivateComponent: io.fabric8.git.i
nternal.FabricGitServiceImpl@78fc50a1
2014-02-28 03:47:42,433 | INFO | Component Actor | AbstractComponent | abric8.api.scr.AbstractComponent 45 | 58 - io.fabric8.fabric-api - 1.0.0.redhat-357 | deactivateComponent: io.fabric8.zooke
eper.curator.ManagedCuratorFramework@6639387f
2014-02-28 03:47:43,526 | INFO | pool-16-thread-1 | ZooKeeper | org.apache.zookeeper.ZooKeeper 684 | 52 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-357 | Session: 0x0 closed
2014-02-28 03:47:43,528 | INFO | 22-67421a4e24e3) | AbstractComponent | abric8.api.scr.AbstractComponent 45 | 58 - io.fabric8.fabric-api - 1.0.0.redhat-357 | deactivateComponent: io.fabric8.zooke
eper.bootstrap.ZooKeeperServerFactory@3fd1acee
2014-02-28 03:47:43,529 | INFO | 22-67421a4e24e3) | ZooKeeperServerFactory | bootstrap.ZooKeeperServerFactory 207 | 52 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-357 | Destroying zookeeper server: io
.fabric8.zookeeper.bootstrap.ZooKeeperServerFactory$SimpleServer@8047c92
2014-02-28 03:47:43,536 | INFO | 22-67421a4e24e3) | SessionTrackerImpl | keeper.server.SessionTrackerImpl 225 | 52 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-357 | Shutting down
2014-02-28 03:47:43,536 | INFO | 22-67421a4e24e3) | PrepRequestProcessor | eper.server.PrepRequestProcessor 743 | 52 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-357 | Shutting down
2014-02-28 03:47:43,536 | INFO | 22-67421a4e24e3) | SyncRequestProcessor | eper.server.SyncRequestProcessor 175 | 52 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-357 | Shutting down
2014-02-28 03:47:43,536 | INFO | sid:0 cport:-1): | PrepRequestProcessor | eper.server.PrepRequestProcessor 143 | 52 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-357 | PrepRequestProcessor exited loo
p!
2014-02-28 03:47:43,537 | INFO | SyncThread:0 | SyncRequestProcessor | eper.server.SyncRequestProcessor 155 | 52 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-357 | SyncRequestProcessor exited!
2014-02-28 03:47:43,537 | INFO | 22-67421a4e24e3) | FinalRequestProcessor | per.server.FinalRequestProcessor 415 | 52 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-357 | shutdown of request processor c
omplete
2014-02-28 03:47:43,540 | INFO | Component Actor | AbstractComponent | abric8.api.scr.AbstractComponent 45 | 58 - io.fabric8.fabric-api - 1.0.0.redhat-357 | deactivateComponent: io.fabric8.zooke
eper.bootstrap.BootstrapConfiguration@7c8950ce
2014-02-28 03:47:43,545 | INFO | Component Actor | AbstractComponent | abric8.api.scr.AbstractComponent 41 | 58 - io.fabric8.fabric-api - 1.0.0.redhat-357 | activateComponent: io.fabric8.zookeep
er.bootstrap.BootstrapConfiguration@27d019fd
2014-02-28 03:47:43,557 | INFO | Component Actor | DeploymentAgent | io.fabric8.agent.DeploymentAgent 176 | 60 - io.fabric8.fabric-agent - 1.0.0.redhat-357 | Starting DeploymentAgent
2014-02-28 03:47:43,569 | INFO | .fabric8.agent]) | DeploymentAgent | io.fabric8.agent.DeploymentAgent 243 | 60 - io.fabric8.fabric-agent - 1.0.0.redhat-357 | DeploymentAgent updated with null
2014-02-28 03:47:43,573 | INFO | Component Actor | AbstractComponent | abric8.api.scr.AbstractComponent 41 | 58 - io.fabric8.fabric-api - 1.0.0.redhat-357 | activateComponent: io.fabric8.interna
l.ZooKeeperClusterBootstrapImpl@5bfc5240
2014-02-28 03:47:43,574 | INFO | Component Actor | AbstractComponent | abric8.api.scr.AbstractComponent 41 | 58 - io.fabric8.fabric-api - 1.0.0.redhat-357 | activateComponent: io.fabric8.api.jmx
.ClusterBootstrapManager@127c16ee
2014-02-28 03:47:43,592 | INFO | 3b-eaec9b3b3ec9) | ZooKeeperServerFactory | bootstrap.ZooKeeperServerFactory 101 | 52 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-357 | Creating zookeeper server with:
{component.name=io.fabric8.zookeeper.server, initLimit=10, syncLimit=5, service.factoryPid=io.fabric8.zookeeper.server, fabric.zookeeper.pid=io.fabric8.zookeeper.server-0000, clientPort=3128, clientPortAddress=12
7.1.244.1, service.pid=io.fabric8.zookeeper.server.fdc36a5a-bd96-47da-a73b-eaec9b3b3ec9, tickTime=2000, component.id=8, dataDir=data/zookeeper/0000}
2014-02-28 03:47:43,593 | INFO | 3b-eaec9b3b3ec9) | ZooKeeperServerFactory | bootstrap.ZooKeeperServerFactory 221 | 52 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-357 | Created zookeeper peer configur
ation: org.apache.zookeeper.server.quorum.QuorumPeerConfig@5e357147
2014-02-28 03:47:43,593 | INFO | 3b-eaec9b3b3ec9) | ZooKeeperServerFactory | bootstrap.ZooKeeperServerFactory 228 | 52 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-357 | Created zookeeper server config
uration: org.apache.zookeeper.server.ServerConfig@6a01ca3
2014-02-28 03:47:43,596 | INFO | 3b-eaec9b3b3ec9) | FileTxnSnapLog | erver.persistence.FileTxnSnapLog 240 | 52 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-357 | Snapshotting: 0x0 to /var/lib/o
penshift/53107184c980122890000002/fuse/fabric8-karaf-1.0.0.redhat-357/data/zookeeper/0000/version-2/snapshot.0
2014-02-28 03:47:43,603 | INFO | 3b-eaec9b3b3ec9) | AbstractComponent | abric8.api.scr.AbstractComponent 41 | 58 - io.fabric8.fabric-api - 1.0.0.redhat-357 | activateComponent: io.fabric8.zookeep
er.bootstrap.ZooKeeperServerFactory@2244b31e
2014-02-28 03:47:43,632 | INFO | Component Actor | AbstractComponent | abric8.api.scr.AbstractComponent 41 | 58 - io.fabric8.fabric-api - 1.0.0.redhat-357 | activateComponent: io.fabric8.git.int
ernal.FabricGitServiceImpl@55ed35d1
2014-02-28 03:47:43,644 | INFO | Component Actor | AbstractComponent | abric8.api.scr.AbstractComponent 41 | 58 - io.fabric8.fabric-api - 1.0.0.redhat-357 | activateComponent: io.fabric8.zookeep
er.curator.ManagedCuratorFramework@1eb605e7
2014-02-28 03:47:43,645 | INFO | Component Actor | AbstractComponent | abric8.api.scr.AbstractComponent 41 | 58 - io.fabric8.fabric-api - 1.0.0.redhat-357 | activateComponent: io.fabric8.boot.Bo
otstrapCompleteService@403d9071
2014-02-28 03:47:43,645 | INFO | Component Actor | AbstractCommandComponent | support.AbstractCommandComponent 45 | 62 - io.fabric8.fabric-boot-commands - 1.0.0.redhat-357 | activateComponent: io.fabri
c8.boot.commands.CreateCommand@9d60baa
2014-02-28 03:47:43,647 | INFO | Component Actor | AbstractCommandComponent | support.AbstractCommandComponent 45 | 62 - io.fabric8.fabric-boot-commands - 1.0.0.redhat-357 | activateComponent: io.fabri
c8.boot.commands.JoinCommand@228cb6e2
2014-02-28 03:47:43,648 | INFO | pool-21-thread-1 | CuratorFrameworkImpl | mework.imps.CuratorFrameworkImpl 222 | 52 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-357 | Starting
2014-02-28 03:47:43,656 | INFO | pool-21-thread-1 | ZooKeeper | org.apache.zookeeper.ZooKeeper 438 | 52 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-357 | Initiating client connection, c
onnectString=broker-a12a31.openshift.local:38032 sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@7b9852b0
2014-02-28 03:47:44,011 | INFO | SessionTracker | SessionTrackerImpl | keeper.server.SessionTrackerImpl 162 | 52 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-357 | SessionTrackerImpl exited loop!
2014-02-28 03:48:13,614 | INFO | Thread-48 | Console | araf.shell.console.jline.Console 220 | 16 - org.apache.karaf.shell.console - 2.3.0.redhat-610357 | Exception caught while ex
ecuting command
io.fabric8.api.FabricException: Unable to create zookeeper server configuration
at io.fabric8.internal.ZooKeeperClusterBootstrapImpl.create(ZooKeeperClusterBootstrapImpl.java:136)
at io.fabric8.boot.commands.CreateAction.doExecute(CreateAction.java:247)
at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)
at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[14:org.apache.felix.gogo.runtime:0.11.0.redhat-610357]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[14:org.apache.felix.gogo.runtime:0.11.0.redhat-610357]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[14:org.apache.felix.gogo.runtime:0.11.0.redhat-610357]
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[14:org.apache.felix.gogo.runtime:0.11.0.redhat-610357]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[14:org.apache.felix.gogo.runtime:0.11.0.redhat-610357]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[14:org.apache.felix.gogo.runtime:0.11.0.redhat-610357]
at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
at org.apache.karaf.shell.console.jline.Console.run(Console.java:189)
at java.lang.Thread.run(Thread.java:744)[:1.7.0_45]
at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4.doRun(ShellFactoryImpl.java:158)[23:org.apache.karaf.shell.ssh:2.3.0.redhat-610357]
at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4$1.run(ShellFactoryImpl.java:149)
at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_45]
at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:47)[48:org.apache.karaf.jaas.modules:2.3.0.redhat-610357]
at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4.run(ShellFactoryImpl.java:147)[23:org.apache.karaf.shell.ssh:2.3.0.redhat-610357]
Caused by: java.util.concurrent.TimeoutException: Cannot create container in time
at io.fabric8.internal.ZooKeeperClusterBootstrapImpl$BootstrapCreateHandler.waitForContainerAlive(ZooKeeperClusterBootstrapImpl.java:326)
at io.fabric8.internal.ZooKeeperClusterBootstrapImpl$BootstrapCreateHandler.access$000(ZooKeeperClusterBootstrapImpl.java:284)
at io.fabric8.internal.ZooKeeperClusterBootstrapImpl.create(ZooKeeperClusterBootstrapImpl.java:128)
... 17 more
I tried a second time to run "fabric:create --clean" but it gave the same error.
I see in the logs that the curator framework is starting, but I see no indication that it started. The end result is that the operation times out.
Could you paste your env?
[fabric8-test.openshift.local 53107184c980122890000002]\> env
LC_PAPER=fi_FI.UTF-8
OPENSHIFT_SECRET_TOKEN=Z860ExWbWE5TcvlzMNSkAqHtoAWtdGpBYRq-dLuHJI2VPXht9kuftCszhE-S-p8VeRzNnuuORfx6ZVVl4Uj84M1koZUywlN0YvqoeBVeyDcps4VTetLiEOYiGx5oPuuH
OPENSHIFT_GEAR_MEMORY_MB=512
XDG_SESSION_ID=4
LC_ADDRESS=fi_FI.UTF-8
OPENSHIFT_FUSE_DATA_DIR=/var/lib/openshift/53107184c980122890000002/fuse/data/
OPENSHIFT_FUSE_ES_TCP_PORT=19301
LC_MONETARY=fi_FI.UTF-8
SELINUX_ROLE_REQUESTED=
OPENSHIFT_FUSE_RMI_SERVER_PORT=44444
GEM_HOME=/var/lib/openshift/53107184c980122890000002/.gem
TERM=xterm
SHELL=/bin/bash
OPENSHIFT_FUSE_DIR=/var/lib/openshift/53107184c980122890000002/fuse/
TMPDIR=/tmp/
SSH_CLIENT=192.168.1.61 52211 22
OPENSHIFT_DEPLOYMENTS_DIR=/var/lib/openshift/53107184c980122890000002/app-deployments/
OPENSHIFT_TMP_DIR=/tmp/
SELINUX_USE_CURRENT_RANGE=
OPENSHIFT_REPO_DIR=/var/lib/openshift/53107184c980122890000002/app-root/runtime/repo/
OPENSHIFT_HOMEDIR=/var/lib/openshift/53107184c980122890000002/
LC_NUMERIC=fi_FI.UTF-8
OPENSHIFT_GEAR_NAME=fabric8
OPENSHIFT_FUSE_DOMAIN_ZOOKEEPER_URL=fabric8-test.openshift.local:38032
SSH_TTY=/dev/pts/0
OPENSHIFT_FUSE_IP=127.1.244.1
OPENSHIFT_APP_SSH_PUBLIC_KEY=/var/lib/openshift/53107184c980122890000002/.openshift_ssh/id_rsa.pub
OPENSHIFT_CLOUD_DOMAIN=openshift.local
USER=53107184c980122890000002
LC_TELEPHONE=fi_FI.UTF-8
TMP_DIR=/tmp/
TMOUT=300
OPENSHIFT_FUSE_LOG_DIR=/var/lib/openshift/53107184c980122890000002/fuse/log/
OPENSHIFT_FUSE_ZOOKEEPER_PORT=3128
OPENSHIFT_BUILD_DEPENDENCIES_DIR=/var/lib/openshift/53107184c980122890000002/app-root/runtime/build-dependencies/
OPENSHIFT_FUSE_AMQ_SSL_PORT=31314
MAIL=/var/mail/53107184c980122890000002
PATH=:/bin:/usr/bin:/usr/sbin
OPENSHIFT_FUSE_AMQ_PROXY_PORT=38033
OPENSHIFT_FUSE_SSH_PROXY_PORT=38031
LC_IDENTIFICATION=fi_FI.UTF-8
PWD=/var/lib/openshift/53107184c980122890000002
OPENSHIFT_FUSE_VERSION=1.0.0
OPENSHIFT_FUSE_DEPLOY_DIR=/var/lib/openshift/53107184c980122890000002/fuse/deploy/
OPENSHIFT_APP_DNS=fabric8-test.openshift.local
LANG=en_US.UTF-8
OPENSHIFT_PRIMARY_CARTRIDGE_DIR=/var/lib/openshift/53107184c980122890000002/fuse/
OPENSHIFT_GEAR_DNS=fabric8-test.openshift.local
LC_MEASUREMENT=fi_FI.UTF-8
PS1=[fabric8-test.openshift.local \W]\>
OPENSHIFT_CARTRIDGE_SDK_BASH=/usr/lib/openshift/cartridge_sdk/bash/sdk
SELINUX_LEVEL_REQUESTED=
OPENSHIFT_FUSE_IDENT=fusesource:fuse:1.0.0:0.0.1
OPENSHIFT_FUSE_SSH_PORT=23101
OPENSHIFT_APP_SSH_KEY=/var/lib/openshift/53107184c980122890000002/.openshift_ssh/id_rsa
OPENSHIFT_FUSE_DOMAIN_ZOOKEEPER_PASSWORD=CypJWT788YZK
SHLVL=1
HOME=/var/lib/openshift/53107184c980122890000002/
OPENSHIFT_DEPENDENCIES_DIR=/var/lib/openshift/53107184c980122890000002/app-root/runtime/dependencies/
OPENSHIFT_APP_NAME=fabric8
OPENSHIFT_FUSE_ES_HTTP_PROXY_PORT=38034
TMP=/tmp/
OPENSHIFT_DATA_DIR=/var/lib/openshift/53107184c980122890000002/app-root/data/
LOGNAME=53107184c980122890000002
OPENSHIFT_GEAR_UUID=53107184c980122890000002
OPENSHIFT_NAMESPACE=test
OPENSHIFT_BROKER_HOST=localhost
SSH_CONNECTION=192.168.1.61 52211 192.168.1.142 22
OPENSHIFT_APP_UUID=53107184c980122890000002
OPENSHIFT_FUSE_ES_TCP_PROXY_PORT=38035
OPENSHIFT_FUSE_AMQ_PORT=31313
OPENSHIFT_FUSE_SHUTDOWN_PORT=15001
OPENSHIFT_FUSE_RMI_REGISTRY_PORT=16099
XDG_RUNTIME_DIR=/run/user/1000
OPENSHIFT_FUSE_ZOOKEEPER_PROXY_PORT=38032
OPENSHIFT_FUSE_ES_HTTP_PORT=18080
OPENSHIFT_UMASK=022
LC_TIME=fi_FI.UTF-8
HISTFILE=/var/lib/openshift/53107184c980122890000002/app-root/data/.bash_history
OPENSHIFT_CARTRIDGE_SDK_RUBY=/usr/lib/openshift/cartridge_sdk/ruby/sdk.rb
OPENSHIFT_FUSE_HTTP_PORT=8080
LC_NAME=fi_FI.UTF-8
_=/bin/env
[fabric8-test.openshift.local 53107184c980122890000002]\>
What I am not really getting, is where broker-a12a31.openshift.local comes from. I would expect that with the current environment setup it would try to connect to fabric8-test.openshift.local.
On Fri, Feb 28, 2014 at 2:13 PM, Teemu Hiltunen notifications@github.comwrote:
[fabric8-test.openshift.local 53107184c980122890000002]> env LC_PAPER=fi_FI.UTF-8 OPENSHIFT_SECRET_TOKEN=Z860ExWbWE5TcvlzMNSkAqHtoAWtdGpBYRq-dLuHJI2VPXht9kuftCszhE-S-p8VeRzNnuuORfx6ZVVl4Uj84M1koZUywlN0YvqoeBVeyDcps4VTetLiEOYiGx5oPuuH OPENSHIFT_GEAR_MEMORY_MB=512 XDG_SESSION_ID=4 LC_ADDRESS=fi_FI.UTF-8 OPENSHIFT_FUSE_DATA_DIR=/var/lib/openshift/53107184c980122890000002/fuse/data/ OPENSHIFT_FUSE_ES_TCP_PORT=19301 LC_MONETARY=fi_FI.UTF-8 SELINUX_ROLE_REQUESTED= OPENSHIFT_FUSE_RMI_SERVER_PORT=44444 GEM_HOME=/var/lib/openshift/53107184c980122890000002/.gem TERM=xterm SHELL=/bin/bash OPENSHIFT_FUSE_DIR=/var/lib/openshift/53107184c980122890000002/fuse/ TMPDIR=/tmp/ SSH_CLIENT=192.168.1.61 52211 22 OPENSHIFT_DEPLOYMENTS_DIR=/var/lib/openshift/53107184c980122890000002/app-deployments/ OPENSHIFT_TMP_DIR=/tmp/ SELINUX_USE_CURRENT_RANGE= OPENSHIFT_REPO_DIR=/var/lib/openshift/53107184c980122890000002/app-root/runtime/repo/ OPENSHIFT_HOMEDIR=/var/lib/openshift/53107184c980122890000002/ LC_NUMERIC=fi_FI.UTF-8 OPENSHIFT_GEAR_NAME=fabric8 OPENSHIFT_FUSE_DOMAIN_ZOOKEEPER_URL=fabric8-test.openshift.local:38032 SSH_TTY=/dev/pts/0 OPENSHIFT_FUSE_IP=127.1.244.1 OPENSHIFT_APP_SSH_PUBLIC_KEY=/var/lib/openshift/53107184c980122890000002/.openshift_ssh/id_rsa.pub OPENSHIFT_CLOUD_DOMAIN=openshift.local USER=53107184c980122890000002 LC_TELEPHONE=fi_FI.UTF-8 TMP_DIR=/tmp/ TMOUT=300 OPENSHIFT_FUSE_LOG_DIR=/var/lib/openshift/53107184c980122890000002/fuse/log/ OPENSHIFT_FUSE_ZOOKEEPER_PORT=3128 OPENSHIFT_BUILD_DEPENDENCIES_DIR=/var/lib/openshift/53107184c980122890000002/app-root/runtime/build-dependencies/ OPENSHIFT_FUSE_AMQ_SSL_PORT=31314 MAIL=/var/mail/53107184c980122890000002 PATH=:/bin:/usr/bin:/usr/sbin OPENSHIFT_FUSE_AMQ_PROXY_PORT=38033 OPENSHIFT_FUSE_SSH_PROXY_PORT=38031 LC_IDENTIFICATION=fi_FI.UTF-8 PWD=/var/lib/openshift/53107184c980122890000002 OPENSHIFT_FUSE_VERSION=1.0.0 OPENSHIFT_FUSE_DEPLOY_DIR=/var/lib/openshift/53107184c980122890000002/fuse/deploy/ OPENSHIFT_APP_DNS=fabric8-test.openshift.local LANG=en_US.UTF-8 OPENSHIFT_PRIMARY_CARTRIDGE_DIR=/var/lib/openshift/53107184c980122890000002/fuse/ OPENSHIFT_GEAR_DNS=fabric8-test.openshift.local LC_MEASUREMENT=fi_FI.UTF-8 PS1=[fabric8-test.openshift.local \W]> OPENSHIFT_CARTRIDGE_SDK_BASH=/usr/lib/openshift/cartridge_sdk/bash/sdk SELINUX_LEVEL_REQUESTED= OPENSHIFT_FUSE_IDENT=fusesource:fuse:1.0.0:0.0.1 OPENSHIFT_FUSE_SSH_PORT=23101 OPENSHIFT_APP_SSH_KEY=/var/lib/openshift/53107184c980122890000002/.openshift_ssh/id_rsa OPENSHIFT_FUSE_DOMAIN_ZOOKEEPER_PASSWORD=CypJWT788YZK SHLVL=1 HOME=/var/lib/openshift/53107184c980122890000002/ OPENSHIFT_DEPENDENCIES_DIR=/var/lib/openshift/53107184c980122890000002/app-root/runtime/dependencies/ OPENSHIFT_APP_NAME=fabric8 OPENSHIFT_FUSE_ES_HTTP_PROXY_PORT=38034 TMP=/tmp/ OPENSHIFT_DATA_DIR=/var/lib/openshift/53107184c980122890000002/app-root/data/ LOGNAME=53107184c980122890000002 OPENSHIFT_GEAR_UUID=53107184c980122890000002 OPENSHIFT_NAMESPACE=test OPENSHIFT_BROKER_HOST=localhost SSH_CONNECTION=192.168.1.61 52211 192.168.1.142 22 OPENSHIFT_APP_UUID=53107184c980122890000002 OPENSHIFT_FUSE_ES_TCP_PROXY_PORT=38035 OPENSHIFT_FUSE_AMQ_PORT=31313 OPENSHIFT_FUSE_SHUTDOWN_PORT=15001 OPENSHIFT_FUSE_RMI_REGISTRY_PORT=16099 XDG_RUNTIME_DIR=/run/user/1000 OPENSHIFT_FUSE_ZOOKEEPER_PROXY_PORT=38032 OPENSHIFT_FUSE_ES_HTTP_PORT=18080 OPENSHIFT_UMASK=022 LC_TIME=fi_FI.UTF-8 HISTFILE=/var/lib/openshift/53107184c980122890000002/app-root/data/.bash_history OPENSHIFT_CARTRIDGE_SDK_RUBY=/usr/lib/openshift/cartridge_sdk/ruby/sdk.rb OPENSHIFT_FUSE_HTTP_PORT=8080 LC_NAME=fiFI.UTF-8 =/bin/env [fabric8-test.openshift.local 53107184c980122890000002]>
Reply to this email directly or view it on GitHubhttps://github.com/jboss-fuse/fuse-openshift-cartridge/issues/4#issuecomment-36344784 .
Ioannis Canellos
Blog: http://iocanel.blogspot.com http://iocanel.blogspot.com/ Twitter: iocanel
broker-a12a31.openshift.local is the name of the "parent" (I am new to Openshift and not sure what the correct term is) instance. When I create the VirtualBox Openshift instance, that is the name of the base box instance which can be used for creating new applications via rhc or web admin page. fabric8-test.openshift.local is the name of the application instance created using rhc or web admin page. 28.2.2014 14.30 kirjoitti "Ioannis Canellos" notifications@github.com:
What I am not really getting, is where broker-a12a31.openshift.local comes from. I would expect that with the current environment setup it would try to connect to fabric8-test.openshift.local.
On Fri, Feb 28, 2014 at 2:13 PM, Teemu Hiltunen <notifications@github.com
wrote:
[fabric8-test.openshift.local 53107184c980122890000002]> env LC_PAPER=fi_FI.UTF-8
OPENSHIFT_SECRET_TOKEN=Z860ExWbWE5TcvlzMNSkAqHtoAWtdGpBYRq-dLuHJI2VPXht9kuftCszhE-S-p8VeRzNnuuORfx6ZVVl4Uj84M1koZUywlN0YvqoeBVeyDcps4VTetLiEOYiGx5oPuuH OPENSHIFT_GEAR_MEMORY_MB=512 XDG_SESSION_ID=4 LC_ADDRESS=fi_FI.UTF-8
OPENSHIFT_FUSE_DATA_DIR=/var/lib/openshift/53107184c980122890000002/fuse/data/ OPENSHIFT_FUSE_ES_TCP_PORT=19301 LC_MONETARY=fi_FI.UTF-8 SELINUX_ROLE_REQUESTED= OPENSHIFT_FUSE_RMI_SERVER_PORT=44444 GEM_HOME=/var/lib/openshift/53107184c980122890000002/.gem TERM=xterm SHELL=/bin/bash OPENSHIFT_FUSE_DIR=/var/lib/openshift/53107184c980122890000002/fuse/ TMPDIR=/tmp/ SSH_CLIENT=192.168.1.61 52211 22
OPENSHIFT_DEPLOYMENTS_DIR=/var/lib/openshift/53107184c980122890000002/app-deployments/ OPENSHIFT_TMP_DIR=/tmp/ SELINUX_USE_CURRENT_RANGE=
OPENSHIFT_REPO_DIR=/var/lib/openshift/53107184c980122890000002/app-root/runtime/repo/ OPENSHIFT_HOMEDIR=/var/lib/openshift/53107184c980122890000002/ LC_NUMERIC=fi_FI.UTF-8 OPENSHIFT_GEAR_NAME=fabric8 OPENSHIFT_FUSE_DOMAIN_ZOOKEEPER_URL=fabric8-test.openshift.local:38032 SSH_TTY=/dev/pts/0 OPENSHIFT_FUSE_IP=127.1.244.1
OPENSHIFT_APP_SSH_PUBLIC_KEY=/var/lib/openshift/53107184c980122890000002/.openshift_ssh/id_rsa.pub OPENSHIFT_CLOUD_DOMAIN=openshift.local USER=53107184c980122890000002 LC_TELEPHONE=fi_FI.UTF-8 TMP_DIR=/tmp/ TMOUT=300
OPENSHIFT_FUSE_LOG_DIR=/var/lib/openshift/53107184c980122890000002/fuse/log/ OPENSHIFT_FUSE_ZOOKEEPER_PORT=3128
OPENSHIFT_BUILD_DEPENDENCIES_DIR=/var/lib/openshift/53107184c980122890000002/app-root/runtime/build-dependencies/ OPENSHIFT_FUSE_AMQ_SSL_PORT=31314 MAIL=/var/mail/53107184c980122890000002 PATH=:/bin:/usr/bin:/usr/sbin OPENSHIFT_FUSE_AMQ_PROXY_PORT=38033 OPENSHIFT_FUSE_SSH_PROXY_PORT=38031 LC_IDENTIFICATION=fi_FI.UTF-8 PWD=/var/lib/openshift/53107184c980122890000002 OPENSHIFT_FUSE_VERSION=1.0.0
OPENSHIFT_FUSE_DEPLOY_DIR=/var/lib/openshift/53107184c980122890000002/fuse/deploy/ OPENSHIFT_APP_DNS=fabric8-test.openshift.local LANG=en_US.UTF-8
OPENSHIFT_PRIMARY_CARTRIDGE_DIR=/var/lib/openshift/53107184c980122890000002/fuse/ OPENSHIFT_GEAR_DNS=fabric8-test.openshift.local LC_MEASUREMENT=fi_FI.UTF-8 PS1=[fabric8-test.openshift.local \W]> OPENSHIFT_CARTRIDGE_SDK_BASH=/usr/lib/openshift/cartridge_sdk/bash/sdk SELINUX_LEVEL_REQUESTED= OPENSHIFT_FUSE_IDENT=fusesource:fuse:1.0.0:0.0.1 OPENSHIFT_FUSE_SSH_PORT=23101
OPENSHIFT_APP_SSH_KEY=/var/lib/openshift/53107184c980122890000002/.openshift_ssh/id_rsa OPENSHIFT_FUSE_DOMAIN_ZOOKEEPER_PASSWORD=CypJWT788YZK SHLVL=1 HOME=/var/lib/openshift/53107184c980122890000002/
OPENSHIFT_DEPENDENCIES_DIR=/var/lib/openshift/53107184c980122890000002/app-root/runtime/dependencies/ OPENSHIFT_APP_NAME=fabric8 OPENSHIFT_FUSE_ES_HTTP_PROXY_PORT=38034 TMP=/tmp/
OPENSHIFT_DATA_DIR=/var/lib/openshift/53107184c980122890000002/app-root/data/ LOGNAME=53107184c980122890000002 OPENSHIFT_GEAR_UUID=53107184c980122890000002 OPENSHIFT_NAMESPACE=test OPENSHIFT_BROKER_HOST=localhost SSH_CONNECTION=192.168.1.61 52211 192.168.1.142 22 OPENSHIFT_APP_UUID=53107184c980122890000002 OPENSHIFT_FUSE_ES_TCP_PROXY_PORT=38035 OPENSHIFT_FUSE_AMQ_PORT=31313 OPENSHIFT_FUSE_SHUTDOWN_PORT=15001 OPENSHIFT_FUSE_RMI_REGISTRY_PORT=16099 XDG_RUNTIME_DIR=/run/user/1000 OPENSHIFT_FUSE_ZOOKEEPER_PROXY_PORT=38032 OPENSHIFT_FUSE_ES_HTTP_PORT=18080 OPENSHIFT_UMASK=022 LC_TIME=fi_FI.UTF-8
HISTFILE=/var/lib/openshift/53107184c980122890000002/app-root/data/.bash_history OPENSHIFT_CARTRIDGE_SDK_RUBY=/usr/lib/openshift/cartridge_sdk/ruby/sdk.rb OPENSHIFT_FUSE_HTTP_PORT=8080 LC_NAME=fiFI.UTF-8 =/bin/env [fabric8-test.openshift.local 53107184c980122890000002]>
Reply to this email directly or view it on GitHub< https://github.com/jboss-fuse/fuse-openshift-cartridge/issues/4#issuecomment-36344784
.
Ioannis Canellos
Blog: http://iocanel.blogspot.com http://iocanel.blogspot.com/ Twitter: iocanel
Reply to this email directly or view it on GitHubhttps://github.com/jboss-fuse/fuse-openshift-cartridge/issues/4#issuecomment-36345838 .
Fabric should attempt to connect to fabric8-test.openshift.local which is the OPENSHIFT_GEAR_DNS. I am not sure why it tries to connect to the parent instead. Is it possible to zip that containers etc and data folders and send it to me?
I sent you my fabric8-test gear's /etc and /var/lib/openshift/53107184c980122890000002/app-root/data directories. I could not get all files from /etc because I do not know how to get root access on gear.
Ooops, I was referring to the containers etc and data folder and not the gears.
Umm.. now I am not quite sure what you mean. Do you mean the Openshift VirtualBox's /etc and /var/named/data directories? I sent you those just now. I hope it doesn't matter if the hostname (broker-b25182) is different from before (broker-a12a31) because I tried this now on different workstation - with the same results.
Can you try with build 380
When trying to use the https://raw.github.com/jboss-fuse/fuse-openshift-cartridge/master/metadata/manifest.yml link in the web console, I get the following error:
End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of fuse-fabric-7.3.0.redhat-307.zip or fuse-fabric-7.3.0.redhat-307.zip.zip, and cannot find fuse-fabric-7.3.0.redhat-307.zip.ZIP, period.