[ANNOUNCE] Cobbler 1.0.1 (minor fixes)

View: New views
14 Messages — Rating Filter:   Alert me  

[ANNOUNCE] Cobbler 1.0.1 (minor fixes)

by Michael DeHaan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Since 1.0.1 was a big release, I decided to do a quick bugfix release to
close some of the items found in the first week by all of you on the lists.
There may be another bugfix release 1.0.2 depending on what gets
reported.  Meanwhile work will continue on 1.1.X (devel branch) --
items with easy workarounds that are in borderline bug/enhancement
territory will probably be fixed there instead.

- Tue Jun 03 2008 - 1.0.1
- Fix misformatted warning in "check" (with inherited profiles)
- Do not have RPM own tftpboot, just generate files in TFTP dir as detected
- Default arches to 'i386' not 'x86' for consistency, esp. in import
- When querying kickstart templates, do not return directories
- Make triggers for add/delete work for renames and copies (same triggers)
- Do not cache snippets so they can be tweaked w/o starting the service
- Make manpage reference /etc/cobbler/settings, not /var/lib
- Added manage_forward_zones/manage_reverse_zones to included config file

There is a new source RPM for cobbler available at

http://cobbler.et.redhat.com/download

No update for koan is needed and this will all hit the mirrors eventually :)

Thanks!

--Michael



_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@...
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

RE: [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

by Joseph Boyer Jr. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

FYI:

Just built cobbler 1.0.1 on RHEL 5.1 with all the latest updates and cobbler 1.0.1 errors on install FYI: cobbler 1.0.0-2 built and works.....

# rpm -ivh /usr/src/redhat/RPMS/noarch/cobbler-1.0.1-1.noarch.rpm
Preparing...                ########################################### [100%]
   1:cobbler                ########################################### [100%]
Traceback (most recent call last):
  File "/usr/bin/cobbler", line 17, in ?
    import cobbler.cobbler as app
  File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 18, in ?
    import api
  File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 17, in ?
    import config
  File "/usr/lib/python2.4/site-packages/cobbler/config.py", line 23, in ?
    import collection_distros as distros
  File "/usr/lib/python2.4/site-packages/cobbler/collection_distros.py", line 17, in ?
    import collection
  File "/usr/lib/python2.4/site-packages/cobbler/collection.py", line 129
    self.api.profiles().add(k, save=True, with_sync=with_sync, with_triggers=with_triggers,save=True)
SyntaxError: duplicate keyword argument
ny0ckss01:/var/www
 # cobbler check
Traceback (most recent call last):
  File "/usr/bin/cobbler", line 17, in ?
    import cobbler.cobbler as app
  File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 18, in ?
    import api
  File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 17, in ?
    import config
  File "/usr/lib/python2.4/site-packages/cobbler/config.py", line 23, in ?
    import collection_distros as distros
  File "/usr/lib/python2.4/site-packages/cobbler/collection_distros.py", line 17, in ?
    import collection
  File "/usr/lib/python2.4/site-packages/cobbler/collection.py", line 129
    self.api.profiles().add(k, save=True, with_sync=with_sync, with_triggers=with_triggers,save=True)
SyntaxError: duplicate keyword argument

Joseph Boyer Jr
Enterprise Technology Services
Liquidnet Holdings, Inc.
Joseph.Boyer@...
T   +1 646.660.8352
C   +1 646.284.8394

-----Original Message-----
From: et-mgmt-tools-bounces@... [mailto:et-mgmt-tools-bounces@...] On Behalf Of Michael DeHaan
Sent: Tuesday, June 03, 2008 4:40 PM
To: 'et-mgmt-tools@...'
Subject: [et-mgmt-tools] [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

Since 1.0.1 was a big release, I decided to do a quick bugfix release to
close some of the items found in the first week by all of you on the lists.
There may be another bugfix release 1.0.2 depending on what gets
reported.  Meanwhile work will continue on 1.1.X (devel branch) --
items with easy workarounds that are in borderline bug/enhancement
territory will probably be fixed there instead.

- Tue Jun 03 2008 - 1.0.1
- Fix misformatted warning in "check" (with inherited profiles)
- Do not have RPM own tftpboot, just generate files in TFTP dir as detected
- Default arches to 'i386' not 'x86' for consistency, esp. in import
- When querying kickstart templates, do not return directories
- Make triggers for add/delete work for renames and copies (same triggers)
- Do not cache snippets so they can be tweaked w/o starting the service
- Make manpage reference /etc/cobbler/settings, not /var/lib
- Added manage_forward_zones/manage_reverse_zones to included config file

There is a new source RPM for cobbler available at

http://cobbler.et.redhat.com/download

No update for koan is needed and this will all hit the mirrors eventually :)

Thanks!

--Michael



_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@...
https://www.redhat.com/mailman/listinfo/et-mgmt-tools



_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@...
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Re: [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

by Michael DeHaan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Joseph Boyer Jr. wrote:

> FYI:
>
> Just built cobbler 1.0.1 on RHEL 5.1 with all the latest updates and cobbler 1.0.1 errors on install FYI: cobbler 1.0.0-2 built and works.....
>
> # rpm -ivh /usr/src/redhat/RPMS/noarch/cobbler-1.0.1-1.noarch.rpm
> Preparing...                ########################################### [100%]
>    1:cobbler                ########################################### [100%]
> Traceback (most recent call last):
>   File "/usr/bin/cobbler", line 17, in ?
>     import cobbler.cobbler as app
>   File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 18, in ?
>     import api
>   File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 17, in ?
>     import config
>   File "/usr/lib/python2.4/site-packages/cobbler/config.py", line 23, in ?
>     import collection_distros as distros
>   File "/usr/lib/python2.4/site-packages/cobbler/collection_distros.py", line 17, in ?
>     import collection
>   File "/usr/lib/python2.4/site-packages/cobbler/collection.py", line 129
>     self.api.profiles().add(k, save=True, with_sync=with_sync, with_triggers=with_triggers,save=True)
> SyntaxError: duplicate keyword argument
> ny0ckss01:/var/www
>  # cobbler check
> Traceback (most recent call last):
>   File "/usr/bin/cobbler", line 17, in ?
>     import cobbler.cobbler as app
>   File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 18, in ?
>     import api
>   File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 17, in ?
>     import config
>   File "/usr/lib/python2.4/site-packages/cobbler/config.py", line 23, in ?
>     import collection_distros as distros
>   File "/usr/lib/python2.4/site-packages/cobbler/collection_distros.py", line 17, in ?
>     import collection
>   File "/usr/lib/python2.4/site-packages/cobbler/collection.py", line 129
>     self.api.profiles().add(k, save=True, with_sync=with_sync, with_triggers=with_triggers,save=True)
> SyntaxError: duplicate keyword argument
>
> Joseph Boyer Jr
> Enterprise Technology Services
> Liquidnet Holdings, Inc.
> Joseph.Boyer@...
> T   +1 646.660.8352
> C   +1 646.284.8394
>
> -----Original Message-----
> From: et-mgmt-tools-bounces@... [mailto:et-mgmt-tools-bounces@...] On Behalf Of Michael DeHaan
> Sent: Tuesday, June 03, 2008 4:40 PM
> To: 'et-mgmt-tools@...'
> Subject: [et-mgmt-tools] [ANNOUNCE] Cobbler 1.0.1 (minor fixes)
>
> Since 1.0.1 was a big release, I decided to do a quick bugfix release to
> close some of the items found in the first week by all of you on the lists.
> There may be another bugfix release 1.0.2 depending on what gets
> reported.  Meanwhile work will continue on 1.1.X (devel branch) --
> items with easy workarounds that are in borderline bug/enhancement
> territory will probably be fixed there instead.
>
> - Tue Jun 03 2008 - 1.0.1
> - Fix misformatted warning in "check" (with inherited profiles)
> - Do not have RPM own tftpboot, just generate files in TFTP dir as detected
> - Default arches to 'i386' not 'x86' for consistency, esp. in import
> - When querying kickstart templates, do not return directories
> - Make triggers for add/delete work for renames and copies (same triggers)
> - Do not cache snippets so they can be tweaked w/o starting the service
> - Make manpage reference /etc/cobbler/settings, not /var/lib
> - Added manage_forward_zones/manage_reverse_zones to included config file
>
> There is a new source RPM for cobbler available at
>
> http://cobbler.et.redhat.com/download
>
> No update for koan is needed and this will all hit the mirrors eventually :)
>
> Thanks!
>
> --Michael
>
>
>
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools@...
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>
>
>
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools@...
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>  

Something that is apparently legal in Python 2.5.  Yikes.

I'll rebuild it ASAP.

--Michael

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@...
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Re: [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

by Michael DeHaan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Michael DeHaan wrote:

> Joseph Boyer Jr. wrote:
>> FYI:
>>
>> Just built cobbler 1.0.1 on RHEL 5.1 with all the latest updates and
>> cobbler 1.0.1 errors on install FYI: cobbler 1.0.0-2 built and
>> works.....
>>
>>
>
> Something that is apparently legal in Python 2.5.  Yikes.
>
> I'll rebuild it ASAP.
>
> --Michael

Here's a fix for the duplicate argument problem:

http://cobbler.et.redhat.com/download/cobbler-1.0.1-2.src.rpm

Unit tests and basic commands work for me, let me know if you find
anything else.

--Michael


_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@...
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

RE: [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

by Joseph Boyer Jr. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

GREAT!

Thanks!

I will build and test it now.

Cheers,
joe

Joseph Boyer Jr
Enterprise Technology Services
Liquidnet Holdings, Inc.
Joseph.Boyer@...
T   +1 646.660.8352
C   +1 646.284.8394


-----Original Message-----
From: et-mgmt-tools-bounces@... [mailto:et-mgmt-tools-bounces@...] On Behalf Of Michael DeHaan
Sent: Tuesday, June 03, 2008 5:29 PM
To: Fedora/Linux Management Tools
Subject: Re: [et-mgmt-tools] [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

Michael DeHaan wrote:

> Joseph Boyer Jr. wrote:
>> FYI:
>>
>> Just built cobbler 1.0.1 on RHEL 5.1 with all the latest updates and
>> cobbler 1.0.1 errors on install FYI: cobbler 1.0.0-2 built and
>> works.....
>>
>>
>
> Something that is apparently legal in Python 2.5.  Yikes.
>
> I'll rebuild it ASAP.
>
> --Michael

Here's a fix for the duplicate argument problem:

http://cobbler.et.redhat.com/download/cobbler-1.0.1-2.src.rpm

Unit tests and basic commands work for me, let me know if you find
anything else.

--Michael


_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@...
https://www.redhat.com/mailman/listinfo/et-mgmt-tools



_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@...
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

RE: [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

by Joseph Boyer Jr. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Looks good thanks again.

However now back to my original issue....

I am having a problem with kickstart templates that are using snippets. If I have snippets in my ks template cobbler will not render the ks and hence the install fails.

Here is the error from the web interface:
Mod_python error: "PythonHandler services"

Traceback (most recent call last):

  File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
    result = object(req)

  File "/var/www/cobbler/svc/services.py", line 82, in handler
    content = func( **form )

  File "/usr/lib/python2.4/site-packages/cobbler/services.py", line 70, in ks
    data = self.remote.generate_kickstart(profile,system,REMOTE_ADDR,REMOTE_MAC)

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__
    return self.__send(self.__name, args)

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1383, in __request
    verbose=self.__verbose

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1147, in request
    return self._parse_response(h.getfile(), sock)

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1286, in _parse_response
    return u.close()

  File "/usr/lib64/python2.4/xmlrpclib.py", line 744, in close
    raise Fault(**self._stack[0])

Fault:


And here is the error from the HTTP server when anaconda trys to pull down the ks template from the server

<pre>
Mod_python error: "PythonHandler services"

Traceback (most recent call last):

  File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
    result = object(req)

  File "/var/www/cobbler/svc/services.py", line 82, in handler
    content = func( **form )

  File "/usr/lib/python2.4/site-packages/cobbler/services.py", line 70, in ks
    data = self.remote.generate_kickstart(profile,system,REMOTE_ADDR,REMOTE_MAC)

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__
    return self.__send(self.__name, args)

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1383, in __request
    verbose=self.__verbose

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1147, in request
    return self._parse_response(h.getfile(), sock)

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1281, in _parse_response
    p.feed(response)

  File "/usr/lib64/python2.4/xmlrpclib.py", line 527, in feed
    self._parser.Parse(data, 0)

ExpatError: not well-formed (invalid token): line 219, column 5

</pre>

Let me know more info. I would be happy to show my snippets and ks templates. I have some cool stuff...

At least I think so :-)

PS. This all work find in 8.3 not so in 1.x

Joseph Boyer Jr
Enterprise Technology Services
Liquidnet Holdings, Inc.
Joseph.Boyer@...
T   +1 646.660.8352
C   +1 646.284.8394


-----Original Message-----
From: et-mgmt-tools-bounces@... [mailto:et-mgmt-tools-bounces@...] On Behalf Of Joseph Boyer Jr.
Sent: Tuesday, June 03, 2008 5:31 PM
To: Fedora/Linux Management Tools
Subject: RE: [et-mgmt-tools] [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

GREAT!

Thanks!

I will build and test it now.

Cheers,
joe

Joseph Boyer Jr
Enterprise Technology Services
Liquidnet Holdings, Inc.
Joseph.Boyer@...
T   +1 646.660.8352
C   +1 646.284.8394


-----Original Message-----
From: et-mgmt-tools-bounces@... [mailto:et-mgmt-tools-bounces@...] On Behalf Of Michael DeHaan
Sent: Tuesday, June 03, 2008 5:29 PM
To: Fedora/Linux Management Tools
Subject: Re: [et-mgmt-tools] [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

Michael DeHaan wrote:

> Joseph Boyer Jr. wrote:
>> FYI:
>>
>> Just built cobbler 1.0.1 on RHEL 5.1 with all the latest updates and
>> cobbler 1.0.1 errors on install FYI: cobbler 1.0.0-2 built and
>> works.....
>>
>>
>
> Something that is apparently legal in Python 2.5.  Yikes.
>
> I'll rebuild it ASAP.
>
> --Michael

Here's a fix for the duplicate argument problem:

http://cobbler.et.redhat.com/download/cobbler-1.0.1-2.src.rpm

Unit tests and basic commands work for me, let me know if you find
anything else.

--Michael


_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@...
https://www.redhat.com/mailman/listinfo/et-mgmt-tools



_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@...
https://www.redhat.com/mailman/listinfo/et-mgmt-tools



_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@...
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

RE: [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

by Joseph Boyer Jr. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

OH forgot to mention I suspect the issue to be that /var/lib/cobbler/snippets is not accessible by the http server. If I move the snippets directory some where accessible by apache than the ks template will be render but the none of the snippets are ran????



Joseph Boyer Jr
Enterprise Technology Services
Liquidnet Holdings, Inc.
Joseph.Boyer@...
T   +1 646.660.8352
C   +1 646.284.8394


-----Original Message-----
From: et-mgmt-tools-bounces@... [mailto:et-mgmt-tools-bounces@...] On Behalf Of Joseph Boyer Jr.
Sent: Tuesday, June 03, 2008 6:24 PM
To: Fedora/Linux Management Tools
Subject: RE: [et-mgmt-tools] [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

Looks good thanks again.

However now back to my original issue....

I am having a problem with kickstart templates that are using snippets. If I have snippets in my ks template cobbler will not render the ks and hence the install fails.

Here is the error from the web interface:
Mod_python error: "PythonHandler services"

Traceback (most recent call last):

  File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
    result = object(req)

  File "/var/www/cobbler/svc/services.py", line 82, in handler
    content = func( **form )

  File "/usr/lib/python2.4/site-packages/cobbler/services.py", line 70, in ks
    data = self.remote.generate_kickstart(profile,system,REMOTE_ADDR,REMOTE_MAC)

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__
    return self.__send(self.__name, args)

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1383, in __request
    verbose=self.__verbose

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1147, in request
    return self._parse_response(h.getfile(), sock)

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1286, in _parse_response
    return u.close()

  File "/usr/lib64/python2.4/xmlrpclib.py", line 744, in close
    raise Fault(**self._stack[0])

Fault:


And here is the error from the HTTP server when anaconda trys to pull down the ks template from the server

<pre>
Mod_python error: "PythonHandler services"

Traceback (most recent call last):

  File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
    result = object(req)

  File "/var/www/cobbler/svc/services.py", line 82, in handler
    content = func( **form )

  File "/usr/lib/python2.4/site-packages/cobbler/services.py", line 70, in ks
    data = self.remote.generate_kickstart(profile,system,REMOTE_ADDR,REMOTE_MAC)

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__
    return self.__send(self.__name, args)

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1383, in __request
    verbose=self.__verbose

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1147, in request
    return self._parse_response(h.getfile(), sock)

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1281, in _parse_response
    p.feed(response)

  File "/usr/lib64/python2.4/xmlrpclib.py", line 527, in feed
    self._parser.Parse(data, 0)

ExpatError: not well-formed (invalid token): line 219, column 5

</pre>

Let me know more info. I would be happy to show my snippets and ks templates. I have some cool stuff...

At least I think so :-)

PS. This all work find in 8.3 not so in 1.x

Joseph Boyer Jr
Enterprise Technology Services
Liquidnet Holdings, Inc.
Joseph.Boyer@...
T   +1 646.660.8352
C   +1 646.284.8394


-----Original Message-----
From: et-mgmt-tools-bounces@... [mailto:et-mgmt-tools-bounces@...] On Behalf Of Joseph Boyer Jr.
Sent: Tuesday, June 03, 2008 5:31 PM
To: Fedora/Linux Management Tools
Subject: RE: [et-mgmt-tools] [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

GREAT!

Thanks!

I will build and test it now.

Cheers,
joe

Joseph Boyer Jr
Enterprise Technology Services
Liquidnet Holdings, Inc.
Joseph.Boyer@...
T   +1 646.660.8352
C   +1 646.284.8394


-----Original Message-----
From: et-mgmt-tools-bounces@... [mailto:et-mgmt-tools-bounces@...] On Behalf Of Michael DeHaan
Sent: Tuesday, June 03, 2008 5:29 PM
To: Fedora/Linux Management Tools
Subject: Re: [et-mgmt-tools] [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

Michael DeHaan wrote:

> Joseph Boyer Jr. wrote:
>> FYI:
>>
>> Just built cobbler 1.0.1 on RHEL 5.1 with all the latest updates and
>> cobbler 1.0.1 errors on install FYI: cobbler 1.0.0-2 built and
>> works.....
>>
>>
>
> Something that is apparently legal in Python 2.5.  Yikes.
>
> I'll rebuild it ASAP.
>
> --Michael

Here's a fix for the duplicate argument problem:

http://cobbler.et.redhat.com/download/cobbler-1.0.1-2.src.rpm

Unit tests and basic commands work for me, let me know if you find
anything else.

--Michael


_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@...
https://www.redhat.com/mailman/listinfo/et-mgmt-tools



_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@...
https://www.redhat.com/mailman/listinfo/et-mgmt-tools



_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@...
https://www.redhat.com/mailman/listinfo/et-mgmt-tools



_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@...
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Re: [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

by Michael DeHaan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Joseph Boyer Jr. wrote:
> OH forgot to mention I suspect the issue to be that /var/lib/cobbler/snippets is not accessible by the http server. If I move the snippets directory some where accessible by apache than the ks template will be render but the none of the snippets are ran????
>  

That's not the problem as cobblerd reads that directory, not Apache.    
Removing it will obviously keep it from being found.

What you likely have is a Cheetah syntax error, which I'm not sure why
you didn't have before, but that's likely it.   You should
be able to find more information in /var/log/cobbler/cobbler.log.    
Paste the last few tracebacks and we'll see what's up.

--Michael


>
>
> -----Original Message-----
> From: et-mgmt-tools-bounces@... [mailto:et-mgmt-tools-bounces@...] On Behalf Of Joseph Boyer Jr.
> Sent: Tuesday, June 03, 2008 6:24 PM
> To: Fedora/Linux Management Tools
> Subject: RE: [et-mgmt-tools] [ANNOUNCE] Cobbler 1.0.1 (minor fixes)
>
> Looks good thanks again.
>
> However now back to my original issue....
>
> I am having a problem with kickstart templates that are using snippets. If I have snippets in my ks template cobbler will not render the ks and hence the install fails.
>
> Here is the error from the web interface:
> Mod_python error: "PythonHandler services"
>
> Traceback (most recent call last):
>
>   File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
>     result = object(req)
>
>   File "/var/www/cobbler/svc/services.py", line 82, in handler
>     content = func( **form )
>
>   File "/usr/lib/python2.4/site-packages/cobbler/services.py", line 70, in ks
>     data = self.remote.generate_kickstart(profile,system,REMOTE_ADDR,REMOTE_MAC)
>
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__
>     return self.__send(self.__name, args)
>
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 1383, in __request
>     verbose=self.__verbose
>
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 1147, in request
>     return self._parse_response(h.getfile(), sock)
>
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 1286, in _parse_response
>     return u.close()
>
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 744, in close
>     raise Fault(**self._stack[0])
>
> Fault:
>
>
> And here is the error from the HTTP server when anaconda trys to pull down the ks template from the server
>
> <pre>
> Mod_python error: "PythonHandler services"
>
> Traceback (most recent call last):
>
>   File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
>     result = object(req)
>
>   File "/var/www/cobbler/svc/services.py", line 82, in handler
>     content = func( **form )
>
>   File "/usr/lib/python2.4/site-packages/cobbler/services.py", line 70, in ks
>     data = self.remote.generate_kickstart(profile,system,REMOTE_ADDR,REMOTE_MAC)
>
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__
>     return self.__send(self.__name, args)
>
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 1383, in __request
>     verbose=self.__verbose
>
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 1147, in request
>     return self._parse_response(h.getfile(), sock)
>
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 1281, in _parse_response
>     p.feed(response)
>
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 527, in feed
>     self._parser.Parse(data, 0)
>
> ExpatError: not well-formed (invalid token): line 219, column 5
>
> </pre>
>
> Let me know more info. I would be happy to show my snippets and ks templates. I have some cool stuff...
>  

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@...
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

RE: [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

by Joseph Boyer Jr. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Mike...

Here are the trace backs from wget http://10.0.254.169/cblr/svc/op/ks/system/ny0dlab01, and /var/log/cobbler/cobbler.log

Wget ks template...

<pre>
Mod_python error: "PythonHandler services"

Traceback (most recent call last):

  File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
    result = object(req)

  File "/var/www/cobbler/svc/services.py", line 82, in handler
    content = func( **form )

  File "/usr/lib/python2.4/site-packages/cobbler/services.py", line 70, in ks
    data = self.remote.generate_kickstart(profile,system,REMOTE_ADDR,REMOTE_MAC)

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__
    return self.__send(self.__name, args)

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1383, in __request
    verbose=self.__verbose

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1147, in request
    return self._parse_response(h.getfile(), sock)

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1281, in _parse_response
    p.feed(response)

  File "/usr/lib64/python2.4/xmlrpclib.py", line 527, in feed
    self._parser.Parse(data, 0)

ExpatError: not well-formed (invalid token): line 219, column 5

</pre>

Cobbler.log

2008-06-04 10:24:16,738 - remote - login succeeded; user(jboyer@...)
2008-06-04 10:24:16,815 - remote - get_profiles; user(?)
2008-06-04 10:24:18,633 - remote - generate_kickstart; user(?)
2008-06-04 10:24:18,634 - api - generate_kickstart
2008-06-04 10:24:18,817 - api - Exception occured: exceptions.NameError
2008-06-04 10:24:18,817 - api - Exception value: global name '_' is not defined
2008-06-04 10:24:18,822 - api - Exception Info:
  File "/usr/lib/python2.4/site-packages/cobbler/kickgen.py", line 80, in generate_kickstart_for_profile
    data = self.templar.render(kfile, meta, None, g)
   File "/usr/lib/python2.4/site-packages/cobbler/templar.py", line 88, in render
    print _("There appears to be an formatting error in the template file.")

thanks,
joe

Joseph Boyer Jr
Enterprise Technology Services
Liquidnet Holdings, Inc.
Joseph.Boyer@...
T   +1 646.660.8352
C   +1 646.284.8394


-----Original Message-----
From: et-mgmt-tools-bounces@... [mailto:et-mgmt-tools-bounces@...] On Behalf Of Michael DeHaan
Sent: Wednesday, June 04, 2008 9:45 AM
To: Fedora/Linux Management Tools
Subject: Re: [et-mgmt-tools] [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

Joseph Boyer Jr. wrote:
> OH forgot to mention I suspect the issue to be that /var/lib/cobbler/snippets is not accessible by the http server. If I move the snippets directory some where accessible by apache than the ks template will be render but the none of the snippets are ran????
>

That's not the problem as cobblerd reads that directory, not Apache.
Removing it will obviously keep it from being found.

What you likely have is a Cheetah syntax error, which I'm not sure why
you didn't have before, but that's likely it.   You should
be able to find more information in /var/log/cobbler/cobbler.log.
Paste the last few tracebacks and we'll see what's up.

--Michael


>
>
> -----Original Message-----
> From: et-mgmt-tools-bounces@... [mailto:et-mgmt-tools-bounces@...] On Behalf Of Joseph Boyer Jr.
> Sent: Tuesday, June 03, 2008 6:24 PM
> To: Fedora/Linux Management Tools
> Subject: RE: [et-mgmt-tools] [ANNOUNCE] Cobbler 1.0.1 (minor fixes)
>
> Looks good thanks again.
>
> However now back to my original issue....
>
> I am having a problem with kickstart templates that are using snippets. If I have snippets in my ks template cobbler will not render the ks and hence the install fails.
>
> Here is the error from the web interface:
> Mod_python error: "PythonHandler services"
>
> Traceback (most recent call last):
>
>   File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
>     result = object(req)
>
>   File "/var/www/cobbler/svc/services.py", line 82, in handler
>     content = func( **form )
>
>   File "/usr/lib/python2.4/site-packages/cobbler/services.py", line 70, in ks
>     data = self.remote.generate_kickstart(profile,system,REMOTE_ADDR,REMOTE_MAC)
>
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__
>     return self.__send(self.__name, args)
>
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 1383, in __request
>     verbose=self.__verbose
>
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 1147, in request
>     return self._parse_response(h.getfile(), sock)
>
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 1286, in _parse_response
>     return u.close()
>
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 744, in close
>     raise Fault(**self._stack[0])
>
> Fault:
>
>
> And here is the error from the HTTP server when anaconda trys to pull down the ks template from the server
>
> <pre>
> Mod_python error: "PythonHandler services"
>
> Traceback (most recent call last):
>
>   File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
>     result = object(req)
>
>   File "/var/www/cobbler/svc/services.py", line 82, in handler
>     content = func( **form )
>
>   File "/usr/lib/python2.4/site-packages/cobbler/services.py", line 70, in ks
>     data = self.remote.generate_kickstart(profile,system,REMOTE_ADDR,REMOTE_MAC)
>
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__
>     return self.__send(self.__name, args)
>
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 1383, in __request
>     verbose=self.__verbose
>
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 1147, in request
>     return self._parse_response(h.getfile(), sock)
>
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 1281, in _parse_response
>     p.feed(response)
>
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 527, in feed
>     self._parser.Parse(data, 0)
>
> ExpatError: not well-formed (invalid token): line 219, column 5
>
> </pre>
>
> Let me know more info. I would be happy to show my snippets and ks templates. I have some cool stuff...
>

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@...
https://www.redhat.com/mailman/listinfo/et-mgmt-tools



_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@...
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Re: [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

by Michael DeHaan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Joseph Boyer Jr. wrote:

> Hi Mike...
>
> Here are the trace backs from wget http://10.0.254.169/cblr/svc/op/ks/system/ny0dlab01, and /var/log/cobbler/cobbler.log
>
> Wget ks template...
>
> ExpatError: not well-formed (invalid token): line 219, column 5
>
> </pre>
>
> Cobbler.log
>
> 2008-06-04 10:24:16,738 - remote - login succeeded; user(jboyer@...)
> 2008-06-04 10:24:16,815 - remote - get_profiles; user(?)
> 2008-06-04 10:24:18,633 - remote - generate_kickstart; user(?)
> 2008-06-04 10:24:18,634 - api - generate_kickstart
> 2008-06-04 10:24:18,817 - api - Exception occured: exceptions.NameError
> 2008-06-04 10:24:18,817 - api - Exception value: global name '_' is not defined
> 2008-06-04 10:24:18,822 - api - Exception Info:
>   File "/usr/lib/python2.4/site-packages/cobbler/kickgen.py", line 80, in generate_kickstart_for_profile
>     data = self.templar.render(kfile, meta, None, g)
>    File "/usr/lib/python2.4/site-packages/cobbler/templar.py", line 88, in render
>     print _("There appears to be an formatting error in the template file.")
>
>  

Can you email me your template file?   (http://cobbler.pastebin.com 
works pretty well for this... perhaps you want to join #cobbler on
irc.freenode.net and share it)

It appears that there is something wrong about a "_", and around 219,
but without looking at the file it's hard to say.

--Michael


_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@...
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Re: [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

by Michael DeHaan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Michael DeHaan wrote:

> Joseph Boyer Jr. wrote:
>> Hi Mike...
>>
>> Here are the trace backs from wget
>> http://10.0.254.169/cblr/svc/op/ks/system/ny0dlab01, and
>> /var/log/cobbler/cobbler.log
>>
>> Wget ks template...
>>
>> ExpatError: not well-formed (invalid token): line 219, column 5
>>
>> </pre>
>>
>> Cobbler.log
>>
>> 2008-06-04 10:24:16,738 - remote - login succeeded;
>> user(jboyer@...)
>> 2008-06-04 10:24:16,815 - remote - get_profiles; user(?)
>> 2008-06-04 10:24:18,633 - remote - generate_kickstart; user(?)
>> 2008-06-04 10:24:18,634 - api - generate_kickstart
>> 2008-06-04 10:24:18,817 - api - Exception occured: exceptions.NameError
>> 2008-06-04 10:24:18,817 - api - Exception value: global name '_' is
>> not defined
>> 2008-06-04 10:24:18,822 - api - Exception Info:
>>   File "/usr/lib/python2.4/site-packages/cobbler/kickgen.py", line
>> 80, in generate_kickstart_for_profile
>>     data = self.templar.render(kfile, meta, None, g)
>>    File "/usr/lib/python2.4/site-packages/cobbler/templar.py", line
>> 88, in render
>>     print _("There appears to be an formatting error in the template
>> file.")
>>
>>  
>
> Can you email me your template file?   (http://cobbler.pastebin.com 
> works pretty well for this... perhaps you want to join #cobbler on
> irc.freenode.net and share it)
>
> It appears that there is something wrong about a "_", and around 219,
> but without looking at the file it's hard to say.
>
> --Michael
>
Actually the bit about "_" is an error while trying to give you the
error message.


This will fix your logging so you can see the rest of the Cheetah error
in /var/log/cobbler/cobbler.log:

--- a/cobbler/templar.py
+++ b/cobbler/templar.py
@@ -17,9 +17,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 import os
 import os.path
 import glob
-import utils
 from cexceptions import *
 from Cheetah.Template import Template
+from utils import *
+import utils

 class Templar:

I have already applied that fix to the logging messages, though the
error should be a syntax one you still need to fix, after reading the
logs to figure out what it is.

>
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools@...
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@...
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

RE: [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

by Joseph Boyer Jr. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Mike...

I have posted my tmpl file to http://cobbler.pastebin.com and here they are as well. I have also included my snippets in this email.

Thanks for the help!

Cheers,
joe

Joseph Boyer Jr
Enterprise Technology Services
Liquidnet Holdings, Inc.
Joseph.Boyer@...
T   +1 646.660.8352
C   +1 646.284.8394


-----Original Message-----
From: et-mgmt-tools-bounces@... [mailto:et-mgmt-tools-bounces@...] On Behalf Of Michael DeHaan
Sent: Wednesday, June 04, 2008 11:11 AM
To: Fedora/Linux Management Tools
Subject: Re: [et-mgmt-tools] [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

Michael DeHaan wrote:

> Joseph Boyer Jr. wrote:
>> Hi Mike...
>>
>> Here are the trace backs from wget
>> http://10.0.254.169/cblr/svc/op/ks/system/ny0dlab01, and
>> /var/log/cobbler/cobbler.log
>>
>> Wget ks template...
>>
>> ExpatError: not well-formed (invalid token): line 219, column 5
>>
>> </pre>
>>
>> Cobbler.log
>>
>> 2008-06-04 10:24:16,738 - remote - login succeeded;
>> user(jboyer@...)
>> 2008-06-04 10:24:16,815 - remote - get_profiles; user(?)
>> 2008-06-04 10:24:18,633 - remote - generate_kickstart; user(?)
>> 2008-06-04 10:24:18,634 - api - generate_kickstart
>> 2008-06-04 10:24:18,817 - api - Exception occured: exceptions.NameError
>> 2008-06-04 10:24:18,817 - api - Exception value: global name '_' is
>> not defined
>> 2008-06-04 10:24:18,822 - api - Exception Info:
>>   File "/usr/lib/python2.4/site-packages/cobbler/kickgen.py", line
>> 80, in generate_kickstart_for_profile
>>     data = self.templar.render(kfile, meta, None, g)
>>    File "/usr/lib/python2.4/site-packages/cobbler/templar.py", line
>> 88, in render
>>     print _("There appears to be an formatting error in the template
>> file.")
>>
>>
>
> Can you email me your template file?   (http://cobbler.pastebin.com
> works pretty well for this... perhaps you want to join #cobbler on
> irc.freenode.net and share it)
>
> It appears that there is something wrong about a "_", and around 219,
> but without looking at the file it's hard to say.
>
> --Michael
>
Actually the bit about "_" is an error while trying to give you the
error message.


This will fix your logging so you can see the rest of the Cheetah error
in /var/log/cobbler/cobbler.log:

--- a/cobbler/templar.py
+++ b/cobbler/templar.py
@@ -17,9 +17,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 import os
 import os.path
 import glob
-import utils
 from cexceptions import *
 from Cheetah.Template import Template
+from utils import *
+import utils

 class Templar:

I have already applied that fix to the logging messages, though the
error should be a syntax one you still need to fix, after reading the
logs to figure out what it is.

>
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools@...
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@...
https://www.redhat.com/mailman/listinfo/et-mgmt-tools








_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@...
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

ks.tmpl (1K) Download Attachment
ks.rendered (9K) Download Attachment
rpmLIST (740 bytes) Download Attachment
networkIT (1K) Download Attachment
partitionIT (4K) Download Attachment
postINSTALL (2K) Download Attachment

RE: [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

by Joseph Boyer Jr. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Forgot to mention that it is the rpmLIST snippet that is breaking things, it did work well in .8.3 all others seem to work

Joseph Boyer Jr
Enterprise Technology Services
Liquidnet Holdings, Inc.
Joseph.Boyer@...
T   +1 646.660.8352
C   +1 646.284.8394


-----Original Message-----
From: et-mgmt-tools-bounces@... [mailto:et-mgmt-tools-bounces@...] On Behalf Of Joseph Boyer Jr.
Sent: Wednesday, June 04, 2008 12:22 PM
To: Fedora/Linux Management Tools
Subject: RE: [et-mgmt-tools] [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

Hi Mike...

I have posted my tmpl file to http://cobbler.pastebin.com and here they are as well. I have also included my snippets in this email.

Thanks for the help!

Cheers,
joe

Joseph Boyer Jr
Enterprise Technology Services
Liquidnet Holdings, Inc.
Joseph.Boyer@...
T   +1 646.660.8352
C   +1 646.284.8394


-----Original Message-----
From: et-mgmt-tools-bounces@... [mailto:et-mgmt-tools-bounces@...] On Behalf Of Michael DeHaan
Sent: Wednesday, June 04, 2008 11:11 AM
To: Fedora/Linux Management Tools
Subject: Re: [et-mgmt-tools] [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

Michael DeHaan wrote:

> Joseph Boyer Jr. wrote:
>> Hi Mike...
>>
>> Here are the trace backs from wget
>> http://10.0.254.169/cblr/svc/op/ks/system/ny0dlab01, and
>> /var/log/cobbler/cobbler.log
>>
>> Wget ks template...
>>
>> ExpatError: not well-formed (invalid token): line 219, column 5
>>
>> </pre>
>>
>> Cobbler.log
>>
>> 2008-06-04 10:24:16,738 - remote - login succeeded;
>> user(jboyer@...)
>> 2008-06-04 10:24:16,815 - remote - get_profiles; user(?)
>> 2008-06-04 10:24:18,633 - remote - generate_kickstart; user(?)
>> 2008-06-04 10:24:18,634 - api - generate_kickstart
>> 2008-06-04 10:24:18,817 - api - Exception occured:
>> exceptions.NameError
>> 2008-06-04 10:24:18,817 - api - Exception value: global name '_' is
>> not defined
>> 2008-06-04 10:24:18,822 - api - Exception Info:
>>   File "/usr/lib/python2.4/site-packages/cobbler/kickgen.py", line
>> 80, in generate_kickstart_for_profile
>>     data = self.templar.render(kfile, meta, None, g)
>>    File "/usr/lib/python2.4/site-packages/cobbler/templar.py", line
>> 88, in render
>>     print _("There appears to be an formatting error in the template
>> file.")
>>
>>
>
> Can you email me your template file?   (http://cobbler.pastebin.com
> works pretty well for this... perhaps you want to join #cobbler on
> irc.freenode.net and share it)
>
> It appears that there is something wrong about a "_", and around 219,
> but without looking at the file it's hard to say.
>
> --Michael
>
Actually the bit about "_" is an error while trying to give you the error message.


This will fix your logging so you can see the rest of the Cheetah error in /var/log/cobbler/cobbler.log:

--- a/cobbler/templar.py
+++ b/cobbler/templar.py
@@ -17,9 +17,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 import os
 import os.path
 import glob
-import utils
 from cexceptions import *
 from Cheetah.Template import Template
+from utils import *
+import utils

 class Templar:

I have already applied that fix to the logging messages, though the error should be a syntax one you still need to fix, after reading the logs to figure out what it is.

>
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools@...
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@...
https://www.redhat.com/mailman/listinfo/et-mgmt-tools



_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@...
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Re: [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

by Michael DeHaan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Joseph Boyer Jr. wrote:
> Forgot to mention that it is the rpmLIST snippet that is breaking things, it did work well in .8.3 all others seem to work
>
>  
It looks like you wanted "SNIPPET::rpmLIST" in your template, not
"snippet rpmLIST".  Yes?

Incidentally you probably want to just use the "Advanced Snippets" stuff
mentioned on the Wiki now as it means you no longer need that #include
hack.  Cobbler will allow you to maintain a package list that varies
based on the profile and/or system.   Check it out...


> Joseph Boyer Jr
> Enterprise Technology Services
> Liquidnet Holdings, Inc.
> Joseph.Boyer@...
> T   +1 646.660.8352
> C   +1 646.284.8394
>
>
> -----Original Message-----
> From: et-mgmt-tools-bounces@... [mailto:et-mgmt-tools-bounces@...] On Behalf Of Joseph Boyer Jr.
> Sent: Wednesday, June 04, 2008 12:22 PM
> To: Fedora/Linux Management Tools
> Subject: RE: [et-mgmt-tools] [ANNOUNCE] Cobbler 1.0.1 (minor fixes)
>
> Hi Mike...
>
> I have posted my tmpl file to http://cobbler.pastebin.com and here they are as well. I have also included my snippets in this email.
>
> Thanks for the help!
>
> Cheers,
> joe
>
> Joseph Boyer Jr
> Enterprise Technology Services
> Liquidnet Holdings, Inc.
> Joseph.Boyer@...
> T   +1 646.660.8352
> C   +1 646.284.8394
>
>
> -----Original Message-----
> From: et-mgmt-tools-bounces@... [mailto:et-mgmt-tools-bounces@...] On Behalf Of Michael DeHaan
> Sent: Wednesday, June 04, 2008 11:11 AM
> To: Fedora/Linux Management Tools
> Subject: Re: [et-mgmt-tools] [ANNOUNCE] Cobbler 1.0.1 (minor fixes)
>
> Michael DeHaan wrote:
>  
>> Joseph Boyer Jr. wrote:
>>    
>>> Hi Mike...
>>>
>>> Here are the trace backs from wget
>>> http://10.0.254.169/cblr/svc/op/ks/system/ny0dlab01, and
>>> /var/log/cobbler/cobbler.log
>>>
>>> Wget ks template...
>>>
>>> ExpatError: not well-formed (invalid token): line 219, column 5
>>>
>>> </pre>
>>>
>>> Cobbler.log
>>>
>>> 2008-06-04 10:24:16,738 - remote - login succeeded;
>>> user(jboyer@...)
>>> 2008-06-04 10:24:16,815 - remote - get_profiles; user(?)
>>> 2008-06-04 10:24:18,633 - remote - generate_kickstart; user(?)
>>> 2008-06-04 10:24:18,634 - api - generate_kickstart
>>> 2008-06-04 10:24:18,817 - api - Exception occured:
>>> exceptions.NameError
>>> 2008-06-04 10:24:18,817 - api - Exception value: global name '_' is
>>> not defined
>>> 2008-06-04 10:24:18,822 - api - Exception Info:
>>>   File "/usr/lib/python2.4/site-packages/cobbler/kickgen.py", line
>>> 80, in generate_kickstart_for_profile
>>>     data = self.templar.render(kfile, meta, None, g)
>>>    File "/usr/lib/python2.4/site-packages/cobbler/templar.py", line
>>> 88, in render
>>>     print _("There appears to be an formatting error in the template
>>> file.")
>>>
>>>
>>>      
>> Can you email me your template file?   (http://cobbler.pastebin.com
>> works pretty well for this... perhaps you want to join #cobbler on
>> irc.freenode.net and share it)
>>
>> It appears that there is something wrong about a "_", and around 219,
>> but without looking at the file it's hard to say.
>>
>> --Michael
>>
>>    
> Actually the bit about "_" is an error while trying to give you the error message.
>
>
> This will fix your logging so you can see the rest of the Cheetah error in /var/log/cobbler/cobbler.log:
>
> --- a/cobbler/templar.py
> +++ b/cobbler/templar.py
> @@ -17,9 +17,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
>  import os
>  import os.path
>  import glob
> -import utils
>  from cexceptions import *
>  from Cheetah.Template import Template
> +from utils import *
> +import utils
>
>  class Templar:
>
> I have already applied that fix to the logging messages, though the error should be a syntax one you still need to fix, after reading the logs to figure out what it is.
>
>  
>> _______________________________________________
>> et-mgmt-tools mailing list
>> et-mgmt-tools@...
>> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>>    
>
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools@...
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>
>
>
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools@...
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>  

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@...
https://www.redhat.com/mailman/listinfo/et-mgmt-tools