=== rangerpb is now known as rangerpbzzzz | ||
=== shardy is now known as shardy_lunch | ||
=== shardy_lunch is now known as shardy | ||
=== shardy is now known as shardy_mtg | ||
=== shardy_mtg is now known as shardy | ||
smoser | harlowja, i'm confused | 19:13 |
---|---|---|
smoser | python -c 'import argparse; print(argparse)' | 19:13 |
smoser | <module 'argparse' from '/usr/lib/python2.7/argparse.pyc'> | 19:13 |
harlowja | ya, but pkg_resources is not finding it :-/ | 19:13 |
harlowja | and/or redhat didn't register it right or something | 19:13 |
smoser | ah. | 19:13 |
smoser | now i see. | 19:13 |
smoser | python2.6 | 19:13 |
smoser | its new in 2.7 | 19:14 |
harlowja | ya | 19:14 |
harlowja | i think redhat probably messed up there argparse package | 19:14 |
harlowja | or forgot to register it with pkg_resources or something | 19:14 |
smoser | ? | 19:14 |
harlowja | https://bugs.launchpad.net/cloud-init/+bug/1603533 | 19:15 |
harlowja | seems like 'needed = self.resolve(parse_requirements(requirements)) ' wouldn't fail if argparse was registered | 19:16 |
harlowja | but meh, also fixes it by just not listing it as a dep in 2.7+ | 19:16 |
harlowja | smoser other question | 19:16 |
smoser | right. | 19:16 |
harlowja | any opposition to https://gist.github.com/harlowja/50a66fb9bed6e0897f1691eae3107f01 | 19:17 |
harlowja | on cent7 there is like no content (at least in my cloudinit) in /var/log/cloud-init.log | 19:17 |
harlowja | and journalctl doesn't have anything | 19:17 |
smoser | so it actually fails to go to syslog ? | 19:18 |
harlowja | think so | 19:18 |
harlowja | now i did see the following in a redhat patch | 19:19 |
harlowja | https://gist.github.com/harlowja/275e35b41cd268d869b7b503d7f654d7 | 19:19 |
harlowja | so that might fixs it | 19:19 |
harlowja | don't think that one was upstreamed :( | 19:19 |
harlowja | let me just try that fix; see what happens | 19:19 |
smoser | hm. | 19:19 |
harlowja | (gotta get these damn redhat folks to stop having secret patches, lol) | 19:19 |
harlowja | bbiab though, lunch | 19:20 |
harlowja | smoser whats weird though is that even if i use that patch (which does help) it still doesn't write debug stuff to that log file | 21:38 |
harlowja | so then it makes me question the value of that syslog stuff in the first place | 21:38 |
harlowja | or maybe the sysconfig stuff is just busted, lol | 21:38 |
harlowja | *syslog i mean | 21:38 |
harlowja | for example when working on my godaddy module, this is all the debug in the logs, lol | 21:39 |
harlowja | https://gist.github.com/harlowja/56b2b5109bbbd4b3441cda43a5617107 | 21:39 |
harlowja | not so useful :-P | 21:39 |
harlowja | i'd rather have old-janky file that actually works :-P | 21:40 |
harlowja | soooo, if we defaulted to just the file stuff smoser would that be ok | 21:46 |
harlowja | at least its dependable :-P | 21:46 |
harlowja | i'll probably do that locally anyway, pita having this thing not show anything | 21:47 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!