Deployment on GCE fails due to java gethost

Bug #1578911 reported by Andrew McLeod
This bug report is a duplicate of:  Bug #1578670: ElasticSearch charm fails on GCE. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
elasticsearch (Juju Charms Collection)
Triaged
Undecided
Unassigned

Bug Description

Elasticsearch won't start with openjdk7 (or, 6)on GCE due to an issue with java and long hostnames. Java can be updated to 8 or the hostname can be appended to the localhost definition in /etc/hosts, e.g.

127.0.0.1 localhost $(hostname -s)

In the following paste, the 127.0.0.1 line before editing was:

127.0.0.1 localhost

modified to

127.0.0.1 localhost juju-29af2925-3419-4976-8874-7faa5b3d619f-machine-1

http://pastebin.ubuntu.com/16250593/

Changed in elasticsearch (Juju Charms Collection):
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.