Device %s doesn't exist

kenorb's Avatar

kenorb

02 Nov, 2017 05:46 PM

During initialization process, I've got the following error:

Device %s doesn't exist

First of all, the %s is a placeholder, so it doesn't tell which device doesn't exist.

Secondly, the device is attached correctly as per the following log entries:

2017-11-02 17:17:25,609+00:00 - DEBUG - scalarizr.storage2.volumes.ebs - EBS volume vol-0def7284ea203023a attached
2017-11-02 17:17:25,609+00:00 - ERROR - scalarizr.ops.system.init - Operation "system.init" (id: f1e7eeb6-cf3e-4d11-83db-bd61708f74d5) failed. Reason: Device %s doesn't exist
Traceback (most recent call last):
  File "C:\Program Files\Scalarizr\src\scalarizr\api\operation.py", line 191, in _in_progress
    self._completed(self.func(self, *self.func_args, **self.func_kwds))
  File "C:\Program Files\Scalarizr\src\scalarizr\handlers\lifecycle.py", line 468, in handler
    bus.fire("host_init_response", message)
  File "C:\Program Files\Scalarizr\src\scalarizr\libs\bases.py", line 33, in fire
    ln(*args, **kwargs)
  File "C:\Program Files\Scalarizr\src\scalarizr\handlers\block_device.py", line 102, in on_host_init_response
    self._plug_new_style_volumes(volumes)
  File "C:\Program Files\Scalarizr\src\scalarizr\handlers\block_device.py", line 124, in _plug_new_style_volumes
    vol.ensure(mount=bool(vol.mpoint), mkfs=True)
  File "C:\Program Files\Scalarizr\src\scalarizr\storage2\volumes\base.py", line 102, in ensure
    if not self.is_fs_created() and mkfs:
  File "C:\Program Files\Scalarizr\src\scalarizr\storage2\volumes\base.py", line 189, in is_fs_created
    fstype = coreutils.blkid(self.device).get('type')
  File "C:\Program Files\Scalarizr\src\scalarizr\linux\coreutils.py", line 139, in blkid
    raise Exception("Device %s doesn't exist")
Exception: Device %s doesn't exist
  1. Support Staff 1 Posted by Marat Komarov on 02 Nov, 2017 06:02 PM

    Marat Komarov's Avatar

    Your role is using obsolete Scalarizr version < 3.10.x. The current version 5.11.3 is not affected by this bug. Please re-create role with the new Agent.

    Regards,
    Marat

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac