← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1816967] Re: cc_rsyslog.py:205: FutureWarning: Possible nested set at position 23

 

This bug is believed to be fixed in cloud-init in version 19.1. If this
is still a problem for you, please make a comment and set the state back
to New

Thank you.

** Changed in: cloud-init
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released

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


References