Public bug reported:
Seen with cloud-init-18.2-3.13.x86_64 from SLES 15 Public-Cloud-
Module_15-0.
This is debug:
2018-10-31 13:57:37,557 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg
(quiet=False)
2018-10-31 13:57:37,557 - util.py[DEBUG]: Read 2178 bytes from
/etc/cloud/cloud.cfg
2018-10-31 13:57:37,557 - util.py[DEBUG]: Attempting to load yaml from string
of length 2178 with allowed root types (<class 'dict'>,)
2018-10-31 13:57:37,564 - util.py[DEBUG]: Reading from
/etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False)
2018-10-31 13:57:37,565 - util.py[DEBUG]: Read 2057 bytes from
/etc/cloud/cloud.cfg.d/05_logging.cfg
2018-10-31 13:57:37,565 - util.py[DEBUG]: Attempting to load yaml from string
of length 2057 with allowed root types (<class 'dict'>,)
2018-10-31 13:57:37,570 - util.py[DEBUG]: Reading from
/run/cloud-init/cloud.cfg (quiet=False)
2018-10-31 13:57:37,570 - util.py[DEBUG]: Read 35 bytes from
/run/cloud-init/cloud.cfg
2018-10-31 13:57:37,570 - util.py[DEBUG]: Attempting to load yaml from string
of length 35 with allowed root types (<class 'dict'>,)
2018-10-31 13:57:37,571 - util.py[DEBUG]: Attempting to load yaml from string
of length 0 with allowed root types (<class 'dict'>,)
2018-10-31 13:57:37,571 - util.py[DEBUG]: loaded blob returned None, returning
default.
2018-10-31 13:57:37,571 - util.py[DEBUG]: Reading from
/var/lib/cloud/instance/cloud-config.txt (quiet=False)
2018-10-31 13:57:37,572 - util.py[DEBUG]: Read 1682 bytes from
/var/lib/cloud/instance/cloud-config.txt
2018-10-31 13:57:37,572 - util.py[DEBUG]: Attempting to load yaml from string
of length 1682 with allowed root types (<class 'dict'>,)
2018-10-31 13:57:37,577 - util.py[DEBUG]: Reading from
/var/lib/cloud/instance/cloud-config.txt (quiet=False)
2018-10-31 13:57:37,577 - util.py[DEBUG]: Read 1682 bytes from
/var/lib/cloud/instance/cloud-config.txt
2018-10-31 13:57:37,577 - util.py[DEBUG]: Attempting to load yaml from string
of length 1682 with allowed root types (<class 'dict'>,)
2018-10-31 13:57:37,584 - util.py[DEBUG]: Writing to
/var/lib/cloud/instance/obj.pkl - wb: [400] 7308 bytes
2018-10-31 13:57:37,586 - main.py[DEBUG]: no di_report found in config.
This is important:
2018-10-31 13:57:37,530 - stages.py[DEBUG]: not a new instance. network
config is not applied.
Both are marked a debug. So currently I default to use "grep -v util.py" when
looking at cloud init logs to retain my own sanity. I think it is possible to
make it easier than this for admins to use cloud-init. Especially as when
compared to 0.7.9 cloud-init has seem to become way more complex and more
difficult to understand.
** 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/1800851
Title:
make loglevel usage sane
Status in cloud-init:
New
Bug description:
Seen with cloud-init-18.2-3.13.x86_64 from SLES 15 Public-Cloud-
Module_15-0.
This is debug:
2018-10-31 13:57:37,557 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg
(quiet=False)
2018-10-31 13:57:37,557 - util.py[DEBUG]: Read 2178 bytes from
/etc/cloud/cloud.cfg
2018-10-31 13:57:37,557 - util.py[DEBUG]: Attempting to load yaml from string
of length 2178 with allowed root types (<class 'dict'>,)
2018-10-31 13:57:37,564 - util.py[DEBUG]: Reading from
/etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False)
2018-10-31 13:57:37,565 - util.py[DEBUG]: Read 2057 bytes from
/etc/cloud/cloud.cfg.d/05_logging.cfg
2018-10-31 13:57:37,565 - util.py[DEBUG]: Attempting to load yaml from string
of length 2057 with allowed root types (<class 'dict'>,)
2018-10-31 13:57:37,570 - util.py[DEBUG]: Reading from
/run/cloud-init/cloud.cfg (quiet=False)
2018-10-31 13:57:37,570 - util.py[DEBUG]: Read 35 bytes from
/run/cloud-init/cloud.cfg
2018-10-31 13:57:37,570 - util.py[DEBUG]: Attempting to load yaml from string
of length 35 with allowed root types (<class 'dict'>,)
2018-10-31 13:57:37,571 - util.py[DEBUG]: Attempting to load yaml from string
of length 0 with allowed root types (<class 'dict'>,)
2018-10-31 13:57:37,571 - util.py[DEBUG]: loaded blob returned None,
returning default.
2018-10-31 13:57:37,571 - util.py[DEBUG]: Reading from
/var/lib/cloud/instance/cloud-config.txt (quiet=False)
2018-10-31 13:57:37,572 - util.py[DEBUG]: Read 1682 bytes from
/var/lib/cloud/instance/cloud-config.txt
2018-10-31 13:57:37,572 - util.py[DEBUG]: Attempting to load yaml from string
of length 1682 with allowed root types (<class 'dict'>,)
2018-10-31 13:57:37,577 - util.py[DEBUG]: Reading from
/var/lib/cloud/instance/cloud-config.txt (quiet=False)
2018-10-31 13:57:37,577 - util.py[DEBUG]: Read 1682 bytes from
/var/lib/cloud/instance/cloud-config.txt
2018-10-31 13:57:37,577 - util.py[DEBUG]: Attempting to load yaml from string
of length 1682 with allowed root types (<class 'dict'>,)
2018-10-31 13:57:37,584 - util.py[DEBUG]: Writing to
/var/lib/cloud/instance/obj.pkl - wb: [400] 7308 bytes
2018-10-31 13:57:37,586 - main.py[DEBUG]: no di_report found in config.
This is important:
2018-10-31 13:57:37,530 - stages.py[DEBUG]: not a new instance.
network config is not applied.
Both are marked a debug. So currently I default to use "grep -v util.py" when
looking at cloud init logs to retain my own sanity. I think it is possible to
make it easier than this for admins to use cloud-init. Especially as when
compared to 0.7.9 cloud-init has seem to become way more complex and more
difficult to understand.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1800851/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp