Created
August 18, 2014 13:29
-
-
Save weissjeffm/f76fe156af5e07df2af5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| In [27]: | |
| import cfme.infrastructure.virtual_machines as vm | |
| import cfme.infrastructure.provider as p | |
| reload(vm) | |
| import cfme.fixtures.pytest_selenium as sel | |
| # sel.force_navigate("infra_vm_retire", context={"vm": }) | |
| myvm = vm.Vm(name="jweiss-test1", provider_crud=p.get_from_config("vsphere55"), template_name='damnSmallLinux') | |
| myvm.create_on_provider() | |
| INFO:cfme:Getting ready to deploy VM/instance jweiss-test1 from template damnSmallLinux on provider vSphere 5.5 | |
| INFO:cfme: Deploying vSphere template damnSmallLinux to VM jweiss-test1 | |
| ERROR:cfme:Could not provisioning VM/instance jweiss-test1 ([Object Not Found]: Could not find a VM named 'damnSmallLinux') | |
| INFO:cfme:Attempting cleanup on VM/instance jweiss-test1 | |
| Truncated Traceback (Use C-c C-x to view full TB): | |
| /home/jweiss/workspace/cfme_tests/utils/virtual_machines.py in deploy_template(provider_key, vm_name, template_name, timeout, **deploy_args) | |
| 54 logger.error('Could not destroy VM/instance %s (%s)', vm_name, f) | |
| 55 finally: | |
| ---> 56 raise e | |
| 57 | |
| 58 return vm_name | |
| VIException: [Object Not Found]: Could not find a VM named 'damnSmallLinux' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment