On Mon, Feb 13, 2012 at 9:19 PM, Ronald J. Yacketta yacketrj@potsdam.eduwrote:
Hello all!
We just upgraded to Cobbler 2.3.1 http://cobbler.github.com/ last week, playing around this afternoon and noticed that if one goes to the profile list, clicks a 'check box' next to a profile, clicks rename, enters a new name and then clicks OK the profile disappears. Repeat the same steps on a different profile except DO NOT check the 'check box' everything works as expected. It almost seems like clicking the 'check box' makes cobbler think it is a delete.
Log reads as if it was a rename, but the renamed profile is not seen via the webui or a profile list from the cmd line.
Mon Feb 13 15:08:20 2012 - INFO | REMOTE version; user(yacketrj) Mon Feb 13 15:09:09 2012 - INFO | REMOTE has_item(profile); user(?); name(CentOS-6-i386) Mon Feb 13 15:09:09 2012 - DEBUG | get_item; ['profile', 'CentOS-6-i386'] Mon Feb 13 15:09:09 2012 - DEBUG | done with get_item; ['profile', 'CentOS-6-i386'] Mon Feb 13 15:09:09 2012 - DEBUG | authorize; ['yacketrj', 'modify_profile', <cobbler.item_prof ile.Profile instance at 0x2cb5b90>, None, True] Mon Feb 13 15:09:09 2012 - DEBUG | REMOTE yacketrj authorization result: True; user(?) Mon Feb 13 15:09:09 2012 - DEBUG | get_item; ['profile', 'CentOS-6-i386'] Mon Feb 13 15:09:09 2012 - DEBUG | done with get_item; ['profile', 'CentOS-6-i386'] Mon Feb 13 15:09:09 2012 - INFO | REMOTE rename_item(profile); user(yacketrj); object_id(profil e::CentOS-6-i386) Mon Feb 13 15:09:09 2012 - DEBUG | get_item; ['profile', 'CentOS-6-i386'] Mon Feb 13 15:09:09 2012 - DEBUG | done with get_item; ['profile', 'CentOS-6-i386'] *Mon Feb 13 15:09:09 2012 - INFO | rename_item(profile); ['CentOS-6-i386', 'centOS-6-i386']* Mon Feb 13 15:09:09 2012 - DEBUG | get_items; ['profile'] Mon Feb 13 15:09:09 2012 - DEBUG | done with get_items; ['profile'] Mon Feb 13 15:09:09 2012 - INFO | REMOTE find_items_paged(profile); criteria({}); sort(name); u ser(?)
-Ron
i have verified this and found it to be true. the profile (or system) json file on disk doesn't get renamed on my cobbler system...