yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #77127
[Bug 1816967] [NEW] cc_rsyslog.py:205: FutureWarning: Possible nested set at position 23
Public bug reported:
With Python 3.7 this FutureWarning is seen e.g. in VM serial console:
[ 4.321959] cloud-init[728]: /usr/lib/python3.7/site-packages/cloudinit/config/cc_rsyslog.py:205: FutureWarning: Possible nested set at position 23
[ 4.323230] cloud-init[728]: r'^(?P<proto>[@]{0,2})'
I think it's fixable by changing [[] to [\[] in the HOST_PORT_RE regex
in cc_rsyslog.py.
https://docs.python.org/dev/whatsnew/3.7.html#re
** 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/1816967
Title:
cc_rsyslog.py:205: FutureWarning: Possible nested set at position 23
Status in cloud-init:
New
Bug description:
With Python 3.7 this FutureWarning is seen e.g. in VM serial console:
[ 4.321959] cloud-init[728]: /usr/lib/python3.7/site-packages/cloudinit/config/cc_rsyslog.py:205: FutureWarning: Possible nested set at position 23
[ 4.323230] cloud-init[728]: r'^(?P<proto>[@]{0,2})'
I think it's fixable by changing [[] to [\[] in the HOST_PORT_RE regex
in cc_rsyslog.py.
https://docs.python.org/dev/whatsnew/3.7.html#re
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1816967/+subscriptions
Follow ups