brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Duncan Grant <duncan.gr...@cloudsoftcorp.com>
Subject Re: Booklyn fails to start
Date Mon, 31 Jul 2017 07:31:49 GMT
Taylor,

The error you're seeing is with Brooklyn failing to rebind to persisted
state [1].  Could you explain what you mean when you are talking about
taking a snapshot and then reverting to the snapshot (do you mean the VM
image where you are running brooklyn?)

There are a couple of ways to deal with problems with persisted state.  You
can either fix the persisted state manually[2] or you can have brooklyn
ignore errors with persisted state when it starts [4].  Both of these run
the risk of brooklyn becoming detached from existing applications so back
up your persistance directory (or object store) first.

Let me know if this helps (or doesn't) or I'm on IRC just now if you'd like
some answers in real-time.

Regards

Duncan

[1]
https://brooklyn.apache.org/v/latest/ops/persistence/index.html#rebinding-to-state
[2]
https://brooklyn.apache.org/v/latest/ops/persistence/index.html#determine-underlying-cause
[3]
https://brooklyn.apache.org/v/latest/ops/persistence/index.html#fix-up-the-state
[4]
https://brooklyn.apache.org/v/latest/ops/persistence/index.html#ignore-errors


On Mon, 31 Jul 2017 at 07:57 Taylor <tschneider@live.com> wrote:

> I am having a problem with brooklyn. If I start/stop the service things
> are ok. If I snapshot and revertto snapshot I see the following:
>
>
> [root@localhost ~]# systemctl status brooklyn
> brooklyn.service - Apache Brooklyn Service
>    Loaded: loaded
> (/etc/systemd/system/multi-user.target.wants/brooklyn.service)
>    Active: active (running) since Sun 2017-07-30 17:19:55 EDT; 44s ago
>      Docs: https://brooklyn.apache.org/documentation/index.html
>  Main PID: 651 (java)
>    CGroup: /system.slice/brooklyn.service
>            └─651 /usr/bin/java
> -Dbrooklyn.location.localhost.address=127.0.0.1
> -XX:SoftRefLRUPolicyMSPerMB=1
> -Dlogback.configurationFile=/etc/brooklyn/logback.xml -Xms256m -Xmx1g
> -XX:MaxP...
>
> Jul 30 17:20:11 localhost.localdomain java[651]: 2017-07-30 17:20:11,553
> INFO  Started Brooklyn console at http://127.0.0.1:8081/, running
> classpath://brooklyn.war@/
> Jul 30 17:20:13 localhost.localdomain java[651]: 2017-07-30 17:20:13,401
> INFO  Geo info lookup for 127.0.0.1/127.0.0.1 returned: HostGeoInfo[RCN
> Corporation, Chicago (US): 127...4096374512 <(409)%20637-4512>)]
> Jul 30 17:20:13 localhost.localdomain java[651]: 2017-07-30 17:20:13,736
> ERROR Subsystem for persistence had startup error (continuing with
> startup): java.lang.IllegalStateExc...was scanning
> Jul 30 17:20:13 localhost.localdomain java[651]:
> java.lang.IllegalStateException: Node record nodes/vmL5HEpG could not be
> read when upxGnvJq was scanning
> Jul 30 17:20:13 localhost.localdomain java[651]: at
> org.apache.brooklyn.core.mgmt.ha.ManagementPlaneSyncRecordPersisterToObjectStore.loadSyncRecord(ManagementPlaneSyncRecordPe....jar:0.11.0]
> Jul 30 17:20:13 localhost.localdomain java[651]: 2017-07-30 17:20:13,736
> WARN  Loading catalog for INITIALIZING as part of launch sequence (it was
> not loaded as part of the rebind sequence)
> Jul 30 17:20:18 localhost.localdomain java[651]: 2017-07-30 17:20:18,851
> INFO  Launched Brooklyn; will now block until shutdown command received via
> GUI/API (recommended) or p...s interrupt.
> Jul 30 17:20:28 localhost.localdomain java[651]: 2017-07-30 17:20:28,309
> WARN  Disallowing web request as server not in required HA hot state:
> http://192.168.1.14:8081/v1/catalog/applicat...
> Jul 30 17:20:28 localhost.localdomain java[651]: 2017-07-30 17:20:28,309
> WARN  Disallowing web request as server not in required HA hot state:
> http://192.168.1.14:8081/v1/loca...s' to force)
> Jul 30 17:20:28 localhost.localdomain java[651]: 2017-07-30 17:20:28,309
> WARN  Disallowing web request as server not in required HA hot state:
> http://192.168.1.14:8081/v1/catalog/entities...
> Hint: Some lines were ellipsized, use -l to show in full.
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message