← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1850240] [NEW] _netdev mount prevented by late cloud-init-local startup

 

Public bug reported:

_netdev CIFS systemd automounts are sometimes prevented because such
mounts come too quickly after cloud-init reports the network settings to
the container.

Only thing that seems to prevent most of the time is to have cloud-init-
local startup as early as possible --

1. Change "Wants" to "RequiredBy" for network-pre.target in cloud-init-
local.service.

2. Add "Requires=...basic.target" to remote-fs.target

EXPECTED BEHAVIOR

_netdev mounts will automount every time at startup.

ACTUAL BEHAVIOR

*sometimes* _netdev mounts will fail at startup if the networking is not
ready.

** 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/1850240

Title:
  _netdev mount prevented by late cloud-init-local startup

Status in cloud-init:
  New

Bug description:
  _netdev CIFS systemd automounts are sometimes prevented because such
  mounts come too quickly after cloud-init reports the network settings
  to the container.

  Only thing that seems to prevent most of the time is to have cloud-
  init-local startup as early as possible --

  1. Change "Wants" to "RequiredBy" for network-pre.target in cloud-
  init-local.service.

  2. Add "Requires=...basic.target" to remote-fs.target

  EXPECTED BEHAVIOR

  _netdev mounts will automount every time at startup.

  ACTUAL BEHAVIOR

  *sometimes* _netdev mounts will fail at startup if the networking is
  not ready.

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


Follow ups