yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #86331
[Bug 1932048] [NEW] AttributeError: module 'collections' has no attribute 'Iterable'
Public bug reported:
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
** 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/1932048
Title:
AttributeError: module 'collections' has no attribute 'Iterable'
Status in cloud-init:
New
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
Follow ups