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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to