Hello Uwe, > ... > so I digged a bit and it fails in CobblerVirtualSystemCommand.java > at: > > setupVirtAttributes(details.getMemMb().intValue(), > details.getDiskGb().intValue(), > details.getVcpus().intValue(), > details.getDiskPath()); > > the details.getDiskPath() returns NULL and that raises an exception.
Yes, you're right, this is the cause of the problem. > I don't understand the code perfectly so I'm not sure if that's a bug > or a > problem on my side that details.getDiskPath() returns nothing. > > I added this patch to the code which sets the diskPath in the details > object > and that solves the problem and the job for creating a virtual > machine is > scheduled. Your patch may work, but I prefer to set the disk path earlier than in the CobblerSystemCreateCommand. I set it already in the SystemHandler. I've fixed the issue in spacewalk withing the following BZ: https://bugzilla.redhat.com/show_bug.cgi?id=648483#c7 Thank you. Regards, Tomas -- Tomas Lestach RHN Satellite Engineering, Red Hat _______________________________________________ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel