Move to 3.2 from the earlier Center: reference
This page is for moving from the earlier Center: the management VM has the vStack-control-pane package. "Step N" on this page is a step of the Steps page.
Troubleshooting
Node, pool moves and VM start
The kernel, boot, NVMe-oF targets and SPDK memory on the node — Upgrade a 3.0, 3.1 or 3.2.0 node to 3.2.6, "Troubleshooting".
| What you see | What to do |
|---|---|
A VM runs on two nodes at once: two bhyve: <id> processes, dupcheck.sh shows a duplicate | Do nothing with the VM and contact vStack support right away: two copies write to the same disk — View the cluster state on a node |
Moving a pool: cannot export 'zNN': pool is busy | While the pool is running, use the command below to see which pool volumes the NVMe-oF target holds. For each VM in the list, run vstack-vm vm --unshare --id=<id>, then stop the pool again |
ccrd_cli … --command stop returned ZMQ socket error, start returned service is already running on node <N>; the status shows STOPPED at node: 1024 | Wait for STOPPED in ccrd_cli --service --command status, then run start on the destination node. If the pool is already stopped, the VMs of the pool are down — do not delay |
Starting a VM: VM does not exist or -5, although the VM directory exists in the pool | Make sure that the VM is not running anywhere. Create the state link ln -s /pools/<zNN>/.vm_V4/<9-digit id>/vm.json /pools/<zNN>/.vm_V4_state/<id>.state and start the VM |
Mass start after moving a pool: some VMs respond with -452 Remote … attach error | While the earlier Center runs, start them without node_id. After the Center upgrade, start them in batches of 3–5 VMs; start the failed ones one at a time, preferably on the node that owns the pool |
/var/log/vstack_nvmf_initiator.log grows by tens of MB per second (IOCTL error / Unknown gctl_cmd: 0), suspending a VM on the node does not finish | Clear the log right away: : > /var/log/vstack_nvmf_initiator.log. Do not restart the initiator until the pool VMs that run on other nodes are moved to the pool's node. Contact support |
-461 | The VM is already running on another node: check dupcheck.sh and do not start it a second time |
A Windows VM does not shut down either normally or with hard_timeout: 600; the VM console shows the "Install Windows: The computer restarted unexpectedly… Windows installation cannot proceed" window | Re-create the VM. Do not shut down Windows VMs during the initial installation |
The command for the pool is busy row — on the node, in sh; the VM number is the 9 digits in the .vm_V4/<id>/ path:
fstat -p $(pgrep -f '^/usr/local/bin/(spdk|nvmf)_tgt' | head -1) | grep zvol/zNN
Center, VMs and routers
| What you see | What to do |
|---|---|
A Linux VM did not boot after a restart: the VM console shows dracut:/# | The guest has no NVMe driver — step 6. Contact vStack support |
A router did not boot: Mounting from ufs:/dev/gpt/root failed with error 19, the console shows the mountroot> prompt | The router is on the v7 image: run edge-reimage.sh with its number — step 33. The script stops the router by itself |
-460 at start, -15152 at resume | Start the VM on the node of its pool — with the node_id of the node that owns the pool |
-459 | The Windows VM has not finished its first setup: start it on the node of its pool |
| After the Center upgrade, the nodes are missing from the message broker | Steps 27–31 |
rabbitmqctl as root: unable to perform an operation on node, rabbit.log shows Invalid challenge reply | Run it like this: env HOME=/var/db/rabbitmq rabbitmqctl … |
| Node metrics disappeared after the node upgrade | This is expected until the nodes move to the new Center (step 28). The path line in [[inputs.smart]] — step 1a of the Upgrade a 3.0, 3.1 or 3.2.0 node to 3.2.6 page |
No VM metrics, bhyve_cpu arrives only from some nodes | Step 29 |
VM metrics arrive with a delay, the log shows Feed took … overrun | A known limitation |
influxd was killed by the kernel (was killed: failed to reclaim memory) | service influxd start; for checks, query only last() for one measurement over the last few minutes |
cluster.log on all nodes shows zfs_metrics ### error post data: HTTP 400 … field "alloc" … integer, already exists as type float | It goes away by itself when the weekly InfluxDB shard changes — ignore it |
| A new VM from an image in the "Linux images without the NVMe driver" section does not boot | See the first row of this table; hide the image in the external system (step 13) |
A VM from an external system is not created; Center returns -253 Bad param os_profile value | Step 26 |
A Windows VM does not boot: the INACCESSIBLE_BOOT_DEVICE blue screen | Contact vStack support |
The router booted after the move (the console shows ci-info with addresses) but does not connect to Center; the console shows a pkg timeout to https://mgmtvm.…/packages/… | From the management VM, check ping to the router address in the router service network. No response — check this network (its VXLAN) between the router's node and the management VM's node |
edge-reimage.sh skipped a router: target snapshot … not found | The pool has no v8 image — step 12 |
| Creating a router in the web interface or through the API fails, and the router is not created | Step 24: add the v8 router profile |
Not errors, ignore them: before window B — Nodeside on-timer: unknown type capacity and unknown type snap_sizes in the dispatcher log of the earlier Center; [IPMI] ipmitool sdr timed out once a minute on each node; node-software: can't match pkg version in the dispatcher log; favicon.ico in the angie log.
Update script exit codes
Node update script
The script writes the code to update.rc and the cause to the last ERROR lines of the /root/upgrade-326/update.log log. You can reboot the node only with code 0, or with code 8 and a single ERROR line about swap; with any other code, stop and do not reboot the node. For the meaning of the codes, see Upgrade a 3.0, 3.1 or 3.2.0 node to 3.2.6, "Update script exit codes".
Center update script
The mgmtvm-update.sh codes and what to do — Move to 3.2 with Center 3.0.3–3.2.0, "Center update script exit codes". Code 10 when you get the settings drafts (step 20) is expected.
Linux images without the NVMe driver
After the Center upgrade, VMs from these images do not boot without the nvme driver in the initramfs. You add the driver in step 6.
| Image | zvol (.vm_images/…) | Profile number |
|---|---|---|
| Oracle Linux 8.6 v2 | OracleLinux-8.6-x86_64-v2 | 3009 |
| Oracle Linux 8.6 | OracleLinux-8.6-x86_64-v0 | 1039 |
| Oracle Linux 8.5 | vStack-OracleLinux-8.5-x86_64-v0 | 1035 |
| Oracle Linux 8.3 | vStack-OracleLinux-8.3-x86_64-v0 | 1028 |
| Oracle Linux 9.1 | OracleLinux-9.1-x86_64-v0 | 3021 |
| Oracle Linux 9.0 | OracleLinux-9.0-x86_64-v0 | 3008 |
| CentOS 7.9 v1 | vStack-CentOS-7.9-x86_64-v1 | 1025 |
| CentOS 8.3 v0 | vStack-CentOS-8.3-x86_64-v0 | 1022 |
| AlmaLinux 8.7 v0 | vStack-almalinux-8.7-v0 | 3032 |
| AlmaLinux 10.1 v0 | AlmaLinux-10.1-amd64-v0 | 5006 |
| RED OS 7.3.2 | vStack-RedOS-7.3-x86_64-v2 | 3051 |
| CentOS 7.7 (NoCloud) | vStack-CentOS-7-x86_64-cloud.raw | 4 |
| cloud-CentOS-7 (NoCloud) | vStack-CentOS-packer-x86_64.raw | 4 |
| CentOS 8.2 (NoCloud) | vStack-CentOS-8.2-x86_64-v0.raw | 7 |
| cloud-CentOS-8.1 (NoCloud) | vStack-CentOS-8.1-x86_64-v1.raw | 6 |
The profile number is vm.os_profile.id before the Center upgrade and deprecated_id in Center 3.2. Numbers 4, 6 and 7 mean different images on different clusters: compare by zvol.
After the Center upgrade, a new VM gets an NVMe disk right away, including a Windows VM. Hide the images from the table and the v7 router in the external systems — step 13.
Routers
A router on the vStack-edge-13.0-v7 image (profile 102) is moved to vStack-edge-13.0-v8 (profile 105) with the edge-reimage.sh script — step 33.
The v8 image: https://repo.vstack.com/images/edge-13.0/edge-13.0-v1.zfs, SHA-256 fd27164755d8bfa44a1acf5c252d8de32ae5f07dc670921c62896151b93f93a9; it contains vStack-edge-13.0-v8@.clone.source_1750000000.
Limitations
VMs with NoCloud guest customization (guest_customization = 1) on another node, not on the node of their pool, do not get the settings disk and remain without network.
Rollback
Nodes and fabric pre-configuration
| Where it broke | What to do |
|---|---|
| fabric pre-configuration before the rolling upgrade of the nodes (step 7) | On each node, restore the copies: /usr/local/etc/ccrd/config.json.pre-nvmf to /usr/local/etc/ccrd/config.json and the earliest /boot/loader.conf.local.pre-contigmem-* to /boot/loader.conf.local. You can leave the fabric VLAN. The node has not rebooted yet, so no reboot is needed |
| a node before the reboot (step 16: steps 7–8b of the "Upgrade a 3.0, 3.1 or 3.2.0 node to 3.2.6" page) | Do not reboot the node and do not return it to the cluster (do not run enable); investigate together with vStack support |
| a node after the reboot | Do not return the node to operation on the previous kernel. Restore it together with support, from the configuration copy from step 8 |
Center, routers and fabric
| Where it broke | What to do |
|---|---|
| Center before step 23 | Center has not changed. Remove the Center key from the nodes: cp -p /root/.ssh/authorized_keys.pre-center32 /root/.ssh/authorized_keys; delete the snapshots from step 22 |
| Center in steps 23–28 | Roll back with snapshots — below. If the external systems are already moved to UUIDs (step 26), return the previous numbers to them |
| after step 28 | You can return the node configuration only together with support, from the copy from step 8. By default, errors are fixed forward |
| a router (step 33) | below, "Router" |
| enabling the fabric (step 35) | below, "Fabric" |
Center with snapshots
If the management VM responds, first copy /var/log/mgmtvm-update.log and /var/log/vstack_center.log from it. Then, on the workstation:
ssh root@<OWN> 'sh -s' <<'EOF'
vstack-vm vm --stop --id=0
while pgrep -qf '^bhyve: 0$'; do sleep 5; done; echo stopped
V=$(zfs list -H -o name -t filesystem,volume | grep '/.vm_V4/000000000$')
test -s /root/mgmtvm-volumes.txt || { echo "no volume list — STOP"; exit 1; }
for t in $(cat /root/mgmtvm-volumes.txt); do zfs list -H -t snapshot -o name $t@pre-center32 >/dev/null || { echo "no snapshot $t"; exit 1; }; done
for t in $(cat /root/mgmtvm-volumes.txt); do zfs rollback $t@pre-center32 || { echo "FAIL $t"; exit 1; }; done; echo rollback-OK
vstack-vm vm --start --id=0
EOF
Expected result: rollback-OK; then the web interface of the earlier Center opens. After that, remove the Center key from the nodes — the "Center before step 23" row of the table above.
If not: there is no rollback-OK — stop: do not start the management VM, and contact vStack support.
Router
edge-reimage.sh keeps the previous boot disk of the router next to the new one, under the name <pool>/.vm_V4/<9 digits>/disk_000000000.pre-<time>. The previous v7 image does not boot from an NVMe disk, so you roll back a router together with vStack support.
Fabric
To roll back Internal Fabric, see Enable Internal Fabric, "Rollback". The memory for SPDK is released at the next reboot of the node; until then, it stays reserved. Reboot the nodes one at a time, draining each one — Drain a node before maintenance.