> > Is it by design that a system edit+copy does not do any duplicate ip
> > checks? It will at least make editing the original and new copy
> > afterwards report and error of a duplicate ip.
> >
>
> Yes, a copy isn't usable if the checks are enforced then, because the
> CLI can only edit one interface at a time.  There would be no way to
> copy it.
>
> What we can (and should do) in the future is to also enforce the
> duplicate checks at sync time.
>
> Currently in 1.4 we also do a dhcp config check before restarting, that
> at least prevents restarting DHCP with a known invalid config -- though
> the sync check should be done also.
>
> >
> >
> > Also the error to the WebUI is not informative enough. You need to
> > look in the log why the save failed.
> >
> >
> >
>
> What are you seeing in the error message?   Please paste the exact
> message and we can investigate.

In the WebUI:
====
Error

Error while saving system
Go Back
====

In the cobbler.log:
====
2008-12-12 18:33:38,964 - api - Exception value: "Can't save system bcsia74333. 
The IP address (10.227.128.204) is alrea
dy used by system fdsafgg (bond0)"
2008-12-12 18:33:38,964 - api - Exception Info:
  File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 679, in 
_dispatch
    return method_handle(*params)
====

It looks like the exception text is not send (or handled correctly) from the 
internal api to the remote api and the cobblerweb class

Peter

This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.


_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to