epretorious

VM Creation using XAPI

Jun 23rd, 2016
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. [root@xen-1 ~]# xe vm-install template=Debian\ Wheezy\ 7.0\ \(64-bit\) new-name-label=Wheezy_64-bit_CLI
  2. d48fe7f3-71cb-3e0e-2144-2f140018af48
  3.  
  4. [root@xen-1 ~]# xe vm-param-set uuid=d48fe7f3-71cb-3e0e-2144-2f140018af48 other-config:install-repository=http://ftp.us.debian.org/debian/dists/wheezy/main/installer-amd64/
  5.  
  6. [root@xen-1 ~]# xe network-list bridge=xapi0
  7. uuid ( RO) : 9933df6c-0374-a535-5996-0ad58bc9af15
  8. name-label ( RW): MGT
  9. name-description ( RW):
  10. bridge ( RO): xapi0
  11.  
  12. [root@xen-1 ~]# xe vif-create network-uuid=9933df6c-0374-a535-5996-0ad58bc9af15 vm-uuid=d48fe7f3-71cb-3e0e-2144-2f140018af48 mac=random device=0
  13. c7e0f2dd-fa65-5a77-c243-4ec9a828a905
  14.  
  15. [root@xen-1 ~]# xe vm-start uuid=d48fe7f3-71cb-3e0e-2144-2f140018af48
  16. The server failed to handle your request, due to an internal error. The given message may give details useful for debugging the problem.
  17. message: xenopsd internal error: VM = d48fe7f3-71cb-3e0e-2144-2f140018af48; domid = 14; Bootloader.Bad_error Traceback (most recent call last):
  18. File "/usr/bin/eliloader", line 1153, in ?
  19. sys.exit(main())
  20. File "/usr/bin/eliloader", line 1143, in main
  21. handle_first_boot(vm, img, args, other_config)
  22. File "/usr/bin/eliloader", line 872, in handle_first_boot
  23. kernel, ramdisk = debian_first_boot_handler(vm, repo_url, other_config)
  24. File "/usr/bin/eliloader", line 739, in debian_first_boot_handler
  25. fetchFile(vmlinuz_url, vmlinuz_file, pv_kernel_max_size)
  26. File "/usr/bin/eliloader", line 323, in fetchFile
  27. raise ResourceNotFound, source
  28. __main__.ResourceNotFound
Add Comment
Please, Sign In to add comment