← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1767002] [NEW] When stop(deallocate) and then start a RHEL 7.5 VM, cloud-init cannot mount /dev/sdb1 to /mnt.

 

Public bug reported:

When stop(deallocate) and then start a RHEL VM, cloud-init cannot mount
/dev/sdb1 to /mnt.

You see this error:

/var/log/cloud-init.log:
2018-03-23 06:30:52,018 - util.py[DEBUG]: Running command ['mount', '-o', 'ro,sync', '-t', 'auto', '/dev/disk/cloud/azure_resource-part1', '/tmp/tmp9iIt2n'] with allowed return codes [0] (shell=False, capture=True)
2018-03-23 06:30:52,038 - util.py[DEBUG]: Failed mount of '/dev/disk/cloud/azure_resource-part1' as 'auto': Unexpected error while running command.
Command: ['mount', '-o', 'ro,sync', '-t', 'auto', '/dev/disk/cloud/azure_resource-part1', '/tmp/tmp9iIt2n']
Exit code: 32
Reason: -
Stdout: -
Stderr: mount: unknown filesystem type 'ntfs'
2018-03-23 06:30:52,038 - util.py[DEBUG]: Recursively deleting /tmp/tmp9iIt2n
2018-03-23 06:30:52,038 - DataSourceAzure.py[DEBUG]: reformattable=False: partition 1 (/dev/disk/cloud/azure_resource-part1 -> /dev/sdb1) on device /dev/disk/cloud/azure_resource was ntfs formatted but mount of /dev/disk/cloud/azure_resource-part1 failed: Failed mounting /dev/disk/cloud/azure_resource-part1 to /tmp/tmp9iIt2n due to: Unexpected error while running command.
Command: ['mount', '-o', 'ro,sync', '-t', 'auto', '/dev/disk/cloud/azure_resource-part1', '/tmp/tmp9iIt2n']
Exit code: 32
Reason: -
Stdout: -
Stderr: mount: unknown filesystem type 'ntfs'

This has been patched here: https://code.launchpad.net/~paul-meyer
/cloud-init/+git/cloud-init/+ref/fix-ntfs-mount.

Thanks,

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1767002

Title:
  When stop(deallocate) and then start a RHEL 7.5 VM, cloud-init cannot
  mount /dev/sdb1 to /mnt.

Status in cloud-init:
  New

Bug description:
  When stop(deallocate) and then start a RHEL VM, cloud-init cannot
  mount /dev/sdb1 to /mnt.

  You see this error:

  /var/log/cloud-init.log:
  2018-03-23 06:30:52,018 - util.py[DEBUG]: Running command ['mount', '-o', 'ro,sync', '-t', 'auto', '/dev/disk/cloud/azure_resource-part1', '/tmp/tmp9iIt2n'] with allowed return codes [0] (shell=False, capture=True)
  2018-03-23 06:30:52,038 - util.py[DEBUG]: Failed mount of '/dev/disk/cloud/azure_resource-part1' as 'auto': Unexpected error while running command.
  Command: ['mount', '-o', 'ro,sync', '-t', 'auto', '/dev/disk/cloud/azure_resource-part1', '/tmp/tmp9iIt2n']
  Exit code: 32
  Reason: -
  Stdout: -
  Stderr: mount: unknown filesystem type 'ntfs'
  2018-03-23 06:30:52,038 - util.py[DEBUG]: Recursively deleting /tmp/tmp9iIt2n
  2018-03-23 06:30:52,038 - DataSourceAzure.py[DEBUG]: reformattable=False: partition 1 (/dev/disk/cloud/azure_resource-part1 -> /dev/sdb1) on device /dev/disk/cloud/azure_resource was ntfs formatted but mount of /dev/disk/cloud/azure_resource-part1 failed: Failed mounting /dev/disk/cloud/azure_resource-part1 to /tmp/tmp9iIt2n due to: Unexpected error while running command.
  Command: ['mount', '-o', 'ro,sync', '-t', 'auto', '/dev/disk/cloud/azure_resource-part1', '/tmp/tmp9iIt2n']
  Exit code: 32
  Reason: -
  Stdout: -
  Stderr: mount: unknown filesystem type 'ntfs'

  This has been patched here: https://code.launchpad.net/~paul-meyer
  /cloud-init/+git/cloud-init/+ref/fix-ntfs-mount.

  Thanks,

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1767002/+subscriptions


Follow ups