So I ran into this on cobbler-2.2.1-1.fc16.noarch:
https://fedorahosted.org/cobbler/ticket/547
TemplateSyntaxError at /cobbler_web/distro/edit Caught TypeError while rendering: 'int' object is not iterable
Brand new install of Cobbler.
# cobbler distro list sl61-i386 sl61-x86_64
# cobbler profile list test
# rpm -q python python-2.7.2-5.2.fc16.i686
# getenforce Permissive
What must I do?
Thanks.
There isn't enough info here to tell, but you've likely got an error in a Cheetah template.
It's interesting that it happened editing a distro, but a variable changed in editing the distro might have required retemplating a system.
cobbler distro report --name=foo cobbler system report # all
Look over the variables used then look over all your kickstarts & snippets and see if you can find what data seems to be wrong.
On Monday, February 6, 2012 at 12:42 AM, Jason Boxman wrote:
So I ran into this on cobbler-2.2.1-1.fc16.noarch:
https://fedorahosted.org/cobbler/ticket/547
TemplateSyntaxError at /cobbler_web/distro/edit Caught TypeError while rendering: 'int' object is not iterable
Brand new install of Cobbler.
# cobbler distro list sl61-i386 sl61-x86_64
# cobbler profile list test
# rpm -q python python-2.7.2-5.2.fc16.i686
# getenforce Permissive
What must I do?
Thanks.
-- Thursday next week is indeed time for a thorough insight into the swirling red debian vortex. — leeta _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org (mailto:cobbler@lists.fedorahosted.org) https://fedorahosted.org/mailman/listinfo/cobbler
# cobbler distro report --name=sl61-i386 Name : sl61-i386 Architecture : i386 TFTP Boot Files : {} Breed : redhat Comment : Fetchable Files : {} Initrd : /var/www/cobbler/ks_mirror/sl61-i386/images/pxeboot/ initrd.img Kernel : /var/www/cobbler/ks_mirror/sl61-i386/images/pxeboot/ vmlinuz Kernel Options : {} Kernel Options (Post Install) : {} Kickstart Metadata : {'tree': 'http://@@http_server@@/cblr/links/sl61-i38 6'} Management Classes : [] OS Version : generic26 Owners : ['admin'] Red Hat Management Key : <<inherit>> Red Hat Management Server : <<inherit>> Template Files : {}
# cobbler distro report --name=sl61-x86_64 Name : sl61-x86_64 Architecture : x86_64 TFTP Boot Files : {} Breed : redhat Comment : Fetchable Files : {} Initrd : /var/www/cobbler/ks_mirror/sl61-x86_64/images/pxeboo t/initrd.img Kernel : /var/www/cobbler/ks_mirror/sl61-x86_64/images/pxeboo t/vmlinuz Kernel Options : {} Kernel Options (Post Install) : {} Kickstart Metadata : {'tree': 'http://@@http_server@@/cblr/links/sl61_64- x86_64'} Management Classes : [] OS Version : generic26 Owners : ['admin'] Red Hat Management Key : <<inherit>> Red Hat Management Server : <<inherit>> Template Files : {}
# cobbler system report <nothing here>
This happened the first time I ever attempted the Web interface, before even replacing default.ks; it was a completely brand new install. Hence my confusion.
(I did have to change the TZ in a Python file to New_York from NewYork to get it to run at all, but I can't believe that is related?)
On Mon, Feb 6, 2012 at 7:40 AM, Michael DeHaan michael.dehaan@gmail.com wrote:
There isn't enough info here to tell, but you've likely got an error in a Cheetah template.
It's interesting that it happened editing a distro, but a variable changed in editing the distro might have required retemplating a system.
cobbler distro report --name=foo cobbler system report # all
Look over the variables used then look over all your kickstarts & snippets and see if you can find what data seems to be wrong.
On Monday, February 6, 2012 at 12:42 AM, Jason Boxman wrote:
So I ran into this on cobbler-2.2.1-1.fc16.noarch:
https://fedorahosted.org/cobbler/ticket/547
TemplateSyntaxError at /cobbler_web/distro/edit Caught TypeError while rendering: 'int' object is not iterable
Brand new install of Cobbler.
# cobbler distro list sl61-i386 sl61-x86_64
# cobbler profile list test
# rpm -q python python-2.7.2-5.2.fc16.i686
# getenforce Permissive
What must I do?
Thanks.
-- Thursday next week is indeed time for a thorough insight into the swirling red debian vortex. — leeta _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
Ok, please file a bug at github.com/cobbler with the exact traceback you are seeing -- even if it's the same one. We're using github now and it may not be the same exact traceback. Alex seemed to say it was fixed.
Also, to be absolutely clear (not just about this particular item), I'm mostly in Linus mode around here -- coordinating patches so this project can stay kicking at whatever pace it wants to run at. So I'm *not* volunteering to fix it. Consider this an invitation to dive in and figure it out.
--Michael
On Monday, February 6, 2012 at 3:00 PM, Jason Boxman wrote:
# cobbler distro report --name=sl61-i386 Name : sl61-i386 Architecture : i386 TFTP Boot Files : {} Breed : redhat Comment : Fetchable Files : {} Initrd : /var/www/cobbler/ks_mirror/sl61-i386/images/pxeboot/ initrd.img Kernel : /var/www/cobbler/ks_mirror/sl61-i386/images/pxeboot/ vmlinuz Kernel Options : {} Kernel Options (Post Install) : {} Kickstart Metadata : {'tree': 'http://@@http_server@@/cblr/links/sl61-i38 6'} Management Classes : [] OS Version : generic26 Owners : ['admin'] Red Hat Management Key : <<inherit>> Red Hat Management Server : <<inherit>> Template Files : {}
# cobbler distro report --name=sl61-x86_64 Name : sl61-x86_64 Architecture : x86_64 TFTP Boot Files : {} Breed : redhat Comment : Fetchable Files : {} Initrd : /var/www/cobbler/ks_mirror/sl61-x86_64/images/pxeboo t/initrd.img Kernel : /var/www/cobbler/ks_mirror/sl61-x86_64/images/pxeboo t/vmlinuz Kernel Options : {} Kernel Options (Post Install) : {} Kickstart Metadata : {'tree': 'http://@@http_server@@/cblr/links/sl61_64- x86_64'} Management Classes : [] OS Version : generic26 Owners : ['admin'] Red Hat Management Key : <<inherit>> Red Hat Management Server : <<inherit>> Template Files : {}
# cobbler system report
<nothing here>
This happened the first time I ever attempted the Web interface, before even replacing default.ks; it was a completely brand new install. Hence my confusion.
(I did have to change the TZ in a Python file to New_York from NewYork to get it to run at all, but I can't believe that is related?)
On Mon, Feb 6, 2012 at 7:40 AM, Michael DeHaan <michael.dehaan@gmail.com (mailto:michael.dehaan@gmail.com)> wrote:
There isn't enough info here to tell, but you've likely got an error in a Cheetah template.
It's interesting that it happened editing a distro, but a variable changed in editing the distro might have required retemplating a system.
cobbler distro report --name=foo cobbler system report # all
Look over the variables used then look over all your kickstarts & snippets and see if you can find what data seems to be wrong.
On Monday, February 6, 2012 at 12:42 AM, Jason Boxman wrote:
So I ran into this on cobbler-2.2.1-1.fc16.noarch:
https://fedorahosted.org/cobbler/ticket/547
TemplateSyntaxError at /cobbler_web/distro/edit Caught TypeError while rendering: 'int' object is not iterable
Brand new install of Cobbler.
# cobbler distro list sl61-i386 sl61-x86_64
# cobbler profile list test
# rpm -q python python-2.7.2-5.2.fc16.i686
# getenforce Permissive
What must I do?
Thanks.
-- Thursday next week is indeed time for a thorough insight into the swirling red debian vortex. — leeta _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org (mailto:cobbler@lists.fedorahosted.org) https://fedorahosted.org/mailman/listinfo/cobbler
cobbler mailing list cobbler@lists.fedorahosted.org (mailto:cobbler@lists.fedorahosted.org) https://fedorahosted.org/mailman/listinfo/cobbler
-- Thursday next week is indeed time for a thorough insight into the swirling red debian vortex. — leeta _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org (mailto:cobbler@lists.fedorahosted.org) https://fedorahosted.org/mailman/listinfo/cobbler
cobbler@lists.fedorahosted.org