cc_rsyslog.py:205: FutureWarning: Possible nested set at position 23
Bug #1816967 reported by
Tommi Rantala
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Low
|
Dan Watkins |
Bug Description
With Python 3.7 this FutureWarning is seen e.g. in VM serial console:
[ 4.321959] cloud-init[728]: /usr/lib/
[ 4.323230] cloud-init[728]: r'^(?P<
I think it's fixable by changing [[] to [\[] in the HOST_PORT_RE regex in cc_rsyslog.py.
Related branches
~oddbloke/cloud-init/+git/cloud-init:nested_set
Merged
into
cloud-init:master
- Ryan Harper: Approve
- Server Team CI bot: Approve (continuous-integration)
-
Diff: 11 lines (+1/-1)1 file modifiedcloudinit/config/cc_rsyslog.py (+1/-1)
Changed in cloud-init: | |
assignee: | nobody → Dan Watkins (daniel-thewatkins) |
status: | Triaged → In Progress |
To post a comment you must log in.
Hi Tommi,
Thanks for the bug report! I'm not seeing this in my logs when I launch Ubuntu disco (which has Python 3.7) images. Can you give me some concrete steps to reproduce this issue so we can be sure that any changes we might make will actually fix the issue you're seeing?
Thanks!