Ana içeriğe geç

Repair request to Hetzner

On a server rented through Qubix, when a failure points at a part that Hetzner can repair, the incident window offers a repair request. On any other installation the incident window has no such block. The block is titled Repair request to Hetzner: … (the dots stand for the kind of request, for example "Drive"). You confirm the data of the request and the time of works; Qubix writes the letter to Hetzner itself, sends it, follows the answers of Hetzner and closes the request after the hardware check.

Which failures offer a request​

The block appears in the incident window of the failures below. The kind of request stands in the title of the block and in the text of the send button.

KindThe buttonFailures that offer it
DriveSend a request to replace the diskDisk failed its SMART self-assessment, the four SATA attributes (the list), NVMe media errors are growing, NVMe disk raised a critical warning, NVMe spare blocks are running out, Disk I/O errors in the kernel log, NVMe timeouts or controller resets in the kernel log, A drive is gone from the server, RAID array is degraded
MemorySend a request to replace the memoryUncorrectable memory errors (ECC), More than 10 corrected memory errors a day, Memory or machine check errors in the kernel log, A memory module is gone from the server
PCIe deviceSend a request to check the deviceA PCIe device is gone from the server
NetworkSend a request to check the networkPacket loss to the gateway
CoolingSend a request to check the coolingCPU is overheating
MainboardSend a request to check the serverKernel panic in the previous boot, The server rebooted without our command

The fallback text of the button is Send the request; the panel uses it when the kind of a request is new to it.

How to send a request​

  1. Open Auto DevOps → Incidents and click the incident. A row with Can be sent: … in Repair request offers a request (the dots stand for the kind).

  2. In the block Data for Hetzner check the lines. Each line has a switch; a line you switch off stays on the server and leaves the request.

  3. Choose Time of works (Time of works below).

  4. Read the row Backup: it says when the last backup ended and whether the request waits for a new one (Backup before the works).

  5. Click the send button. It stays dimmed while the time of works is missing, while the incident is closed, while a request of this kind is open and while the limit of three requests is reached (Limits).

You confirm the data. The text of the letter belongs to Qubix, and the letters of Hetzner arrive in the block (Letters).

Data for Hetzner​

The hint of the block reads Qubix passes these lines to Hetzner; the letter is written by the Qubix agent. A line switched off stays on the server. The block lists the lines that Qubix collected at the minute the incident opened: first the value lines in the alphabetical order of their keys, then the lines of the log events, the SMART report and the route report. Under each line stands its value; the word unknown stands for a value that Qubix failed to read.

LineKindWhat it holds
Serial number of the faulty diskDriveThe serial number of the faulty disk
Serial numbers of the healthy disksDriveThe serial numbers of the healthy disks; for a degraded array, the active members of the array
Disk slotDriveThe slot of the faulty disk
Disk modelDriveThe model
Disk name in the systemDriveThe name of the device, for example /dev/sdb
Disk controller addressDriveThe PCI address of the controller of the disk; an NVMe disk gives its slot
Memory installedMemoryThe total size of the modules that the inventory knows, in GB
Memory the server seesMemoryThe total size of the modules that the server sees now, in GB
Memory module slotMemoryThe slot of the module of the failure
Address of the missing devicePCIe deviceThe address of the vanished device
Highest CPU temperatureCoolingThe temperature of the failure, in degrees; the line appears for the failure "CPU is overheating"
Log eventsAnyThe count of the log events that Qubix attaches (… events, the dots stand for the number)
SMART reportDriveThe value reads Full smartctl report: the full report that the smartctl program wrote for the disk
Route reportNetworkThe value reads mtr to the Hetzner gateway: the route report to the gateway of Hetzner that the mtr program wrote

The log events go to Hetzner as words from a closed list, the device, the seconds since the boot and the count; the text of the log stays on the server.

Time of works​

Most works switch the server off, so the block asks for the time. Two requests skip the choice of time, and the row Time of works then carries a hint in place of the choice:

  • a disk that Hetzner replaces while the server runs, when the answer of the service allows it: Hetzner replaces the disk while the server runs.
  • a network check: The server keeps running during the check.

For every other request the row reads Hetzner switches the server off for the works. and offers the choice:

ChoiceWhat it sets
The three nearest nightsEach option reads like "Today 02:00–04:00 (UTC+03:00)": 02:00 to 04:00 in your time zone. A night that starts in less than 3 hours is skipped
Choose timeOpens two fields: Start (…) with your time zone in place of the dots, which takes the date and the time (the field starts at the same moment tomorrow), and Length from 1 hour to 8 hours (2 hours at first); an option is written … hours (the dots stand for the number)

A start in the past gets the red hint Choose a time ahead., and the send button waits for a correct time. Qubix accepts a time of works that starts ahead and lasts at least one hour.

Backup before the works​

Before the request goes, Qubix checks the backup of the server. The row Backup shows where things stand, and a backup younger than 26 hours is fresh.

The row saysWhat it means
The request goes after the first backup.The first good backup of the server is still ahead
Last backup: ….The backup is fresh; the request goes at once (the dots stand for the moment)
Last backup: …; the request goes after a new backup.The last backup is older than 26 hours
Waiting for a backup; the request goes right after it.A backup or another run of the backup service is going
The backup stopped: ….The backup failed to start or ended with a failure; the reason reads like the reasons in the backups section of Qubix settings

While the request waits for a backup, or after the backup stopped, the block offers buttons:

ButtonWhat it does
Save the keyOpens the backups window of Qubix settings; it appears when the reason is the unsaved backup key
Back up nowStarts a backup again; the request waits for it. It appears after a stop for any reason except the unsaved key and the missing backup program
Send without a backupSends the request at once and records who decided
Withdraw consentTakes your agreement back, so the block shows the data lines and the send button again

The job of Qubix checks the waiting requests every minute. A backup that ended done lets the request go. A backup cut by a restart of Qubix itself is replaced by a new one.

States of a request​

Once the request is filed, the block shows the row Request with the reference (for example QBX-R-1234), the state and, after a colon, the outcome of a closed request.

StateWhat it meansThe state of the incident
FiledQubix filed the requestRequest filed
Waiting for HetznerThe letter went to HetznerWaiting for Hetzner
Waiting for your timeHetzner proposes another timeWaiting for your time
Work scheduledThe time of works is set; the row Time of works shows itWork scheduled
Work doneHetzner finished the workOpen
ClosedThe request is closed; the outcome follows the colonFollows the outcome

The outcome after "Closed":

OutcomeWhat happens next
part replacedQubix closed the request after the check of the inventory
declined by HetznerThe incident is open again and the block offers the request once more
Hetzner found the hardware in orderThe incident is open again and the block offers the request once more
cancelledThe incident is open again and the block offers the request once more
doneThe request is done

Qubix asks the service for the progress of a request at the pace that the service names in its answer, and asks again at the next run of the job, within a minute, after you answer, agree to a time or cancel. After "Work done" Qubix waits for an inventory taken later than that moment. For a disk or a memory module it looks for a new part with another serial number in the same slot, for a PCIe device it looks for the device back at its address, and then it closes the request as replaced. A request of the kinds network, cooling and mainboard closes with an empty list of parts. When the new part is still unseen, the request stays open and Qubix asks for the inventory again at the next check.

A request that closed before your agreement stays in the block as history, with the row Request and its reference, state and outcome, and the send button reads Send the request again.

Hetzner proposes another time​

When Hetzner proposes another time, the block shows the notice Hetzner proposes …. (the dots stand for the proposed time), and the row Request reads Waiting for your time.

  • Click Agree to accept the proposed time.
  • Click Choose another time to open the choice of the time; choose the time and click Send the time.

Questions of Hetzner​

When Hetzner needs an answer, the block shows the text Your answer is needed on request …. (the dots stand for the reference), then the question, a field Answer and the button Answer. The button waits for text in the field.

Letters from Hetzner​

The block Letters from Hetzner lists the letters of the request. Each line shows the date and the subject; a click on the line unfolds the text.

Commands of a disk replacement​

For a disk request the block offers the commands of the replacement in order. A click opens the command window; a field named Disk, when the command has one, starts with the name of the disk of the request. A button whose command is not in the list of this server answers The command «…» is not in the list of this server. (the dots stand for the name).

WhenBlockCommands
The time of works is setBefore the works: Take the disk out of the array before Hetzner replaces it.Remove the disk from the array
Hetzner finished the workAfter the works: A new disk stands in the slot: prepare it, add it to the array and install the boot loader.Prepare the new disk, Add the disk to the array, Install the boot loader

For the other kinds, the row After the works after the work reads Qubix closes the request itself after it checks the hardware. The catalog of the commands is in Catalog of commands.

Cancel the request​

An open request carries the red button Cancel the request. A click asks for confirmation with the text Qubix tells Hetzner that request … is cancelled., where the number of the request stands in place of the dots. After the confirmation the request closes with the outcome "cancelled", the incident stays open, and the block offers a new request within the limits.

Limits​

One server holds one open request of each kind and sends three requests within 24 hours. The kinds Cooling and Mainboard count as one: an open request of either holds the other. The block shows what applies:

  • A request on … is open for this server: …. while a request of the kind is open (the dots stand for the kind and the reference);
  • Three requests went out in the last 24 hours. The next one can go after …. (the dots stand for the moment).

When an incident is closed​

The block of a closed incident dims its switches and buttons and carries the notice The incident is closed. The request of a closed incident still reaches its end.

If a request is refused​

A request can be refused on its way to admin.qubix.pro. The block then shows the message in red and the send button again.

Message
The licence of this server holds no rented server.
The Qubix licence is revoked. Open my.qubix.pro.
The Qubix licence is frozen. Open my.qubix.pro.
The licensing server knows this server under another fingerprint; the Qubix agent closes the request.
Three requests went today; try again later.
A request of this kind is already open.
Choose the time of works.
Choose another time of works.
admin.qubix.pro did not accept the request.
The request lacks data.
The text of the answer was not accepted.
The request is in another state already — refresh the window.
admin.qubix.pro has no such request.
The template of the letter changed — send the request again.
The number of the request is taken — send the request again.

A refusal of another kind reads admin.qubix.pro declined the request. Send it again later.

Some answers resolve on their own. When the way to admin.qubix.pro fails, the answer is one of Passing requests on is not set up at Qubix yet; try again later., The way to admin.qubix.pro is unavailable now; try again later., admin.qubix.pro is busy; try again later., admin.qubix.pro failed; try again later., The way to admin.qubix.pro failed; try again later. or The Qubix licensing server did not take the request; try again later., and the block shows the row Request with the text The request goes as soon as the Qubix licensing server answers., and Qubix repeats the request every 5 minutes until the service answers. When the template of the letter changed between the two steps of sending, Qubix repeats the pair of steps once with the same data.

Answers of the panel's server​

MessageWhen it appears
"This incident is handled on the server; it leads to no request to Hetzner."An agreement arrives for an incident outside the table of requests
"The incident is closed."The incident closed before the click
"The consent to this request is given already."A second agreement arrives for the same request
"The request goes on without waiting for a backup."A button of the backup, or Withdraw consent, is pressed when the request has left the waiting stage or the agreement is missing
"The request is being sent to admin.qubix.pro. You can cancel it once the answer comes."Withdraw consent arrives while the request goes out
"The request is with the rental service already — cancel it with «Cancel the request»."Withdraw consent arrives after the request reached admin.qubix.pro
"Hetzner shuts the server down for the works — choose the time."The agreement arrives although the request needs a time
"The time of works is an hour or longer."The time of works lasts less than an hour
"Choose a time of works ahead."The time of works has begun or passed

What's next​