We started getting the following error in the "Agent BeforeHostUp phase" on
a M3.medium instance a few days ago. Running the same
farm on a t2.medium does not cause the error (we'er using a Ubuntu 12.04
Precise image). Seems to have something to do with instance store
volumes on M3 instances and blocking device mappings. Any idea how to fix
this? We have RIs so we don't want to move to T2 or other
instance types.
2016-06-11 17:37:46,940+00:00 - ERROR - scalarizr.ops.system.init -
Operation "system.init" (id: 412be8be-66a7-4c98-83ac-0dd6ef2da89b) failed.
Reason:
Instance store device /dev/sdb (ephemeral0) doesn't exist. Please check
that instance type m3.medium supports it
Traceback (most recent call last):
File
"/opt/scalarizr/embedded/lib/python2.7/site-packages/scalarizr-4.6.0-py2.7.egg/scalarizr/api/operation.py",
line 273, in _in_progress
self._completed(self.func(self, *self.func_args, **self.func_kwds))
File
"/opt/scalarizr/embedded/lib/python2.7/site-packages/scalarizr-4.6.0-py2.7.egg/scalarizr/handlers/lifecycle.py",
line 441, in handler
bus.fire("host_init_response", message)
File
"/opt/scalarizr/embedded/lib/python2.7/site-packages/scalarizr-4.6.0-py2.7.egg/scalarizr/libs/bases.py",
line 33, in fire
ln(*args, **kwargs)
File
"/opt/scalarizr/embedded/lib/python2.7/site-packages/scalarizr-4.6.0-py2.7.egg/scalarizr/handlers/block_device.py",
line 103, in on_host_init_response
self._plug_new_style_volumes(volumes)
File
"/opt/scalarizr/embedded/lib/python2.7/site-packages/scalarizr-4.6.0-py2.7.egg/scalarizr/handlers/block_device.py",
line 127, in _plug_new_style_volumes
vol.ensure(mount=bool(vol.mpoint), mkfs=True)
File
"/opt/scalarizr/embedded/lib/python2.7/site-packages/scalarizr-4.6.0-py2.7.egg/scalarizr/storage2/volumes/base.py",
line 88, in ensure
self._ensure()
File
"/opt/scalarizr/embedded/lib/python2.7/site-packages/scalarizr-4.6.0-py2.7.egg/scalarizr/storage2/volumes/ec2_ephemeral.py",
line 44, in _ensure
device, self.name, __node__['platform'].get_instance_type()))
--
You received this message because you are subscribed to the Google Groups
"scalr-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.