Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Oct 2020 00:36:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 250496] net/cloud-init: fix mounting local cloud-init
Message-ID:  <bug-250496-7788-kXXbEb8eYn@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-250496-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-250496-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250496

--- Comment #1 from Andrey Fesenko <andrey@bsdnir.info> ---
Upstream bug https://bugs.launchpad.net/cloud-init/+bug/1901958

And I'm find bug parsing newfs option
if fs have trim: (-t) or MAC multilabel: (-l) flag, resize FS fail.
https://www.freebsd.org/cgi/man.cgi?query=3Dtunefs&sektion=3D8

 2020-10-28 17:15:07,015 - handlers.py[DEBUG]: finish:
init-network/config-resizefs: FAIL: running config-resizefs with frequency
always
 ...
  File
"/usr/local/lib/python3.7/site-packages/cloudinit/config/cc_resizefs.py", l=
ine
114, in _can_skip_resize_ufs
    optlist, _args =3D getopt.getopt(newfs_cmd[1:], opt_value)
  File "/usr/local/lib/python3.7/getopt.py", line 95, in getopt
    opts, args =3D do_shorts(opts, args[0][1:], shortopts, args[1:])
  File "/usr/local/lib/python3.7/getopt.py", line 195, in do_shorts
    if short_has_arg(opt, shortopts):
  File "/usr/local/lib/python3.7/getopt.py", line 211, in short_has_arg
    raise GetoptError(_('option -%s not recognized') % opt, opt)
 getopt.GetoptError: option -t not recognized

And fix #Bug250437 (delet dependency py-six) upstream drop this 20.2
https://github.com/number5/cloud-init/commit/b9ff0dc950558ecd2a8469eded26bd=
6ae4082771

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250496-7788-kXXbEb8eYn>