Skip to content

Instantly share code, notes, and snippets.

@sbromberger
Created January 24, 2024 17:30
Show Gist options
  • Save sbromberger/e6adcff70ab7e6fd0410055cfde09e69 to your computer and use it in GitHub Desktop.
Save sbromberger/e6adcff70ab7e6fd0410055cfde09e69 to your computer and use it in GitHub Desktop.
time="2024-01-24T09:29:33-08:00" level=debug msg="Connecting to a local Incus over a Unix socket"
time="2024-01-24T09:29:33-08:00" level=debug msg="Sending request to Incus" etag= method=GET url="http://unix.socket/1.0"
time="2024-01-24T09:29:33-08:00" level=debug msg="Got response struct from Incus"
time="2024-01-24T09:29:33-08:00" level=debug msg="\n\t{\n\t\t\"config\": {\n\t\t\t\"core.https_address\": \"127.0.0.1:8443\"\n\t\t},\n\t\t\"api_extensions\": [\n\t\t\t\"storage_zfs_remove_snapshots\",\n\t\t\t\"container_host_shutdown_timeout\",\n\t\t\t\"container_stop_priority\",\n\t\t\t\"container_syscall_filtering\",\n\t\t\t\"auth_pki\",\n\t\t\t\"container_last_used_at\",\n\t\t\t\"etag\",\n\t\t\t\"patch\",\n\t\t\t\"usb_devices\",\n\t\t\t\"https_allowed_credentials\",\n\t\t\t\"image_compression_algorithm\",\n\t\t\t\"directory_manipulation\",\n\t\t\t\"container_cpu_time\",\n\t\t\t\"storage_zfs_use_refquota\",\n\t\t\t\"storage_lvm_mount_options\",\n\t\t\t\"network\",\n\t\t\t\"profile_usedby\",\n\t\t\t\"container_push\",\n\t\t\t\"container_exec_recording\",\n\t\t\t\"certificate_update\",\n\t\t\t\"container_exec_signal_handling\",\n\t\t\t\"gpu_devices\",\n\t\t\t\"container_image_properties\",\n\t\t\t\"migration_progress\",\n\t\t\t\"id_map\",\n\t\t\t\"network_firewall_filtering\",\n\t\t\t\"network_routes\",\n\t\t\t\"storage\",\n\t\t\t\"file_delete\",\n\t\t\t\"file_append\",\n\t\t\t\"network_dhcp_expiry\",\n\t\t\t\"storage_lvm_vg_rename\",\n\t\t\t\"storage_lvm_thinpool_rename\",\n\t\t\t\"network_vlan\",\n\t\t\t\"image_create_aliases\",\n\t\t\t\"container_stateless_copy\",\n\t\t\t\"container_only_migration\",\n\t\t\t\"storage_zfs_clone_copy\",\n\t\t\t\"unix_device_rename\",\n\t\t\t\"storage_lvm_use_thinpool\",\n\t\t\t\"storage_rsync_bwlimit\",\n\t\t\t\"network_vxlan_interface\",\n\t\t\t\"storage_btrfs_mount_options\",\n\t\t\t\"entity_description\",\n\t\t\t\"image_force_refresh\",\n\t\t\t\"storage_lvm_lv_resizing\",\n\t\t\t\"id_map_base\",\n\t\t\t\"file_symlinks\",\n\t\t\t\"container_push_target\",\n\t\t\t\"network_vlan_physical\",\n\t\t\t\"storage_images_delete\",\n\t\t\t\"container_edit_metadata\",\n\t\t\t\"container_snapshot_stateful_migration\",\n\t\t\t\"storage_driver_ceph\",\n\t\t\t\"storage_ceph_user_name\",\n\t\t\t\"resource_limits\",\n\t\t\t\"storage_volatile_initial_source\",\n\t\t\t\"storage_ceph_force_osd_reuse\",\n\t\t\t\"storage_block_filesystem_btrfs\",\n\t\t\t\"resources\",\n\t\t\t\"kernel_limits\",\n\t\t\t\"storage_api_volume_rename\",\n\t\t\t\"network_sriov\",\n\t\t\t\"console\",\n\t\t\t\"restrict_dev_incus\",\n\t\t\t\"migration_pre_copy\",\n\t\t\t\"infiniband\",\n\t\t\t\"dev_incus_events\",\n\t\t\t\"proxy\",\n\t\t\t\"network_dhcp_gateway\",\n\t\t\t\"file_get_symlink\",\n\t\t\t\"network_leases\",\n\t\t\t\"unix_device_hotplug\",\n\t\t\t\"storage_api_local_volume_handling\",\n\t\t\t\"operation_description\",\n\t\t\t\"clustering\",\n\t\t\t\"event_lifecycle\",\n\t\t\t\"storage_api_remote_volume_handling\",\n\t\t\t\"nvidia_runtime\",\n\t\t\t\"container_mount_propagation\",\n\t\t\t\"container_backup\",\n\t\t\t\"dev_incus_images\",\n\t\t\t\"container_local_cross_pool_handling\",\n\t\t\t\"proxy_unix\",\n\t\t\t\"proxy_udp\",\n\t\t\t\"clustering_join\",\n\t\t\t\"proxy_tcp_udp_multi_port_handling\",\n\t\t\t\"network_state\",\n\t\t\t\"proxy_unix_dac_properties\",\n\t\t\t\"container_protection_delete\",\n\t\t\t\"unix_priv_drop\",\n\t\t\t\"pprof_http\",\n\t\t\t\"proxy_haproxy_protocol\",\n\t\t\t\"network_hwaddr\",\n\t\t\t\"proxy_nat\",\n\t\t\t\"network_nat_order\",\n\t\t\t\"container_full\",\n\t\t\t\"backup_compression\",\n\t\t\t\"nvidia_runtime_config\",\n\t\t\t\"storage_api_volume_snapshots\",\n\t\t\t\"storage_unmapped\",\n\t\t\t\"projects\",\n\t\t\t\"network_vxlan_ttl\",\n\t\t\t\"container_incremental_copy\",\n\t\t\t\"usb_optional_vendorid\",\n\t\t\t\"snapshot_scheduling\",\n\t\t\t\"snapshot_schedule_aliases\",\n\t\t\t\"container_copy_project\",\n\t\t\t\"clustering_server_address\",\n\t\t\t\"clustering_image_replication\",\n\t\t\t\"container_protection_shift\",\n\t\t\t\"snapshot_expiry\",\n\t\t\t\"container_backup_override_pool\",\n\t\t\t\"snapshot_expiry_creation\",\n\t\t\t\"network_leases_location\",\n\t\t\t\"resources_cpu_socket\",\n\t\t\t\"resources_gpu\",\n\t\t\t\"resources_numa\",\n\t\t\t\"kernel_features\",\n\t\t\t\"id_map_current\",\n\t\t\t\"event_location\",\n\t\t\t\"storage_api_remote_volume_snapshots\",\n\t\t\t\"network_nat_address\",\n\t\t\t\"container_nic_routes\",\n\t\t\t\"cluster_internal_copy\",\n\t\t\t\"seccomp_notify\",\n\t\t\t\"lxc_features\",\n\t\t\t\"container_nic_ipvlan\",\n\t\t\t\"network_vlan_sriov\",\n\t\t\t\"storage_cephfs\",\n\t\t\t\"container_nic_ipfilter\",\n\t\t\t\"resources_v2\",\n\t\t\t\"container_exec_user_group_cwd\",\n\t\t\t\"container_syscall_intercept\",\n\t\t\t\"container_disk_shift\",\n\t\t\t\"storage_shifted\",\n\t\t\t\"resources_infiniband\",\n\t\t\t\"daemon_storage\",\n\t\t\t\"instances\",\n\t\t\t\"image_types\",\n\t\t\t\"resources_disk_sata\",\n\t\t\t\"clustering_roles\",\n\t\t\t\"images_expiry\",\n\t\t\t\"resources_network_firmware\",\n\t\t\t\"backup_compression_algorithm\",\n\t\t\t\"ceph_data_pool_name\",\n\t\t\t\"container_syscall_intercept_mount\",\n\t\t\t\"compression_squashfs\",\n\t\t\t\"container_raw_mount\",\n\t\t\t\"container_nic_routed\",\n\t\t\t\"container_syscall_intercept_mount_fuse\",\n\t\t\t\"container_disk_ceph\",\n\t\t\t\"virtual-machines\",\n\t\t\t\"image_profiles\",\n\t\t\t\"clustering_architecture\",\n\t\t\t\"resources_disk_id\",\n\t\t\t\"storage_lvm_stripes\",\n\t\t\t\"vm_boot_priority\",\n\t\t\t\"unix_hotplug_devices\",\n\t\t\t\"api_filtering\",\n\t\t\t\"instance_nic_network\",\n\t\t\t\"clustering_sizing\",\n\t\t\t\"firewall_driver\",\n\t\t\t\"projects_limits\",\n\t\t\t\"container_syscall_intercept_hugetlbfs\",\n\t\t\t\"limits_hugepages\",\n\t\t\t\"container_nic_routed_gateway\",\n\t\t\t\"projects_restrictions\",\n\t\t\t\"custom_volume_snapshot_expiry\",\n\t\t\t\"volume_snapshot_scheduling\",\n\t\t\t\"trust_ca_certificates\",\n\t\t\t\"snapshot_disk_usage\",\n\t\t\t\"clustering_edit_roles\",\n\t\t\t\"container_nic_routed_host_address\",\n\t\t\t\"container_nic_ipvlan_gateway\",\n\t\t\t\"resources_usb_pci\",\n\t\t\t\"resources_cpu_threads_numa\",\n\t\t\t\"resources_cpu_core_die\",\n\t\t\t\"api_os\",\n\t\t\t\"container_nic_routed_host_table\",\n\t\t\t\"container_nic_ipvlan_host_table\",\n\t\t\t\"container_nic_ipvlan_mode\",\n\t\t\t\"resources_system\",\n\t\t\t\"images_push_relay\",\n\t\t\t\"network_dns_search\",\n\t\t\t\"container_nic_routed_limits\",\n\t\t\t\"instance_nic_bridged_vlan\",\n\t\t\t\"network_state_bond_bridge\",\n\t\t\t\"usedby_consistency\",\n\t\t\t\"custom_block_volumes\",\n\t\t\t\"clustering_failure_domains\",\n\t\t\t\"resources_gpu_mdev\",\n\t\t\t\"console_vga_type\",\n\t\t\t\"projects_limits_disk\",\n\t\t\t\"network_type_macvlan\",\n\t\t\t\"network_type_sriov\",\n\t\t\t\"container_syscall_intercept_bpf_devices\",\n\t\t\t\"network_type_ovn\",\n\t\t\t\"projects_networks\",\n\t\t\t\"projects_networks_restricted_uplinks\",\n\t\t\t\"custom_volume_backup\",\n\t\t\t\"backup_override_name\",\n\t\t\t\"storage_rsync_compression\",\n\t\t\t\"network_type_physical\",\n\t\t\t\"network_ovn_external_subnets\",\n\t\t\t\"network_ovn_nat\",\n\t\t\t\"network_ovn_external_routes_remove\",\n\t\t\t\"tpm_device_type\",\n\t\t\t\"storage_zfs_clone_copy_rebase\",\n\t\t\t\"gpu_mdev\",\n\t\t\t\"resources_pci_iommu\",\n\t\t\t\"resources_network_usb\",\n\t\t\t\"resources_disk_address\",\n\t\t\t\"network_physical_ovn_ingress_mode\",\n\t\t\t\"network_ovn_dhcp\",\n\t\t\t\"network_physical_routes_anycast\",\n\t\t\t\"projects_limits_instances\",\n\t\t\t\"network_state_vlan\",\n\t\t\t\"instance_nic_bridged_port_isolation\",\n\t\t\t\"instance_bulk_state_change\",\n\t\t\t\"network_gvrp\",\n\t\t\t\"instance_pool_move\",\n\t\t\t\"gpu_sriov\",\n\t\t\t\"pci_device_type\",\n\t\t\t\"storage_volume_state\",\n\t\t\t\"network_acl\",\n\t\t\t\"migration_stateful\",\n\t\t\t\"disk_state_quota\",\n\t\t\t\"storage_ceph_features\",\n\t\t\t\"projects_compression\",\n\t\t\t\"projects_images_remote_cache_expiry\",\n\t\t\t\"certificate_project\",\n\t\t\t\"network_ovn_acl\",\n\t\t\t\"projects_images_auto_update\",\n\t\t\t\"projects_restricted_cluster_target\",\n\t\t\t\"images_default_architecture\",\n\t\t\t\"network_ovn_acl_defaults\",\n\t\t\t\"gpu_mig\",\n\t\t\t\"project_usage\",\n\t\t\t\"network_bridge_acl\",\n\t\t\t\"warnings\",\n\t\t\t\"projects_restricted_backups_and_snapshots\",\n\t\t\t\"clustering_join_token\",\n\t\t\t\"clustering_description\",\n\t\t\t\"server_trusted_proxy\",\n\t\t\t\"clustering_update_cert\",\n\t\t\t\"storage_api_project\",\n\t\t\t\"server_instance_driver_operational\",\n\t\t\t\"server_supported_storage_drivers\",\n\t\t\t\"event_lifecycle_requestor_address\",\n\t\t\t\"resources_gpu_usb\",\n\t\t\t\"clustering_evacuation\",\n\t\t\t\"network_ovn_nat_address\",\n\t\t\t\"network_bgp\",\n\t\t\t\"network_forward\",\n\t\t\t\"custom_volume_refresh\",\n\t\t\t\"network_counters_errors_dropped\",\n\t\t\t\"metrics\",\n\t\t\t\"image_source_project\",\n\t\t\t\"clustering_config\",\n\t\t\t\"network_peer\",\n\t\t\t\"linux_sysctl\",\n\t\t\t\"network_dns\",\n\t\t\t\"ovn_nic_acceleration\",\n\t\t\t\"certificate_self_renewal\",\n\t\t\t\"instance_project_move\",\n\t\t\t\"storage_volume_project_move\",\n\t\t\t\"cloud_init\",\n\t\t\t\"network_dns_nat\",\n\t\t\t\"database_leader\",\n\t\t\t\"instance_all_projects\",\n\t\t\t\"clustering_groups\",\n\t\t\t\"ceph_rbd_du\",\n\t\t\t\"instance_get_full\",\n\t\t\t\"qemu_metrics\",\n\t\t\t\"gpu_mig_uuid\",\n\t\t\t\"event_project\",\n\t\t\t\"clustering_evacuation_live\",\n\t\t\t\"instance_allow_inconsistent_copy\",\n\t\t\t\"network_state_ovn\",\n\t\t\t\"storage_volume_api_filtering\",\n\t\t\t\"image_restrictions\",\n\t\t\t\"storage_zfs_export\",\n\t\t\t\"network_dns_records\",\n\t\t\t\"storage_zfs_reserve_space\",\n\t\t\t\"network_acl_log\",\n\t\t\t\"storage_zfs_blocksize\",\n\t\t\t\"metrics_cpu_seconds\",\n\t\t\t\"instance_snapshot_never\",\n\t\t\t\"certificate_token\",\n\t\t\t\"instance_nic_routed_neighbor_probe\",\n\t\t\t\"event_hub\",\n\t\t\t\"agent_nic_config\",\n\t\t\t\"projects_restricted_intercept\",\n\t\t\t\"metrics_authentication\",\n\t\t\t\"images_target_project\",\n\t\t\t\"cluster_migration_inconsistent_copy\",\n\t\t\t\"cluster_ovn_chassis\",\n\t\t\t\"container_syscall_intercept_sched_setscheduler\",\n\t\t\t\"storage_lvm_thinpool_metadata_size\",\n\t\t\t\"storage_volume_state_total\",\n\t\t\t\"instance_file_head\",\n\t\t\t\"instances_nic_host_name\",\n\t\t\t\"image_copy_profile\",\n\t\t\t\"container_syscall_intercept_sysinfo\",\n\t\t\t\"clustering_evacuation_mode\",\n\t\t\t\"resources_pci_vpd\",\n\t\t\t\"qemu_raw_conf\",\n\t\t\t\"storage_cephfs_fscache\",\n\t\t\t\"network_load_balancer\",\n\t\t\t\"vsock_api\",\n\t\t\t\"instance_ready_state\",\n\t\t\t\"network_bgp_holdtime\",\n\t\t\t\"storage_volumes_all_projects\",\n\t\t\t\"metrics_memory_oom_total\",\n\t\t\t\"storage_buckets\",\n\t\t\t\"storage_buckets_create_credentials\",\n\t\t\t\"metrics_cpu_effective_total\",\n\t\t\t\"projects_networks_restricted_access\",\n\t\t\t\"storage_buckets_local\",\n\t\t\t\"loki\",\n\t\t\t\"acme\",\n\t\t\t\"internal_metrics\",\n\t\t\t\"cluster_join_token_expiry\",\n\t\t\t\"remote_token_expiry\",\n\t\t\t\"init_preseed\",\n\t\t\t\"storage_volumes_created_at\",\n\t\t\t\"cpu_hotplug\",\n\t\t\t\"projects_networks_zones\",\n\t\t\t\"network_txqueuelen\",\n\t\t\t\"cluster_member_state\",\n\t\t\t\"instances_placement_scriptlet\",\n\t\t\t\"storage_pool_source_wipe\",\n\t\t\t\"zfs_block_mode\",\n\t\t\t\"instance_generation_id\",\n\t\t\t\"disk_io_cache\",\n\t\t\t\"amd_sev\",\n\t\t\t\"storage_pool_loop_resize\",\n\t\t\t\"migration_vm_live\",\n\t\t\t\"ovn_nic_nesting\",\n\t\t\t\"oidc\",\n\t\t\t\"network_ovn_l3only\",\n\t\t\t\"ovn_nic_acceleration_vdpa\",\n\t\t\t\"cluster_healing\",\n\t\t\t\"instances_state_total\",\n\t\t\t\"auth_user\",\n\t\t\t\"security_csm\",\n\t\t\t\"instances_rebuild\",\n\t\t\t\"numa_cpu_placement\",\n\t\t\t\"custom_volume_iso\",\n\t\t\t\"network_allocations\",\n\t\t\t\"zfs_delegate\",\n\t\t\t\"storage_api_remote_volume_snapshot_copy\",\n\t\t\t\"operations_get_query_all_projects\",\n\t\t\t\"metadata_configuration\",\n\t\t\t\"syslog_socket\",\n\t\t\t\"event_lifecycle_name_and_project\",\n\t\t\t\"instances_nic_limits_priority\",\n\t\t\t\"disk_initial_volume_configuration\",\n\t\t\t\"operation_wait\",\n\t\t\t\"image_restriction_privileged\",\n\t\t\t\"cluster_internal_custom_volume_copy\",\n\t\t\t\"disk_io_bus\",\n\t\t\t\"storage_cephfs_create_missing\",\n\t\t\t\"instance_move_config\",\n\t\t\t\"ovn_ssl_config\",\n\t\t\t\"certificate_description\"\n\t\t],\n\t\t\"api_status\": \"stable\",\n\t\t\"api_version\": \"1.0\",\n\t\t\"auth\": \"trusted\",\n\t\t\"public\": false,\n\t\t\"auth_methods\": [\n\t\t\t\"tls\"\n\t\t],\n\t\t\"auth_user_name\": \"root\",\n\t\t\"auth_user_method\": \"unix\",\n\t\t\"environment\": {\n\t\t\t\"addresses\": [\n\t\t\t\t\"127.0.0.1:8443\"\n\t\t\t],\n\t\t\t\"architectures\": [\n\t\t\t\t\"x86_64\",\n\t\t\t\t\"i686\"\n\t\t\t],\n\t\t\t\"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIICBzCCAYygAwIBAgIQa4V3FGzt08y29lV9S3KwGDAKBggqhkjOPQQDAzA0MRkw\\nFwYDVQQKExBMaW51eCBDb250YWluZXJzMRcwFQYDVQQDDA5yb290QGVsZW1lbnRh\\nbDAeFw0yMzEyMjQyMTEwMzVaFw0zMzEyMjEyMTEwMzVaMDQxGTAXBgNVBAoTEExp\\nbnV4IENvbnRhaW5lcnMxFzAVBgNVBAMMDnJvb3RAZWxlbWVudGFsMHYwEAYHKoZI\\nzj0CAQYFK4EEACIDYgAErg1k4z3hr8J9S5jRu8CxGfGBhtHQCrpZdIxNT1/0PVeL\\nk4mbxe652MT6Z6Jry+TpYXW8S2JjVCgrIICQ/RjV0CD2mvaaQOw+rZX0aBsIvIpT\\npjGCHpf/TPYioQ2zcV/Ho2MwYTAOBgNVHQ8BAf8EBAMCBaAwEwYDVR0lBAwwCgYI\\nKwYBBQUHAwEwDAYDVR0TAQH/BAIwADAsBgNVHREEJTAjggllbGVtZW50YWyHBH8A\\nAAGHEAAAAAAAAAAAAAAAAAAAAAEwCgYIKoZIzj0EAwMDaQAwZgIxAL7+zeM6Q67o\\nEldZ+gwSebdkKzbd4eO5lNRiKS3JJPF+rLN4M7x78/KWVY85rB14BQIxAI0GMNxe\\n2kNGI9GSQhqb9T+XwBlF+NDK/882eSATbSWGO+TPsU7l1bXPJxzQa+7Ohw==\\n-----END CERTIFICATE-----\\n\",\n\t\t\t\"certificate_fingerprint\": \"39423b473c678634216ed38e6b1d8de9b1f2838d7ba16f9c3a4568ecc5337c93\",\n\t\t\t\"driver\": \"lxc\",\n\t\t\t\"driver_version\": \"5.0.1\",\n\t\t\t\"firewall\": \"xtables\",\n\t\t\t\"kernel\": \"Linux\",\n\t\t\t\"kernel_architecture\": \"x86_64\",\n\t\t\t\"kernel_features\": {\n\t\t\t\t\"idmapped_mounts\": \"true\",\n\t\t\t\t\"netnsid_getifaddrs\": \"true\",\n\t\t\t\t\"seccomp_listener\": \"true\",\n\t\t\t\t\"seccomp_listener_continue\": \"true\",\n\t\t\t\t\"uevent_injection\": \"true\",\n\t\t\t\t\"unpriv_fscaps\": \"true\"\n\t\t\t},\n\t\t\t\"kernel_version\": \"6.6.11_1\",\n\t\t\t\"lxc_features\": {\n\t\t\t\t\"cgroup2\": \"true\",\n\t\t\t\t\"core_scheduling\": \"true\",\n\t\t\t\t\"devpts_fd\": \"true\",\n\t\t\t\t\"idmapped_mounts_v2\": \"true\",\n\t\t\t\t\"mount_injection_file\": \"true\",\n\t\t\t\t\"network_gateway_device_route\": \"true\",\n\t\t\t\t\"network_ipvlan\": \"true\",\n\t\t\t\t\"network_l2proxy\": \"true\",\n\t\t\t\t\"network_phys_macvlan_mtu\": \"true\",\n\t\t\t\t\"network_veth_router\": \"true\",\n\t\t\t\t\"pidfd\": \"true\",\n\t\t\t\t\"seccomp_allow_deny_syntax\": \"true\",\n\t\t\t\t\"seccomp_notify\": \"true\",\n\t\t\t\t\"seccomp_proxy_send_notify_fd\": \"true\"\n\t\t\t},\n\t\t\t\"os_name\": \"Void\",\n\t\t\t\"os_version\": \"\",\n\t\t\t\"project\": \"default\",\n\t\t\t\"server\": \"incus\",\n\t\t\t\"server_clustered\": false,\n\t\t\t\"server_event_mode\": \"full-mesh\",\n\t\t\t\"server_name\": \"elemental\",\n\t\t\t\"server_pid\": 832,\n\t\t\t\"server_version\": \"0.4\",\n\t\t\t\"storage\": \"dir\",\n\t\t\t\"storage_version\": \"1\",\n\t\t\t\"storage_supported_drivers\": [\n\t\t\t\t{\n\t\t\t\t\t\"Name\": \"dir\",\n\t\t\t\t\t\"Version\": \"1\",\n\t\t\t\t\t\"Remote\": false\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"Name\": \"lvm\",\n\t\t\t\t\t\"Version\": \"2.03.22(2) (2023-08-02) / 1.02.196 (2023-08-02) / 4.48.0\",\n\t\t\t\t\t\"Remote\": false\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"Name\": \"btrfs\",\n\t\t\t\t\t\"Version\": \"6.5.1\",\n\t\t\t\t\t\"Remote\": false\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}"
time="2024-01-24T09:29:33-08:00" level=debug msg="Sending request to Incus" etag= method=GET url="http://unix.socket/1.0/instances/testub"
time="2024-01-24T09:29:33-08:00" level=debug msg="Got response struct from Incus"
time="2024-01-24T09:29:33-08:00" level=debug msg="\n\t{\n\t\t\"architecture\": \"x86_64\",\n\t\t\"config\": {\n\t\t\t\"image.architecture\": \"amd64\",\n\t\t\t\"image.description\": \"Ubuntu lunar amd64 (20240124_07:42)\",\n\t\t\t\"image.os\": \"Ubuntu\",\n\t\t\t\"image.release\": \"lunar\",\n\t\t\t\"image.serial\": \"20240124_07:42\",\n\t\t\t\"image.type\": \"squashfs\",\n\t\t\t\"image.variant\": \"default\",\n\t\t\t\"volatile.base_image\": \"fbdad93147e9b4577fa22f623459ed27b722dae9e259352d7561506f4dcd577b\",\n\t\t\t\"volatile.cloud-init.instance-id\": \"9fd6de70-6b1c-4f6f-bfbd-f308bbdd5170\",\n\t\t\t\"volatile.eth0.hwaddr\": \"00:16:3e:3a:4f:c4\",\n\t\t\t\"volatile.idmap.base\": \"0\",\n\t\t\t\"volatile.idmap.current\": \"[{\\\"Isuid\\\":true,\\\"Isgid\\\":false,\\\"Hostid\\\":1000000,\\\"Nsid\\\":0,\\\"Maprange\\\":65536},{\\\"Isuid\\\":false,\\\"Isgid\\\":true,\\\"Hostid\\\":1000000,\\\"Nsid\\\":0,\\\"Maprange\\\":65536}]\",\n\t\t\t\"volatile.idmap.next\": \"[{\\\"Isuid\\\":true,\\\"Isgid\\\":false,\\\"Hostid\\\":1000000,\\\"Nsid\\\":0,\\\"Maprange\\\":65536},{\\\"Isuid\\\":false,\\\"Isgid\\\":true,\\\"Hostid\\\":1000000,\\\"Nsid\\\":0,\\\"Maprange\\\":65536}]\",\n\t\t\t\"volatile.last_state.idmap\": \"[]\",\n\t\t\t\"volatile.last_state.power\": \"STOPPED\",\n\t\t\t\"volatile.last_state.ready\": \"false\",\n\t\t\t\"volatile.uuid\": \"d2a2b3c9-bf7b-4d99-8aaa-e1b9f1228641\",\n\t\t\t\"volatile.uuid.generation\": \"d2a2b3c9-bf7b-4d99-8aaa-e1b9f1228641\"\n\t\t},\n\t\t\"devices\": {},\n\t\t\"ephemeral\": false,\n\t\t\"profiles\": [\n\t\t\t\"default\"\n\t\t],\n\t\t\"stateful\": false,\n\t\t\"description\": \"\",\n\t\t\"created_at\": \"2024-01-24T17:24:03.838633334Z\",\n\t\t\"expanded_config\": {\n\t\t\t\"image.architecture\": \"amd64\",\n\t\t\t\"image.description\": \"Ubuntu lunar amd64 (20240124_07:42)\",\n\t\t\t\"image.os\": \"Ubuntu\",\n\t\t\t\"image.release\": \"lunar\",\n\t\t\t\"image.serial\": \"20240124_07:42\",\n\t\t\t\"image.type\": \"squashfs\",\n\t\t\t\"image.variant\": \"default\",\n\t\t\t\"volatile.base_image\": \"fbdad93147e9b4577fa22f623459ed27b722dae9e259352d7561506f4dcd577b\",\n\t\t\t\"volatile.cloud-init.instance-id\": \"9fd6de70-6b1c-4f6f-bfbd-f308bbdd5170\",\n\t\t\t\"volatile.eth0.hwaddr\": \"00:16:3e:3a:4f:c4\",\n\t\t\t\"volatile.idmap.base\": \"0\",\n\t\t\t\"volatile.idmap.current\": \"[{\\\"Isuid\\\":true,\\\"Isgid\\\":false,\\\"Hostid\\\":1000000,\\\"Nsid\\\":0,\\\"Maprange\\\":65536},{\\\"Isuid\\\":false,\\\"Isgid\\\":true,\\\"Hostid\\\":1000000,\\\"Nsid\\\":0,\\\"Maprange\\\":65536}]\",\n\t\t\t\"volatile.idmap.next\": \"[{\\\"Isuid\\\":true,\\\"Isgid\\\":false,\\\"Hostid\\\":1000000,\\\"Nsid\\\":0,\\\"Maprange\\\":65536},{\\\"Isuid\\\":false,\\\"Isgid\\\":true,\\\"Hostid\\\":1000000,\\\"Nsid\\\":0,\\\"Maprange\\\":65536}]\",\n\t\t\t\"volatile.last_state.idmap\": \"[]\",\n\t\t\t\"volatile.last_state.power\": \"STOPPED\",\n\t\t\t\"volatile.last_state.ready\": \"false\",\n\t\t\t\"volatile.uuid\": \"d2a2b3c9-bf7b-4d99-8aaa-e1b9f1228641\",\n\t\t\t\"volatile.uuid.generation\": \"d2a2b3c9-bf7b-4d99-8aaa-e1b9f1228641\"\n\t\t},\n\t\t\"expanded_devices\": {\n\t\t\t\"eth0\": {\n\t\t\t\t\"name\": \"eth0\",\n\t\t\t\t\"nictype\": \"macvlan\",\n\t\t\t\t\"parent\": \"vlan2\",\n\t\t\t\t\"type\": \"nic\"\n\t\t\t},\n\t\t\t\"root\": {\n\t\t\t\t\"path\": \"/\",\n\t\t\t\t\"pool\": \"default\",\n\t\t\t\t\"type\": \"disk\"\n\t\t\t}\n\t\t},\n\t\t\"name\": \"testub\",\n\t\t\"status\": \"Stopped\",\n\t\t\"status_code\": 102,\n\t\t\"last_used_at\": \"2024-01-24T17:29:30.417001045Z\",\n\t\t\"location\": \"none\",\n\t\t\"type\": \"container\",\n\t\t\"project\": \"default\"\n\t}"
time="2024-01-24T09:29:33-08:00" level=debug msg="Connected to the websocket: ws://unix.socket/1.0/events"
time="2024-01-24T09:29:33-08:00" level=debug msg="Sending request to Incus" etag= method=PUT url="http://unix.socket/1.0/instances/testub/state"
time="2024-01-24T09:29:33-08:00" level=debug msg="\n\t{\n\t\t\"action\": \"start\",\n\t\t\"timeout\": 0,\n\t\t\"force\": false,\n\t\t\"stateful\": false\n\t}"
time="2024-01-24T09:29:33-08:00" level=debug msg="Got operation from Incus"
time="2024-01-24T09:29:33-08:00" level=debug msg="\n\t{\n\t\t\"id\": \"282179ea-551c-40ef-9b33-35fcd65fd7ce\",\n\t\t\"class\": \"task\",\n\t\t\"description\": \"Starting instance\",\n\t\t\"created_at\": \"2024-01-24T09:29:33.685046721-08:00\",\n\t\t\"updated_at\": \"2024-01-24T09:29:33.685046721-08:00\",\n\t\t\"status\": \"Running\",\n\t\t\"status_code\": 103,\n\t\t\"resources\": {\n\t\t\t\"instances\": [\n\t\t\t\t\"/1.0/instances/testub\"\n\t\t\t]\n\t\t},\n\t\t\"metadata\": null,\n\t\t\"may_cancel\": false,\n\t\t\"err\": \"\",\n\t\t\"location\": \"none\"\n\t}"
time="2024-01-24T09:29:33-08:00" level=debug msg="Sending request to Incus" etag= method=GET url="http://unix.socket/1.0/operations/282179ea-551c-40ef-9b33-35fcd65fd7ce"
time="2024-01-24T09:29:33-08:00" level=debug msg="Got response struct from Incus"
time="2024-01-24T09:29:33-08:00" level=debug msg="\n\t{\n\t\t\"id\": \"282179ea-551c-40ef-9b33-35fcd65fd7ce\",\n\t\t\"class\": \"task\",\n\t\t\"description\": \"Starting instance\",\n\t\t\"created_at\": \"2024-01-24T09:29:33.685046721-08:00\",\n\t\t\"updated_at\": \"2024-01-24T09:29:33.685046721-08:00\",\n\t\t\"status\": \"Running\",\n\t\t\"status_code\": 103,\n\t\t\"resources\": {\n\t\t\t\"instances\": [\n\t\t\t\t\"/1.0/instances/testub\"\n\t\t\t]\n\t\t},\n\t\t\"metadata\": null,\n\t\t\"may_cancel\": false,\n\t\t\"err\": \"\",\n\t\t\"location\": \"none\"\n\t}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment