Unexpected hardware sync state change

Bug #2051988 reported by maasuser1
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Committed
High
Christian Grabowski
3.4
Fix Released
High
Christian Grabowski
3.5
Fix Committed
High
Christian Grabowski

Bug Description

3.4.0-14321-g.1027c7664
The event log shows hardware sync state change even if nothing was changed, as shown in the figure. The machine was running Ubuntu 22.04 LTS.

Related branches

Revision history for this message
maasuser1 (maasuser1) wrote :
Revision history for this message
maasuser1 (maasuser1) wrote :

This issue has also been observed on Ubuntu 20.04 LTS.

Revision history for this message
Björn Tillenius (bjornt) wrote :

Do you see these message all the time, or are you referring to that some of the messages with the same timestamp were duplicated?

If the former, can you provide the event log from the API, so we can see how often they repeat?

Changed in maas:
status: New → Incomplete
Revision history for this message
maasuser1 (maasuser1) wrote :

Hi Björn,

I saw these messages all the time. They repeat every 15 minutes.

Revision history for this message
Alexsander de Souza (alexsander-souza) wrote :

Hi, can you provide the output of the following commands:

- maas $PROFILE node-script-result download $SYSTEM_ID current-commissioning

- maas $PROFILE node-devices read $SYSTEM_ID

This will help us to understand the initial state and why MAAS thinks the current state needs updating

Changed in maas:
status: Incomplete → New
status: New → Incomplete
Revision history for this message
Björn Tillenius (bjornt) wrote :

I can confirm this. All you have to do is to deploy a machine with hardware sync enabled. Then you will see log messages about hardware sync changes.

It seems like we don't actually check that something changed.

Also, at least for CPU, we log that a CPU is added every time a CPU wasn't created in the database.

See also bug 2062141.

Changed in maas:
status: Incomplete → Triaged
importance: Undecided → High
milestone: none → 3.6.0
Changed in maas:
assignee: nobody → Christian Grabowski (cgrabowski)
Changed in maas:
status: Triaged → In Progress
Changed in maas:
status: In Progress → Fix Committed
Revision history for this message
maasuser1 (maasuser1) wrote :

Still observed on 3.4.2/stable with Ubuntu 18.04 LTS.

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.