[Bug 1320074] Re: maas-import-pxe fails to catch comms errors when downloading UEFI shim and TBs instead
Tranhoangdainguyen
tranhoangdainguyen at yahoo.com
Sun May 18 08:04:14 UTC 2014
ok, i solved the problem
for some bizarre reason, the urllib2 does not work in my ubuntu 14.04 os, neither on VM or physical host.
thus the method urllib2.urlopen(url) always fails.
so i replace it by using this snippet to all the files that has
urllib2.urlopen method by:
import urllib3
....
http = urllib3.PoolManager()
response = http.request('GET', url)
return response.data
now I can import the boot files and see it in the MAAS GUI
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/1320074
Title:
maas-import-pxe fails to catch comms errors when downloading UEFI shim
and TBs instead
To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1320074/+subscriptions
More information about the Ubuntu-server-bugs
mailing list