Autoinstall help 20.04
Jerry Geis
jerry.geis at gmail.com
Mon Aug 23 23:37:59 UTC 2021
On Mon, Aug 23, 2021 at 2:49 PM Jerry Geis <jerry.geis at gmail.com> wrote:
> I have autoinstall working - used it several times.
>
> This OLDER PC (zotac machine ID-41) is not doing it though...
>
> Odd thing is it BOOTS up and downloads the live CDROM no problems. Then
> later I see the network error message.
>
> 2021-08-23 18:15:50,130 - main.py[DEBUG]: retrieving url '
> http://MyIp/autoinstall/meta-data' failed:
> HTTPConnectionPool(host='MyIP', port=80): Max retries exceeded with url:
> /autoinstall/meta-data (Caused by
> NewConnectionError('<urllib3.connection.HTTPConnection object at
> 0x7f9fffb2d790>: Failed to establish a new connection: [Errno -3] Temporary
> failure in name resolution'))
> 2021-08-23 18:15:55,330 - main.py[WARNING]: contents of '
> http://MyIP/autoinstall/meta-data' did not start with b'#cloud-config'
>
> My meta-data file is 0 length file as was instructed.
>
> This is my cmdline:
> oot=/dev/ram0 ramdisk_size=1500000 nouveau.modeset=0 fsck.mode=skip
> autoinstall 'ds=nocloud-net;s=http://MyIp/autoinstall/' ip=dhcp url=
> http://MyIp/autoinstall/ubu
> ntu-20.04.2-live-server-amd64.iso cloud-config-url=
> http://MyIP/autoinstall/meta-data --- splash nouveau.modeset=0
>
> I do not see any FAIL in the cloud-init.log file - just the items above.
> I see no errors in the boot.log - it shows the live CD being downloaded
> and successful.
>
> What might I look at here ?
> or enable more debug perhaps ?
> I dont think its really reading the user-data file. but cannot tell why.
>
> Thanks,
>
> Jerry
>
How do I get the source to autoinstall ?
This is from a successful autoinstall:
2021-08-23 20:30:47,704 - subp.py[DEBUG]: Running command ['blkid',
'-tTYPE=vfat', '-odevice'] with allowed return codes [0, 2] (shell=False,
capture=True)
2021-08-23 20:30:47,706 - subp.py[DEBUG]: Running command ['blkid',
'-tTYPE=iso9660', '-odevice'] with allowed return codes [0, 2]
(shell=False, capture=True)
2021-08-23 20:30:47,709 - subp.py[DEBUG]: Running command ['blkid',
'-tLABEL=CIDATA', '-odevice'] with allowed return codes [0, 2]
(shell=False, capture=True)
2021-08-23 20:30:47,712 - subp.py[DEBUG]: Running command ['blkid',
'-tLABEL=cidata', '-odevice'] with allowed return codes [0, 2]
(shell=False, capture=True)
2021-08-23 20:30:47,715 - subp.py[DEBUG]: Running command ['blkid',
'-tLABEL_FATBOOT=cidata', '-odevice'] with allowed return codes [0, 2]
(shell=False, capture=Tru
2021-08-23 20:30:47,717 - url_helper.py[DEBUG]: [0/11] open '
http://MyIP/autoinstall/meta-data' with {'url': '
http://MyIP/autoinstall/meta-data', 'allow_redirects':
2021-08-23 20:30:47,785 - url_helper.py[DEBUG]: Read from
http://MyIP/autoinstall/meta-data (200, 0b) after 1 attempts
2021-08-23 20:30:47,785 - util.py[DEBUG]: Attempting to load yaml from
string of length 0 with allowed root types (<class 'dict'>,)
2021-08-23 20:30:47,786 - util.py[DEBUG]: loaded blob returned None,
returning default.
2021-08-23 20:30:47,786 - url_helper.py[DEBUG]: [0/11] open '
http://MyIP/autoinstall/user-data' with {'url': '
http://MyIP/autoinstall/user-data', 'allow_redirects':
2021-08-23 20:30:47,835 - url_helper.py[DEBUG]: Read from
http://MyIP/autoinstall/user-data (200, 6709b) after 1 attempts
This is not present in the failed autoinstall:
How can get the source to see why its not "logging" an error - and not
telling my why its not happy with autoinstall ??
Thanks
Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20210823/1f284ab8/attachment.html>
More information about the ubuntu-users
mailing list