Closed ecthiender closed 9 years ago
@madhavipuliraju please update the status of the issue! :)
Implemented sample python code with the required functionality and tested. working fine. Now I need to Integrate the same code in CentOSVZAdapter and CentOSVZBridgeAdapter and test them.
created a branch on ovpl repository with name =fix-issue-#57= and code was checked in.
Once tested, we will close the issue.
On Thu, May 28, 2015 at 2:38 PM, madhavipuliraju notifications@github.com wrote:
created a branch on ovpl repository with name =fix-issue-#57 https://github.com/vlead/ovpl/issues/57= and code was checked in.
— Reply to this email directly or view it on GitHub https://github.com/vlead/ovpl/issues/57#issuecomment-106242261.
Integrated the sample code with required functionality to CentOSVZAdapter.py file and after integration, I faced few issues and resolved them. Now the code was working fine and able to deploy the lab. I checked in the code to the same repository. @ecthiender can you please review the code.
Implemented code to handle exceptions and integrated to CentOSBridgeVZAdapter.py file and after integration, I faced few issues while testing the code in bridge environment and resolved. Now the code was working fine and able to deploy the lab. I checked in the code to the same repository. @ecthiender can you please review this code also. and once tested close this issue
When an OS is specified in the labspec which is not supported, the
find_os_template
function inCentOSVZAdapter
andCentOSBridgeVZAdapter
silently returns from the function instead of raising and exception. As a result, the error is caught inconstruct_vzctl_args
as theos_template
is set toNone
.More specifically, the following error is thrown:
FIX:
find_os_template
should raise an exception if corresponding OS template is not found!