Skip to content

native (brand=joyent) zone in state=incomplete: vmadm delete hangs #1167

@mounty1

Description

@mounty1

SmartOS 20250918T000550Z

[root@cortex ~]# vmadm get ecc5d57a-3d90-44ca-a89b-8869a120487d
{
"zonename": "ecc5d57a-3d90-44ca-a89b-8869a120487d",
"autoboot": false,
"brand": "joyent",
"limit_priv": "default",
"v": 1,
"create_timestamp": "2025-11-08T09:38:33.162Z",
"image_uuid": "7c4e57a9-1273-40e2-8fcc-569fbbaf6d53",
"cpu_shares": 100,
"max_lwps": 2000,
"max_msg_ids": 4096,
"max_sem_ids": 4096,
"max_shm_ids": 4096,
"max_shm_memory": 1024,
"zfs_io_priority": 100,
"max_physical_memory": 1024,
"max_locked_memory": 1024,
"max_swap": 1024,
"billing_id": "00000000-0000-0000-0000-000000000000",
"owner_uuid": "00000000-0000-0000-0000-000000000000",
"tmpfs": 1024,
"hostname": "imap",
"dns_domain": "landcroft.net",
"resolvers": [
"192.168.1.254"
],
"alias": "IMAP",
"nics": [
{
"interface": "net0",
"mac": "92:8c:af:2b:32:e1",
"nic_tag": "admin",
"ip": "dhcp",
"ips": [
"dhcp"
],
"primary": true
}
],
"datasets": [
"zones/ecc5d57a-3d90-44ca-a89b-8869a120487d/data"
],
"uuid": "ecc5d57a-3d90-44ca-a89b-8869a120487d",
"zone_state": "incomplete",
"zonepath": "/zones/ecc5d57a-3d90-44ca-a89b-8869a120487d",
"hvm": false,
"zoneid": null,
"zonedid": 25,
"last_modified": "2025-11-20T12:26:59.000Z",
"exit_status": 0,
"exit_timestamp": "2025-11-12T10:14:01.203Z",
"firewall_enabled": false,
"server_uuid": "37353236-3837-434e-3736-30373030475a",
"platform_buildstamp": "20250918T000550Z",
"state": "incomplete",
"customer_metadata": {
"root_authorized_keys": "ssh-rsa blah blah blah"
},
"internal_metadata": {},
"routes": {},
"tags": {},
"quota": 4,
"zfs_root_recsize": 131072,
"zfs_filesystem": "zones/ecc5d57a-3d90-44ca-a89b-8869a120487d",
"zpool": "zones",
"zfs_data_recsize": 131072,
"snapshots": []
}

The command vmadm delete ecc5d57a-3d90-44ca-a89b-8869a120487d -f (or without -f) hangs indefinitely.

There is another running instance based on the same image UUID=7c4e57a9-1273-40e2-8fcc-569fbbaf6d53 pkgbuild-lts 24.4.1

The ZFS filesystems under /zones still exist.

The host has been rebooted (several times) since the instance went to stage incomplete.

I can't think what other information might be relevant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions