yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #86968
[Bug 1932048] Re: AttributeError: module 'collections' has no attribute 'Iterable'
This bug is believed to be fixed in cloud-init in version 21.3. 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/1932048
Title:
AttributeError: module 'collections' has no attribute 'Iterable'
Status in cloud-init:
Fix Released
Bug description:
Description of problem:
cloud-init crashes with AttributeError: module 'collections' has no attribute 'Iterable'
Version-Release number of selected component (if applicable):
cloud-init-20.4-5.fc35.noarch.rpm
How reproducible:
always
Steps to Reproduce:
1. /usr/bin/cloud-init init
Actual results:
><fs> cat /var/log/cloud-init-output.log
failed run of stage init-local
------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/cloudinit/cmd/main.py", line 653, in status_wrapper
ret = functor(name, args)
File "/usr/lib/python3.10/site-packages/cloudinit/cmd/main.py", line 261, in main_init
logging.setupLogging(init.cfg)
File "/usr/lib/python3.10/site-packages/cloudinit/log.py", line 81, in setupLogging
elif isinstance(a_cfg, (collections.Iterable)):
AttributeError: module 'collections' has no attribute 'Iterable'
------------------------------------------------------------
failed run of stage init
------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/cloudinit/cmd/main.py", line 653, in status_wrapper
ret = functor(name, args)
File "/usr/lib/python3.10/site-packages/cloudinit/cmd/main.py", line 261, in main_init
logging.setupLogging(init.cfg)
File "/usr/lib/python3.10/site-packages/cloudinit/log.py", line 81, in setupLogging
elif isinstance(a_cfg, (collections.Iterable)):
AttributeError: module 'collections' has no attribute 'Iterable'
------------------------------------------------------------
failed run of stage modules-config
------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/cloudinit/cmd/main.py", line 653, in status_wrapper
ret = functor(name, args)
File "/usr/lib/python3.10/site-packages/cloudinit/cmd/main.py", line 509, in main_modules
logging.setupLogging(mods.cfg)
File "/usr/lib/python3.10/site-packages/cloudinit/log.py", line 81, in setupLogging
elif isinstance(a_cfg, (collections.Iterable)):
AttributeError: module 'collections' has no attribute 'Iterable'
------------------------------------------------------------
failed run of stage modules-final
------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/cloudinit/cmd/main.py", line 653, in status_wrapper
ret = functor(name, args)
File "/usr/lib/python3.10/site-packages/cloudinit/cmd/main.py", line 509, in main_modules
logging.setupLogging(mods.cfg)
File "/usr/lib/python3.10/site-packages/cloudinit/log.py", line 81, in setupLogging
elif isinstance(a_cfg, (collections.Iterable)):
AttributeError: module 'collections' has no attribute 'Iterable'
------------------------------------------------------------
Expected results:
cloud-init doesn't crash
Additional info:
https://bugzilla.redhat.com/show_bug.cgi?id=1972283
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1932048/+subscriptions
References