Waiting for rack controller(s) to sync forever

Bug #1836936 reported by Joshua McClintock

This bug report will be marked for expiration in 38 days if no further activity occurs. (find out why)

14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
MAAS
Incomplete
High
Unassigned

Bug Description

Reproduce:

1. Uploaded large image 4G+

Expected:

1. Image uploads successfully
2. syncs to rack controller(s)

Actual:

1. Image uploads successfully
2. syncs to rack controller(s)
3. GUI says 'Waiting for rack controller(s) to sync' forvever

The image did sync, but the GUI says it hasn't.

MaaS Version: 2.6.0 (7802-g59416a869-0ubuntu1~18.04.1)

My smaller custom images (ESX and RHEL) do sync just fine, it's my larger Windows images which are exhibiting this issue.

Revision history for this message
Joshua McClintock (jmcclintock777) wrote :

You may close this, the error happens when you upload an image with filetype 'ddgz' instead of 'ddtgz'. So the bug might be an input validation to see if the file type you provided is even valid.

Changed in maas:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.7.0alpha1
Revision history for this message
Blake Rouse (blake-rouse) wrote :

ddgz is actually a valid type. It is a gunzipped dd instead of a dd in a tarball gunzipped. Seems that the syncing code is getting confused with that type and not marking it as synced to the rack controller correctly.

Revision history for this message
Michael Fischer (michaelandrewfischer) wrote :

I am also experiencing a similar (if not the same) issue in maas 2.5

no longer affects: maas/2.6
Changed in maas:
milestone: 2.7.0b1 → 2.7.0b2
Changed in maas:
milestone: 2.7.0b2 → none
Revision history for this message
Michael Fischer (michaelandrewfischer) wrote :

I am still seeing this issue after upgrading to maas 2.6.0

* I run this command:
maas <user> boot-resources create name='windows/WS-2019' title='Windows Server 2019' architecture='amd64/generic' filetype='tgz' content@=win-image.img

* The command executes successfully after some time.

* The UI displays:
Waiting for rack controller(s) to sync

Revision history for this message
Jeremy Mordkoff (jeremy-mordkoff) wrote :

I am seeing this in a fresh install of maas 2.7 and the images downloaded from mass.io. I have 18.04/amd64 and centos/amd64 selected. I can see them download, but then the status in the GUI gets stuck on 'Waiting for rack controller(s) to sync'

The only thing slightly unusual is that I have IPv6 enabled.

 root@grunt27:~# snap list
 Name Version Rev Tracking Publisher Notes
 core18 20200124 1668 stable canonical✓ base
 maas 2.7.0-8234-g.de2727f6c 4951 2.7 canonical✓ -
 maas-cli 0.6.5 13 stable canonical✓ -
 snapd 2.43.3 6434 stable canonical✓ snapd

Revision history for this message
Joshua McClintock (jmcclintock777) wrote :

@Blake, RE Comment #2, what if the file type you specify (e.g. filetype='tgz') is different from the actual extension of your file (e.g. win-image.img)? Does that even matter?

Revision history for this message
Jerzy Husakowski (jhusakowski) wrote :

Is this still an issue on MAAS 3.2 or later?

Changed in maas:
status: Triaged → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers