manual: detection of cores fails on Packet Type 2A

Bug #1664434 reported by Andrew Wilkins
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
Witold Krecicki

Bug Description

I used manual provisioning to get Juju onto a Packet.net Type 2A machine (https://www.packet.net/bare-metal/servers/type-2a/). These machines have 96 cores, but Juju detects only 1 core, according to "juju status --format=yaml":

    hardware: arch=arm64 cores=1 mem=128878M

Tags: usability
Revision history for this message
Anastasia (anastasia-macmood) wrote :

I am raising the Importance of this bug as incorrect cores value in status impacts usability.

tags: added: usability
Changed in juju:
importance: Low → Medium
milestone: 2.2.0 → none
Revision history for this message
Edward Vielmetti (edward-vielmetti) wrote :

What code does Juju execute to determine the number of cores on a system? I ask because there are several routines on the arm64 Type 2A machine at Packet.net that will return the right number for this system.

Revision history for this message
Andrew Wilkins (axwalk) wrote :

Edward, we cat /proc/cpuinfo and process it with the code here: https://github.com/juju/juju/blob/staging/environs/manual/sshprovisioner/sshprovisioner.go#L126

Revision history for this message
Witold Krecicki (wpk) wrote :

That's (google found) cpuinfo from Packet type 2A - https://gist.github.com/anonymous/d81912859fa1a26032c8e22f3af6bdc3

Current parser won't parse it correctly as there's no 'physical id'.

Changed in juju:
assignee: nobody → Witold Krecicki (wpk)
Witold Krecicki (wpk)
Changed in juju:
status: Triaged → In Progress
Revision history for this message
Witold Krecicki (wpk) wrote :
Changed in juju:
milestone: none → 2.2-beta3
Witold Krecicki (wpk)
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
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.