docker-library/elasticsearch

elasticsearch 5.0.1 does not work

ryoryotaro opened this issue · 2 comments

Elasticsearch 2.4 on docker container based on centos 7.2 and Docker version 1.12.3 Work Well!
But I have been trying to install and run elasticsearch 5.0.1 on docker container based on centos 7.2 and Docker version 1.12.3. i am getting the following error:

Nov 25 13:00:46 brsvm03 systemd: Device dev-disk-by\x2duuid-9a27a54f\x2da819\x2d4049\x2db572\x2dc04d34006598.device appeared twice with different sysfs paths /sys/devices/virtual/block/dm-3 and /sys/devices/virtual/block/dm-4
Nov 25 13:00:46 brsvm03 kernel: XFS (dm-4): Mounting V4 Filesystem
Nov 25 13:00:46 brsvm03 kernel: XFS (dm-4): Ending clean mount
Nov 25 13:00:46 brsvm03 kernel: XFS (dm-4): Unmounting Filesystem
Nov 25 13:00:46 brsvm03 systemd: Device dev-disk-by\x2duuid-9a27a54f\x2da819\x2d4049\x2db572\x2dc04d34006598.device appeared twice with different sysfs paths /sys/devices/virtual/block/dm-3 and /sys/devices/virtual/block/dm-4
Nov 25 13:00:46 brsvm03 kernel: XFS (dm-4): Mounting V4 Filesystem
Nov 25 13:00:46 brsvm03 kernel: XFS (dm-4): Ending clean mount
Nov 25 13:00:46 brsvm03 kernel: XFS (dm-4): Unmounting Filesystem
Nov 25 13:00:47 brsvm03 systemd: Device dev-disk-by\x2duuid-9a27a54f\x2da819\x2d4049\x2db572\x2dc04d34006598.device appeared twice with different sysfs paths /sys/devices/virtual/block/dm-3 and /sys/devices/virtual/block/dm-4
Nov 25 13:00:47 brsvm03 kernel: XFS (dm-4): Mounting V4 Filesystem
Nov 25 13:00:47 brsvm03 kernel: XFS (dm-4): Ending clean mount
Nov 25 13:00:47 brsvm03 kernel: device veth8c35eec entered promiscuous mode
Nov 25 13:00:47 brsvm03 kernel: IPv6: ADDRCONF(NETDEV_UP): veth8c35eec: link is not ready
Nov 25 13:00:47 brsvm03 avahi-daemon[946]: Withdrawing workstation service for vethac647f7.
Nov 25 13:00:47 brsvm03 kernel: IPv6: ADDRCONF(NETDEV_CHANGE): veth8c35eec: link becomes ready
Nov 25 13:00:47 brsvm03 kernel: docker0: port 2(veth8c35eec) entered forwarding state
Nov 25 13:00:47 brsvm03 kernel: docker0: port 2(veth8c35eec) entered forwarding state
Nov 25 13:00:48 brsvm03 kernel: docker0: port 2(veth8c35eec) entered disabled state
Nov 25 13:00:48 brsvm03 kernel: docker0: port 2(veth8c35eec) entered disabled state
Nov 25 13:00:48 brsvm03 avahi-daemon[946]: Withdrawing workstation service for vethac647f7.
Nov 25 13:00:48 brsvm03 avahi-daemon[946]: Withdrawing workstation service for veth8c35eec.
Nov 25 13:00:48 brsvm03 journal: ethtool ioctl error: No such device
Nov 25 13:00:48 brsvm03 kernel: device veth8c35eec left promiscuous mode
Nov 25 13:00:48 brsvm03 kernel: docker0: port 2(veth8c35eec) entered disabled state
Nov 25 13:00:48 brsvm03 journal: ethtool ioctl error: No such device
Nov 25 13:00:48 brsvm03 journal: ethtool ioctl error: No such device
Nov 25 13:00:48 brsvm03 journal: ethtool ioctl error: No such device
Nov 25 13:00:48 brsvm03 journal: ethtool ioctl error: No such device
Nov 25 13:00:48 brsvm03 journal: ethtool ioctl error: No such device
Nov 25 13:00:48 brsvm03 journal: ethtool ioctl error: No such device
Nov 25 13:00:48 brsvm03 kernel: XFS (dm-4): Unmounting Filesystem

Please tell me something is wrong with my server settings.

I don't see the elasticsearch logs here, but have you followed the docs from the Docker Hub page about Host Setup? The most common failure for the 5.0 image has been the vm.max_map_count setting on the host.

I overlooked "vm.max_map_count".
So I set it and I could work it well.
Thank you so much.