Hi Cobbler Users:
When running cobbler import command the expectation should that it would fail when the json file has a syntax error, but is successfully completes.
There is lack of error checking even when issuing the command, but again import is completed successfully.
> The error checking in cobbler for json file is not efficient as the import > went successful and completed. As a team, we are all in the same boat, I've been suggesting it's good idea not only to join a mailing list, but to be active there. Let's look into details here ... > [root@ca-cobbler-admin links]# cobbler import --name=OVS-3.4.2-1384-x86_64 > --arch=x86_64 --path=mnt > task started: 2016-09-26_162146_import > task started (id=Media import, time=Mon Sep 26 16:21:46 2016) > Found a candidate signature: breed=ovs, version=3.4.1 > Found a matching signature: breed=ovs, version=3.4.1 Actually import command had missed to find 3.4.2 signature and it used nearest match 3.4.1 I also see --path=mnt instead of using /mnt. It's really interesting that task has been completed. |