cloudinit.sources.DataSourceEc2:583 Calling 'None' failed

Bug #2055077 reported by Erich Eickmeyer
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
subiquity
Fix Released
Undecided
Unassigned
ubuntu-desktop-provision
Fix Released
Undecided
Unassigned
cloud-init (Ubuntu)
Fix Released
Undecided
Chad Smith
livecd-rootfs (Ubuntu)
Fix Released
Undecided
Dan Bungert

Bug Description

Install ISOs built with the stock cloud-init /etc/cloud/cloud.cfg will have the installer hang for some time, while it waits for attempts to reach EC2 that will ultimately fail.

In livecd-rootfs, I thought the fix was going to be to supply the special installer cloud.cfg file for all Subiquity-backend install cases, but doing so is insufficient so more investigation is needed.

In cloud-init, I also believe there is a bug here, as there appears to be a call to a None reference. This also triggers the warning dialog from LP: #1669675, which does explicitly ask for a bug to be filed.

Steps to reproduce:
1. Start from the edubuntu ISO, I used https://cdimage.ubuntu.com/edubuntu/daily-live/20240301/noble-desktop-amd64.iso
2. observe cloud-init service state (inactive (dead))
3. start it anyhow

Messages like the following are visible in cloud-init.log
2024-02-26 19:29:49,617 WARNING cloudinit.sources.DataSourceEc2:583 Calling 'None' failed [119/120s]: request error [HTTPConnectionPool(host='169.254.169.254', port=80): Max retries exceeded with url: /2009-04-04/meta-data/instance-id (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x74a6d282ad70>, 'Connection to 169.254.169.254 timed out. (connect timeout=18.0)'))]
2024-02-26 19:29:49,618 DEBUG cloudinit.url_helper:305 [0/1] open 'http://[fd00:ec2::254]/2009-04-04/meta-data/instance-id' with {'url': 'http://[fd00:ec2::254]/2009-04-04/meta-data/instance-id', 'stream': False, 'allow_redirects': True, 'method': 'GET', 'timeout': 0.0} configuration

Original description follows:

Doesn't get past "Preparing Edubuntu..." with spinner.

$ ubuntu-desktop-bootstrap --try-or-install

(ubuntu_bootstrap:6154): Gdk-CRITICAL **: 18:44:41.905: gdk_window_get_state: assertion 'GDK_IS_WINDOW (window)' failed

(ubuntu_bootstrap:6154): Gtk-WARNING **: 18:44:41.906: /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-ibus.so: undefined symbol: ibus_input_context_set_post_process_key_event

(ubuntu_bootstrap:6154): Gtk-WARNING **: 18:44:41.906: Loading IM context type 'ibus' failed
flutter: INFO ubuntu_bootstrap: Logging to /var/log/installer/ubuntu_bootstrap.log
flutter: WARNING subiquity_server: Unable to find the subiquity_client package. Falling back to the current working dir: /home/edubuntu
flutter: INFO subiquity_server: Waiting server up to 90 seconds
flutter: INFO subiquity_server: ApplicationState.WAITING
flutter: DEBUG config: Loaded config file from /usr/share/desktop-provision/whitelabel.yaml
flutter: INFO flavor_provider: Using flavor from config: UbuntuFlavor.edubuntu
flutter: INFO subiquity_client: Opening socket to Endpoint(/run/subiquity/socket )
flutter: DEBUG desktop: Disabling automounting
flutter: DEBUG subiquity_client: POST http://localhost/meta/client_variant?variant=%22desktop%22
flutter: DEBUG subiquity_client: GET http://localhost/refresh?wait=true
flutter: DEBUG telemetry: Writing report to /var/log/installer/telemetry
flutter: DEBUG subiquity_client: ==> setVariant(Variant.DESKTOP) null
flutter: DEBUG subiquity_client: ==> checkRefresh() {"availability": "UNAVAILABLE", "current_snap_version": "0+git.883b07e1", "new_snap_version": ""}
flutter: DEBUG refresh: RefreshState.status(status: RefreshStatus(availability: RefreshCheckState.UNAVAILABLE, currentSnapVersion: 0+git.883b07e1, newSnapVersion: ))
flutter: INFO subiquity_status: null => ApplicationStatus(state: ApplicationState.WAITING, confirmingTty: , error: null, cloudInitOk: true, interactive: true, echoSyslogId: subiquity_echo.5204, logSyslogId: subiquity_log.5204, eventSyslogId: subiquity_event.5204)
flutter: DEBUG subiquity_client: POST http://localhost/meta/mark_configured?endpoint_names=%5B%22mirror%22%2C%22proxy%22%2C%22ssh%22%2C%22snaplist%22%2C%22ubuntu_pro%22%5D
flutter: DEBUG subiquity_client: ==> markConfigured([mirror, proxy, ssh, snaplist, ubuntu_pro]) null
flutter: DEBUG desktop: Disabling screen blanking
flutter: DEBUG desktop: Disabling screensaver
flutter: DEBUG desktop: Inhibiting Gnome session
flutter: ERROR page_images: Error loading image for tryOrInstall from /usr/share/desktop-provision/images/try-or-install.svg: File does not exist.
flutter: INFO subiquity_status: null => ApplicationStatus(state: ApplicationState.WAITING, confirmingTty: , error: null, cloudInitOk: true, interactive: true, echoSyslogId: subiquity_echo.5204, logSyslogId: subiquity_log.5204, eventSyslogId: subiquity_event.5204)
flutter: INFO subiquity_status: null => ApplicationStatus(state: ApplicationState.WAITING, confirmingTty: , error: null, cloudInitOk: true, interactive: true, echoSyslogId: subiquity_echo.5204, logSyslogId: subiquity_log.5204, eventSyslogId: subiquity_event.5204)
flutter: DEBUG subiquity_client: GET http://localhost/meta/interactive_sections
flutter: DEBUG subiquity_client: ==> getInteractiveSections() null
flutter: INFO locale: Loaded 75 languages
flutter: DEBUG subiquity_client: GET http://localhost/locale
flutter: DEBUG subiquity_client: ==> locale() "C.UTF-8"
flutter: INFO locale: Selected en_US as UI language

** (ubuntu_bootstrap:6154): WARNING **: 18:45:07.029: atk-bridge: get_device_events_reply: unknown signature

(ubuntu_bootstrap:6154): GLib-GObject-WARNING **: 18:49:16.943: ../../../gobject/gsignal.c:2765: instance '0x5f63e1cd8270' has no handler with id '155'
edubuntu@edubuntu:~$ ubuntu-desktop-bootstrap --try-or-install

(ubuntu_bootstrap:6402): Gdk-CRITICAL **: 18:49:41.467: gdk_window_get_state: assertion 'GDK_IS_WINDOW (window)' failed

(ubuntu_bootstrap:6402): Gtk-WARNING **: 18:49:41.468: /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-ibus.so: undefined symbol: ibus_input_context_set_post_process_key_event

(ubuntu_bootstrap:6402): Gtk-WARNING **: 18:49:41.468: Loading IM context type 'ibus' failed
flutter: INFO ubuntu_bootstrap: Logging to /var/log/installer/ubuntu_bootstrap.log
flutter: WARNING subiquity_server: Unable to find the subiquity_client package. Falling back to the current working dir: /home/edubuntu
flutter: INFO subiquity_server: Waiting server up to 90 seconds
flutter: INFO subiquity_server: ApplicationState.WAITING
flutter: DEBUG config: Loaded config file from /usr/share/desktop-provision/whitelabel.yaml
flutter: INFO flavor_provider: Using flavor from config: UbuntuFlavor.edubuntu
flutter: INFO subiquity_client: Opening socket to Endpoint(/run/subiquity/socket )
flutter: DEBUG desktop: Disabling automounting
flutter: DEBUG subiquity_client: POST http://localhost/meta/client_variant?variant=%22desktop%22
flutter: DEBUG subiquity_client: GET http://localhost/refresh?wait=true
flutter: DEBUG telemetry: Writing report to /var/log/installer/telemetry
flutter: DEBUG subiquity_client: ==> setVariant(Variant.DESKTOP) null
flutter: DEBUG subiquity_client: ==> checkRefresh() {"availability": "UNAVAILABLE", "current_snap_version": "0+git.883b07e1", "new_snap_version": ""}
flutter: DEBUG refresh: RefreshState.status(status: RefreshStatus(availability: RefreshCheckState.UNAVAILABLE, currentSnapVersion: 0+git.883b07e1, newSnapVersion: ))
flutter: INFO subiquity_status: null => ApplicationStatus(state: ApplicationState.WAITING, confirmingTty: , error: null, cloudInitOk: true, interactive: true, echoSyslogId: subiquity_echo.5204, logSyslogId: subiquity_log.5204, eventSyslogId: subiquity_event.5204)
flutter: DEBUG subiquity_client: POST http://localhost/meta/mark_configured?endpoint_names=%5B%22mirror%22%2C%22proxy%22%2C%22ssh%22%2C%22snaplist%22%2C%22ubuntu_pro%22%5D
flutter: DEBUG subiquity_client: ==> markConfigured([mirror, proxy, ssh, snaplist, ubuntu_pro]) null
flutter: DEBUG desktop: Disabling screen blanking
flutter: DEBUG desktop: Disabling screensaver
flutter: DEBUG desktop: Inhibiting Gnome session
flutter: INFO subiquity_status: null => ApplicationStatus(state: ApplicationState.WAITING, confirmingTty: , error: null, cloudInitOk: true, interactive: true, echoSyslogId: subiquity_echo.5204, logSyslogId: subiquity_log.5204, eventSyslogId: subiquity_event.5204)
flutter: INFO subiquity_status: null => ApplicationStatus(state: ApplicationState.WAITING, confirmingTty: , error: null, cloudInitOk: true, interactive: true, echoSyslogId: subiquity_echo.5204, logSyslogId: subiquity_log.5204, eventSyslogId: subiquity_event.5204)
flutter: DEBUG subiquity_client: GET http://localhost/meta/interactive_sections
flutter: DEBUG subiquity_client: ==> getInteractiveSections() null
flutter: INFO locale: Loaded 75 languages
flutter: DEBUG subiquity_client: GET http://localhost/locale
flutter: DEBUG subiquity_client: ==> locale() "C.UTF-8"
flutter: INFO locale: Selected en_US as UI language

** (ubuntu_bootstrap:6402): WARNING **: 18:50:06.594: atk-bridge: get_device_events_reply: unknown signature

--

name: ubuntu-desktop-bootstrap
summary: Ubuntu Desktop Bootstrap
publisher: Sebastien Bacher (seb128)
store-url: https://snapcraft.io/ubuntu-desktop-bootstrap
license: unset
description: |
  This project is a modern implementation of the Ubuntu Desktop installer,
  using subiquity as a backend and Flutter for the UI.
commands:
  - ubuntu-desktop-bootstrap.os-prober
  - ubuntu-desktop-bootstrap.probert
  - ubuntu-desktop-bootstrap.subiquity-loadkeys
  - ubuntu-desktop-bootstrap
services:
  ubuntu-desktop-bootstrap.subiquity-server: simple, enabled, active
snap-id: dLfoSWlQziHta7kJaco3IhnPwGVJ3bIt
tracking: latest/candidate
refresh-date: today at 18:39 UTC
channels:
  latest/stable: 0+git.15cde5fb 2024-02-12 (6) 122MB classic
  latest/candidate: 0+git.883b07e1 2024-02-26 (12) 123MB classic
  latest/beta: ^
  latest/edge: ^
installed: 0+git.883b07e1 (12) 123MB classic

Related branches

Revision history for this message
fossfreedom (fossfreedom) wrote :

Similar issue with todays candidate on ubuntu-budgie

After 90 seconds the blank window changes to the installer and the installation continues successfully.

I've attached the install tarball log

I see this after 90 seconds when the installer properly appears and continues

flutter: INFO subiquity_server: ApplicationState.WAITING

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

No change with 2024-02-27 Candidate.

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote (last edit ):
Download full text (3.4 KiB)

No change with 2024-02-29 candidate. Terminal output below:

--

$ ubuntu-desktop-bootstrap --try-or-install

(ubuntu_bootstrap:5321): Gdk-CRITICAL **: 19:33:25.999: gdk_window_get_state: assertion 'GDK_IS_WINDOW (window)' failed

(ubuntu_bootstrap:5321): Gtk-WARNING **: 19:33:26.012: /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-ibus.so: undefined symbol: ibus_input_context_set_post_process_key_event

(ubuntu_bootstrap:5321): Gtk-WARNING **: 19:33:26.012: Loading IM context type 'ibus' failed
flutter: INFO ubuntu_bootstrap: Logging to /var/log/installer/ubuntu_bootstrap.log
flutter: WARNING subiquity_server: Unable to find the subiquity_client package. Falling back to the current working dir: /home/edubuntu
flutter: INFO subiquity_server: Waiting server up to 90 seconds
flutter: INFO subiquity_server: ApplicationState.WAITING
flutter: DEBUG config: Loaded config file from /usr/share/desktop-provision/whitelabel.yaml
flutter: INFO flavor_provider: Using flavor from config: UbuntuFlavor.edubuntu
flutter: INFO subiquity_client: Opening socket to Endpoint(/run/subiquity/socket )
flutter: DEBUG desktop: Disabling automounting
flutter: DEBUG subiquity_client: POST http://localhost/meta/client_variant?variant=%22desktop%22
flutter: DEBUG subiquity_client: GET http://localhost/refresh?wait=true
flutter: DEBUG telemetry: Writing report to /var/log/installer/telemetry
flutter: DEBUG subiquity_client: ==> setVariant(Variant.DESKTOP) null
flutter: DEBUG subiquity_client: ==> checkRefresh() {"availability": "UNAVAILABLE", "current_snap_version": "0+git.f9c15278", "new_snap_version": ""}
flutter: DEBUG refresh: RefreshState.status(status: RefreshStatus(availability: RefreshCheckState.UNAVAILABLE, currentSnapVersion: 0+git.f9c15278, newSnapVersion: ))
flutter: INFO subiquity_status: null => ApplicationStatus(state: ApplicationState.WAITING, confirmingTty: , error: null, cloudInitOk: true, interactive: true, echoSyslogId: subiquity_echo.4905, logSyslogId: subiquity_log.4905, eventSyslogId: subiquity_event.4905)
flutter: DEBUG subiquity_client: POST http://localhost/meta/mark_configured?endpoint_names=%5B%22mirror%22%2C%22proxy%22%2C%22ssh%22%2C%22snaplist%22%2C%22ubuntu_pro%22%5D
flutter: DEBUG subiquity_client: ==> markConfigured([mirror, proxy, ssh, snaplist, ubuntu_pro]) null
flutter: DEBUG desktop: Disabling screen blanking
flutter: DEBUG desktop: Disabling screensaver
flutter: DEBUG desktop: Inhibiting Gnome session
flutter: INFO subiquity_status: null => ApplicationStatus(state: ApplicationState.WAITING, confirmingTty: , error: null, cloudInitOk: true, interactive: true, echoSyslogId: subiquity_echo.4905, logSyslogId: subiquity_log.4905, eventSyslogId: subiquity_event.4905)
flutter: INFO subiquity_status: null => ApplicationStatus(state: ApplicationState.WAITING, confirmingTty: , error: null, cloudInitOk: true, interactive: true, echoSyslogId: subiquity_echo.4905, logSyslogId: subiquity_log.4905, eventSyslogId: subiquity_event.4905)
flutter: DEBUG subiquity_client: GET http://localhost/meta/interactive_sections
flutter: DEBUG subiquity_client: ==> getInteractiveSections() null
flutter: INFO locale: Loaded 75 languages
flutter: DEBUG subiquity_...

Read more...

Revision history for this message
Dan Bungert (dbungert) wrote :

2024-02-26 19:29:49,617 WARNING cloudinit.sources.DataSourceEc2:583 Calling 'None' failed [119/120s]: request error [HTTPConnectionPool(host='169.254.169.254', port=80): Max retries exceeded with url: /2009-04-04/meta-data/instance-id (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x74a6d282ad70>, 'Connection to 169.254.169.254 timed out. (connect timeout=18.0)'))]
2024-02-26 19:29:49,618 DEBUG cloudinit.url_helper:305 [0/1] open 'http://[fd00:ec2::254]/2009-04-04/meta-data/instance-id' with {'url': 'http://[fd00:ec2::254]/2009-04-04/meta-data/instance-id', 'stream': False, 'allow_redirects': True, 'method': 'GET', 'timeout': 0.0} configuration
2024-02-26 19:29:49,619 WARNING cloudinit.sources.DataSourceEc2:583 Calling 'None' failed [119/120s]: unexpected error [Attempted to set connect timeout to 0.0, but the timeout cannot be set to a value less than or equal to 0.]
2024-02-26 19:29:49,619 DEBUG cloudinit.url_helper:670 Please wait 1 seconds while we wait to try again

Dan Bungert (dbungert)
summary: - Edubuntu install completely hangs with 2024-02-26 candidate
+ cloudinit.sources.DataSourceEc2:583 Calling 'None' failed
description: updated
Changed in livecd-rootfs (Ubuntu):
assignee: nobody → Dan Bungert (dbungert)
Changed in subiquity:
status: New → Invalid
Dan Bungert (dbungert)
description: updated
Revision history for this message
Chad Smith (chad.smith) wrote :

Thanks for filing this bug.

While we triage, it would be helpful if we can attach the results of `sudo cloud-init collect-logs` during the installation stage to this bug?
 - ideally we want to look at /run/cloud-init/ds-identify.log and the full /var/log/cloud-init.log which will give us more guidance on why Ec2 is even selected in the first place.

Dan Bungert (dbungert)
description: updated
Dan Bungert (dbungert)
Changed in livecd-rootfs (Ubuntu):
status: New → In Progress
Revision history for this message
Chad Smith (chad.smith) wrote :

Reflecting this context to the bug instead of IRC messages.

There are a number of issues at play here:

1. edubuntu images do not provide /var/lib/cloud/seed/nocloud/user-data or meta-data files which allow cloud-init in Ubuntu Desktop images to detect cloud-init's NoCloud datasource.

2. /usr/lib/cloud-init/ds-identify is used to quickly limit any viable datasources on a system during systemd generator timeframe. inability to find any datasources will leave cloud-init with a disabled status.

3. subiquity (and live desktop images) make a call to cloud-init status to block on cloud-init completion: either disabled or enabled with user-data

4. subiquity calls cloud-init's stages.Init() function to query for any actionable `autoinstall` key in user-data presented in #cloud-config provided to the machine at boot.

The problem appears due to cloud-init being disabled/inert due to step #2.
Subiquity's subsequent waiting on cloud-init status doesn't consider `disabled` state of cloud-init in #3 and invokes stages.Init() directly in step #4 when there really isn't any possible way we'd have user-data.

The side-effect of cloud-init's stages.Init() call is: if no detected datasources are present, stages.Init() is trying to be helpful and try discovering datasources for you at runtime. Since ds-identify never found any datasource, it didn't limit the list of all potential datasources in /etc/cloud/cloud.cfg.d/90_dpkg.cfg. So, stages.Init() happily walks through all costly detection/discover logic for 31 datasource.

Short-term we could tidy up the edubuntu image flavor to ensure cloud-init can minimally detect an empty nocloud datasource by providing empty files at /var/lib/cloud/seed/nocloud/user-data and /var/lib/cloud/seed/nocloud/meta-data. That'll leave cloud-init in an enabled state that current subiquity code can invoke stages.Init() without side-effects.

long-term:
 - subiquity should probably double check cloud-init disabled status and avoid calling stages.Init() if cloud-init is "disabled"

Revision history for this message
Chad Smith (chad.smith) wrote :

If we want this kind of fix for subiquity to avoid edge cases where someone manually tries to disable cloud-init via kernel command-line params:
https://github.com/canonical/subiquity/pull/1923

Chad Smith (chad.smith)
Changed in cloud-init (Ubuntu):
status: New → Invalid
Chad Smith (chad.smith)
Changed in livecd-rootfs (Ubuntu):
status: In Progress → Fix Committed
Changed in subiquity:
status: Invalid → Fix Committed
Revision history for this message
Chad Smith (chad.smith) wrote :

Better logging from cloud-init to fix the 'None' warning https://github.com/canonical/cloud-init/pull/4994

Changed in cloud-init (Ubuntu):
status: Invalid → In Progress
assignee: nobody → Chad Smith (chad.smith)
Revision history for this message
Steve Langasek (vorlon) wrote :

AIUI the proposed change to livecd-rootfs has some issues wrt correctness on flavors, moving this back to 'in progress'

Changed in livecd-rootfs (Ubuntu):
status: Fix Committed → In Progress
Revision history for this message
Chad Smith (chad.smith) wrote :

https://github.com/canonical/cloud-init/pull/4994 just merged for cloud-init to fix inconclusive logging of 'None'. Expect cloud-init logs in this regard to be fixed in 24.2 and/or next "bugfix release" of cloud-init into Noble.

Changed in cloud-init (Ubuntu):
status: In Progress → Fix Committed
Changed in livecd-rootfs (Ubuntu):
status: In Progress → Fix Committed
status: Fix Committed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-init - 24.1.1-0ubuntu1

---------------
cloud-init (24.1.1-0ubuntu1) noble; urgency=medium

  * Upstream snapshot based on 24.1.1.
    List of changes from upstream can be found at
    https://raw.githubusercontent.com/canonical/cloud-init/24.1.1/ChangeLog
    - Bugs fixed in this snapshot: (LP: #2056439, #2056460, #2055077)
      (LP: #2056194)

 -- Brett Holman <email address hidden> Mon, 11 Mar 2024 21:09:37 -0600

Changed in cloud-init (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

No longer a problem after recent fixes to subiquity and cloud-init.

Changed in ubuntu-desktop-provision:
status: New → Fix Released
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote (last edit ):
Download full text (3.6 KiB)

It's back:

$ ubuntu-desktop-bootstrap --try-or-install

(ubuntu_bootstrap:7450): Gtk-WARNING **: 04:13:54.764: /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-ibus.so: undefined symbol: ibus_input_context_set_post_process_key_event

(ubuntu_bootstrap:7450): Gtk-WARNING **: 04:13:54.764: Loading IM context type 'ibus' failed
flutter: INFO ubuntu_bootstrap: Logging to /var/log/installer/ubuntu_bootstrap.log
flutter: WARNING subiquity_server: Unable to find the subiquity_client package. Falling back to the current working dir: /home/edubuntu
flutter: INFO subiquity_server: Waiting server up to 90 seconds
flutter: INFO subiquity_server: ApplicationState.WAITING
flutter: DEBUG config: Loaded config file from /usr/share/desktop-provision/whitelabel.yaml
flutter: INFO flavor_provider: Using flavor from config: UbuntuFlavor.edubuntu
flutter: INFO subiquity_client: Opening socket to Endpoint(/run/subiquity/socket )
flutter: DEBUG desktop: Disabling automounting
flutter: DEBUG subiquity_client: POST http://localhost/meta/client_variant?variant=%22desktop%22
flutter: DEBUG subiquity_client: GET http://localhost/refresh?wait=true
flutter: DEBUG telemetry: Writing report to /var/log/installer/telemetry
flutter: DEBUG subiquity_client: ==> setVariant(Variant.DESKTOP) null
flutter: DEBUG subiquity_client: ==> checkRefresh() {"availability": "UNAVAILABLE", "current_snap_version": "0+git.a0db5e7c", "new_snap_version": ""}
flutter: DEBUG refresh: RefreshState.status(status: RefreshStatus(availability: RefreshCheckState.UNAVAILABLE, currentSnapVersion: 0+git.a0db5e7c, newSnapVersion: ))
flutter: INFO subiquity_status: null => ApplicationStatus(state: ApplicationState.WAITING, confirmingTty: , error: null, cloudInitOk: true, interactive: true, echoSyslogId: subiquity_echo.5918, logSyslogId: subiquity_log.5918, eventSyslogId: subiquity_event.5918)
flutter: DEBUG subiquity_client: POST http://localhost/meta/mark_configured?endpoint_names=%5B%22mirror%22%2C%22proxy%22%2C%22ssh%22%2C%22snaplist%22%2C%22ubuntu_pro%22%5D
flutter: DEBUG subiquity_client: ==> markConfigured([mirror, proxy, ssh, snaplist, ubuntu_pro]) null
flutter: DEBUG desktop: Disabling screen blanking
flutter: DEBUG desktop: Disabling screensaver
flutter: DEBUG desktop: Inhibiting Gnome session
flutter: INFO subiquity_status: null => ApplicationStatus(state: ApplicationState.WAITING, confirmingTty: , error: null, cloudInitOk: true, interactive: true, echoSyslogId: subiquity_echo.5918, logSyslogId: subiquity_log.5918, eventSyslogId: subiquity_event.5918)
flutter: INFO subiquity_status: null => ApplicationStatus(state: ApplicationState.WAITING, confirmingTty: , error: null, cloudInitOk: true, interactive: true, echoSyslogId: subiquity_echo.5918, logSyslogId: subiquity_log.5918, eventSyslogId: subiquity_event.5918)
flutter: DEBUG subiquity_client: GET http://localhost/meta/interactive_sections
flutter: DEBUG subiquity_client: ==> getInteractiveSections() null
flutter: INFO locale: Loaded 75 languages
flutter: DEBUG subiquity_client: GET http://localhost/locale
flutter: DEBUG subiquity_client: ==> locale() "C.UTF-8"
flutter: INFO locale: Selected en_US as UI language

Telltale sign is error appear...

Read more...

Changed in ubuntu-desktop-provision:
status: Fix Released → Confirmed
Changed in cloud-init (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Dan Bungert (dbungert) wrote :

Erich,

Please attach a full tarball of /var/log/installer.

The original way I wanted to address this issue is pending on livecd-rootfs. livecd-rootfs v24.04.49 is still in proposed, and when it migrates I will see to 24.04.50 being uploaded if it isn't already, which has my preferred version of the fix for this.

I am concerned that you are seeing a different issue, so that is why I'm asking for logs.

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Hi Dan,

This should do it.

Revision history for this message
Dan Bungert (dbungert) wrote :

Erich - so what problems are you experiencing? The only data we have here is "It's back" but the logs you have provided reflect the Subiquity fixes being in place.

I am (slowly) downloading the latest edubuntu ISO so I'm happy to try to reproduce this, but I could use some details about what I'm looking for. Thanks.

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Oh, I'm sorry Dan.

ubuntu-desktop-bootstrap loads but is not getting past the initial spinner with "Preparing Edubuntu...". I have been unable to duplicate the symptom using Ubuntu Studio or Ubuntu Desktop.

Revision history for this message
Dan Bungert (dbungert) wrote :

I have just completed my second install here with the 20240320 build of edubuntu. I'm not able to reproduce this problem. The first install was autoinstall based, the second one was completely manually.

Erich, the original bug was due to some problems trying to contact EC2 when that was plainly not going to work. Do you see evidence that the problem you're seeing has anything to do with cloud-init talking to EC2? All appears to be in order in my test installs (minus the backtrace I saw from ubuntu-desktop-bootstrap that mentioned slideshows, but I can't produce that again and it doesn't appear to be blocking)

Changed in subiquity:
status: Fix Committed → Fix Released
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Ok, good to know. I'll re-test soon. I thought cloud-init might be the problem again after Chad had released a fix there, but I'll re test when I'm in a better position.

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

So, false alarm. Everything appears to be fine. I 'm honestly not sure why it failed in my last test but testing just now, and everything seems to be fine.

Changed in cloud-init (Ubuntu):
status: Confirmed → Fix Released
Changed in ubuntu-desktop-provision:
status: Confirmed → Fix Released
Revision history for this message
Chad Smith (chad.smith) wrote :

+1 I confirmed yesterday as well. subiquity no longer calls cloud-init's stages.Init() when cloud-init is disabled. This was the source of the delay originally which performed all that rediscovery of every cloud-init datasource, including Ec2. Full install with cloud-init disabled on default installs works and we see subiquity correctly claiming cloud-init is disabled.

Revision history for this message
Dan Bungert (dbungert) wrote :

livecd-rootfs 24.04.50 merged and uploaded, now needs to clear proposed.

Changed in livecd-rootfs (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package livecd-rootfs - 24.04.52

---------------
livecd-rootfs (24.04.52) noble; urgency=medium

  * Move from hwe-22.04 to hwe-24.04 throughout, hwe-22.04 is obsolete and
    to be dropped from the release pocket imminently.

 -- Steve Langasek <email address hidden> Wed, 27 Mar 2024 12:03:04 -0700

Changed in livecd-rootfs (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.