turtle0x1 / LxdMosaic

Web interface to manage multiple instance of lxd
http://lxdmosaic.com
GNU General Public License v3.0
594 stars 61 forks source link

RockyLinux9 LxdMosaic VM snapshorts restore php error #551

Closed k9943004 closed 1 year ago

k9943004 commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior: snapshots -> Restore To Origin -> RESTORE LxdExceptionThower.php 47 error

Expected behavior

Screenshots

image

image

Desktop (please complete the following information):

Sever (please complete the following information):

Additional context During installation, refer to the following documents. https://www.golinuxcloud.com/install-lxd-rocky-linux-9/

It was restored normally through the cli command. [rsup@localhost /]$ lxc restore rocky8 rocky8-snap1

Details are as follows. [rsup@localhost /]$ lxc info rocky8 Name: rocky8 Status: RUNNING Type: virtual-machine Architecture: x86_64 PID: 184254 Created: 2022/11/30 15:37 KST Last Used: 2022/11/30 21:23 KST

Resources: Processes: 14 Disk usage: root: 4.55GiB CPU usage: CPU usage (in seconds): 859 Memory usage: Memory (current): 280.93MiB Memory (peak): 249.76MiB Network usage: enp5s0: Type: broadcast State: UP Host interface: tapfa1f1fc1 MAC address: 00:16:3e:33:fa:72 MTU: 1500 Bytes received: 1.70GB Bytes sent: 591.73kB Packets received: 14594404 Packets sent: 7786 IP addresses: inet: 192.168.30.5/16 (global) inet6: fe80::a5bb:50d3:28c0:fc97/64 (link) lo: Type: loopback State: UP MTU: 65536 Bytes received: 0B Bytes sent: 0B Packets received: 0 Packets sent: 0 IP addresses: inet: 127.0.0.1/8 (local) inet6: ::1/128 (local)

Snapshots: +--------------+----------------------+------------+----------+ | NAME | TAKEN AT | EXPIRES AT | STATEFUL | +--------------+----------------------+------------+----------+ | rocky8-snap1 | 2022/11/30 16:07 KST | | NO | +--------------+----------------------+------------+----------+

[rsup@localhost /]$ bridge link show 3: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master nm-bridge state forwarding priority 32 cost 100 22: veth4d8c3936@if21: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master nm-bridge state forwarding priority 32 cost 2 31: tap6f6b042d: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master nm-bridge state forwarding priority 32 cost 100 36: tapfa1f1fc1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master nm-bridge state forwarding priority 32 cost 100

[rsup@localhost /]$ lxc list +-------------+---------+-----------------------+------+-----------------+-----------+ | NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS | +-------------+---------+-----------------------+------+-----------------+-----------+ | rocky8 | RUNNING | 192.168.30.5 (enp5s0) | | VIRTUAL-MACHINE | 1 | +-------------+---------+-----------------------+------+-----------------+-----------+ | rocky8-copy | RUNNING | 192.168.30.6 (enp5s0) | | VIRTUAL-MACHINE | 1 | +-------------+---------+-----------------------+------+-----------------+-----------+ | rocky9 | RUNNING | 192.168.30.3 (eth0) | | CONTAINER | 0 | +-------------+---------+-----------------------+------+-----------------+-----------+ [rsup@localhost /]$ lxc network list +-----------+----------+---------+------+------+-------------+---------+-------+ | NAME | TYPE | MANAGED | IPV4 | IPV6 | DESCRIPTION | USED BY | STATE | +-----------+----------+---------+------+------+-------------+---------+-------+ | eno1 | physical | NO | | | | 0 | | +-----------+----------+---------+------+------+-------------+---------+-------+ | eno2 | physical | NO | | | | 0 | | +-----------+----------+---------+------+------+-------------+---------+-------+ | nm-bridge | bridge | NO | | | | 4 | | +-----------+----------+---------+------+------+-------------+---------+-------+ [rsup@localhost /]$

turtle0x1 commented 1 year ago

I cant duplicate this, is this in the default project? Are you logged in as admin?

Size being "Nan" is abit concerning, it could be an LXD bug as the API should return the correct size, be interested to see the API response.

k9943004 commented 1 year ago

my account is admin It works normally through the restore command.

[rsup@localhost /]$ lxc info rocky8-copy Name: rocky8-copy Status: RUNNING Type: virtual-machine Architecture: x86_64 PID: 167885 Created: 2022/11/30 16:55 KST Last Used: 2022/11/30 16:56 KST

Resources: Processes: 17 Disk usage: root: 4.55GiB CPU usage: CPU usage (in seconds): 917 Memory usage: Memory (current): 295.37MiB Memory (peak): 264.36MiB Network usage: enp5s0: Type: broadcast State: UP Host interface: tap6f6b042d MAC address: 00:16:3e:99:90:98 MTU: 1500 Bytes received: 1.83GB Bytes sent: 562.33kB Packets received: 15708749 Packets sent: 7264 IP addresses: inet: 192.168.30.6/16 (global) inet6: fe80::7ea7:9dbe:494a:453c/64 (link) lo: Type: loopback State: UP MTU: 65536 Bytes received: 0B Bytes sent: 0B Packets received: 0 Packets sent: 0 IP addresses: inet: 127.0.0.1/8 (local) inet6: ::1/128 (local)

Snapshots: +------------------+----------------------+------------+----------+ | NAME | TAKEN AT | EXPIRES AT | STATEFUL | +------------------+----------------------+------------+----------+ | rocky8-copy-snap | 2022/12/05 13:14 KST | | NO | +------------------+----------------------+------------+----------+ [rsup@localhost /]$ lxc restore rocky8-copy rocky8-copy-snap [rsup@localhost /]$

k9943004 commented 1 year ago

The version below is the same.

[root@LXD-server ~]# cat /etc/redhat-release Rocky Linux release 8.7 (Green Obsidian) [root@LXD-server ~]# lxd --version 5.8

Could you please tell me how to create a snapshot?

k9943004 commented 1 year ago

In case of error, lxd.log is attached.

/var/snap/lxd/common/lxd/logs/lxd.log

time="2022-12-05T17:06:38+09:00" level=debug msg="Handling API request" ip=@ method=GET protocol=unix url=/1.0 username=root time="2022-12-05T17:06:38+09:00" level=debug msg="WriteJSON\n\t{\n\t\t\"type\": \"sync\",\n\t\t\"status\": \"Success\",\n\t\t\"status_code\": 200,\n\t\t\"operation\": \"\",\n\t\t\"error_code\": 0,\n\t\t\"error\": \"\",\n\t\t\"metadata\": {\n\t\t\t\"config\": {\n\t\t\t\t\"core.https_address\": \"[::]\",\n\t\t\t\t\"core.trust_password\": true\n\t\t\t},\n\t\t\t\"api_extensions\": [\n\t\t\t\t\"storage_zfs_remove_snapshots\",\n\t\t\t\t\"container_host_shutdown_timeout\",\n\t\t\t\t\"container_stop_priority\",\n\t\t\t\t\"container_syscall_filtering\",\n\t\t\t\t\"auth_pki\",\n\t\t\t\t\"container_last_used_at\",\n\t\t\t\t\"etag\",\n\t\t\t\t\"patch\",\n\t\t\t\t\"usb_devices\",\n\t\t\t\t\"https_allowed_credentials\",\n\t\t\t\t\"image_compression_algorithm\",\n\t\t\t\t\"directory_manipulation\",\n\t\t\t\t\"container_cpu_time\",\n\t\t\t\t\"storage_zfs_use_refquota\",\n\t\t\t\t\"storage_lvm_mount_options\",\n\t\t\t\t\"network\",\n\t\t\t\t\"profile_usedby\",\n\t\t\t\t\"container_push\",\n\t\t\t\t\"container_exec_recording\",\n\t\t\t\t\"certificate_update\",\n\t\t\t\t\"container_exec_signal_handling\",\n\t\t\t\t\"gpu_devices\",\n\t\t\t\t\"container_image_properties\",\n\t\t\t\t\"migration_progress\",\n\t\t\t\t\"id_map\",\n\t\t\t\t\"network_firewall_filtering\",\n\t\t\t\t\"network_routes\",\n\t\t\t\t\"storage\",\n\t\t\t\t\"file_delete\",\n\t\t\t\t\"file_append\",\n\t\t\t\t\"network_dhcp_expiry\",\n\t\t\t\t\"storage_lvm_vg_rename\",\n\t\t\t\t\"storage_lvm_thinpool_rename\",\n\t\t\t\t\"network_vlan\",\n\t\t\t\t\"image_create_aliases\",\n\t\t\t\t\"container_stateless_copy\",\n\t\t\t\t\"container_only_migration\",\n\t\t\t\t\"storage_zfs_clone_copy\",\n\t\t\t\t\"unix_device_rename\",\n\t\t\t\t\"storage_lvm_use_thinpool\",\n\t\t\t\t\"storage_rsync_bwlimit\",\n\t\t\t\t\"network_vxlan_interface\",\n\t\t\t\t\"storage_btrfs_mount_options\",\n\t\t\t\t\"entity_description\",\n\t\t\t\t\"image_force_refresh\",\n\t\t\t\t\"storage_lvm_lv_resizing\",\n\t\t\t\t\"id_map_base\",\n\t\t\t\t\"file_symlinks\",\n\t\t\t\t\"container_push_target\",\n\t\t\t\t\"network_vlan_physical\",\n\t\t\t\t\"storage_images_delete\",\n\t\t\t\t\"container_edit_metadata\",\n\t\t\t\t\"container_snapshot_stateful_migration\",\n\t\t\t\t\"storage_driver_ceph\",\n\t\t\t\t\"storage_ceph_user_name\",\n\t\t\t\t\"resource_limits\",\n\t\t\t\t\"storage_volatile_initial_source\",\n\t\t\t\t\"storage_ceph_force_osd_reuse\",\n\t\t\t\t\"storage_block_filesystem_btrfs\",\n\t\t\t\t\"resources\",\n\t\t\t\t\"kernel_limits\",\n\t\t\t\t\"storage_api_volume_rename\",\n\t\t\t\t\"macaroon_authentication\",\n\t\t\t\t\"network_sriov\",\n\t\t\t\t\"console\",\n\t\t\t\t\"restrict_devlxd\",\n\t\t\t\t\"migration_pre_copy\",\n\t\t\t\t\"infiniband\",\n\t\t\t\t\"maas_network\",\n\t\t\t\t\"devlxd_events\",\n\t\t\t\t\"proxy\",\n\t\t\t\t\"network_dhcp_gateway\",\n\t\t\t\t\"file_get_symlink\",\n\t\t\t\t\"network_leases\",\n\t\t\t\t\"unix_device_hotplug\",\n\t\t\t\t\"storage_api_local_volume_handling\",\n\t\t\t\t\"operation_description\",\n\t\t\t\t\"clustering\",\n\t\t\t\t\"event_lifecycle\",\n\t\t\t\t\"storage_api_remote_volume_handling\",\n\t\t\t\t\"nvidia_runtime\",\n\t\t\t\t\"container_mount_propagation\",\n\t\t\t\t\"container_backup\",\n\t\t\t\t\"devlxd_images\",\n\t\t\t\t\"container_local_cross_pool_handling\",\n\t\t\t\t\"proxy_unix\",\n\t\t\t\t\"proxy_udp\",\n\t\t\t\t\"clustering_join\",\n\t\t\t\t\"proxy_tcp_udp_multi_port_handling\",\n\t\t\t\t\"network_state\",\n\t\t\t\t\"proxy_unix_dac_properties\",\n\t\t\t\t\"container_protection_delete\",\n\t\t\t\t\"unix_priv_drop\",\n\t\t\t\t\"pprof_http\",\n\t\t\t\t\"proxy_haproxy_protocol\",\n\t\t\t\t\"network_hwaddr\",\n\t\t\t\t\"proxy_nat\",\n\t\t\t\t\"network_nat_order\",\n\t\t\t\t\"container_full\",\n\t\t\t\t\"candid_authentication\",\n\t\t\t\t\"backup_compression\",\n\t\t\t\t\"candid_config\",\n\t\t\t\t\"nvidia_runtime_config\",\n\t\t\t\t\"storage_api_volume_snapshots\",\n\t\t\t\t\"storage_unmapped\",\n\t\t\t\t\"projects\",\n\t\t\t\t\"candid_config_key\",\n\t\t\t\t\"network_vxlan_ttl\",\n\t\t\t\t\"container_incremental_copy\",\n\t\t\t\t\"usb_optional_vendorid\",\n\t\t\t\t\"snapshot_scheduling\",\n\t\t\t\t\"snapshot_schedule_aliases\",\n\t\t\t\t\"container_copy_project\",\n\t\t\t\t\"clustering_server_address\",\n\t\t\t\t\"clustering_image_replication\",\n\t\t\t\t\"container_protection_shift\",\n\t\t\t\t\"snapshot_expiry\",\n\t\t\t\t\"container_backup_override_pool\",\n\t\t\t\t\"snapshot_expiry_creation\",\n\t\t\t\t\"network_leases_location\",\n\t\t\t\t\"resources_cpu_socket\",\n\t\t\t\t\"resources_gpu\",\n\t\t\t\t\"resources_numa\",\n\t\t\t\t\"kernel_features\",\n\t\t\t\t\"id_map_current\",\n\t\t\t\t\"event_location\",\n\t\t\t\t\"storage_api_remote_volume_snapshots\",\n\t\t\t\t\"network_nat_address\",\n\t\t\t\t\"container_nic_routes\",\n\t\t\t\t\"rbac\",\n\t\t\t\t\"cluster_internal_copy\",\n\t\t\t\t\"seccomp_notify\",\n\t\t\t\t\"lxc_features\",\n\t\t\t\t\"container_nic_ipvlan\",\n\t\t\t\t\"network_vlan_sriov\",\n\t\t\t\t\"storage_cephfs\",\n\t\t\t\t\"container_nic_ipfilter\",\n\t\t\t\t\"resources_v2\",\n\t\t\t\t\"container_exec_user_group_cwd\",\n\t\t\t\t\"container_syscall_intercept\",\n\t\t\t\t\"container_disk_shift\",\n\t\t\t\t\"storage_shifted\",\n\t\t\t\t\"resources_infiniband\",\n\t\t\t\t\"daemon_storage\",\n\t\t\t\t\"instances\",\n\t\t\t\t\"image_types\",\n\t\t\t\t\"resources_disk_sata\",\n\t\t\t\t\"clustering_roles\",\n\t\t\t\t\"images_expiry\",\n\t\t\t\t\"resources_network_firmware\",\n\t\t\t\t\"backup_compression_algorithm\",\n\t\t\t\t\"ceph_data_pool_name\",\n\t\t\t\t\"container_syscall_intercept_mount\",\n\t\t\t\t\"compression_squashfs\",\n\t\t\t\t\"container_raw_mount\",\n\t\t\t\t\"container_nic_routed\",\n\t\t\t\t\"container_syscall_intercept_mount_fuse\",\n\t\t\t\t\"container_disk_ceph\",\n\t\t\t\t\"virtual-machines\",\n\t\t\t\t\"image_profiles\",\n\t\t\t\t\"clustering_architecture\",\n\t\t\t\t\"resources_disk_id\",\n\t\t\t\t\"storage_lvm_stripes\",\n\t\t\t\t\"vm_boot_priority\",\n\t\t\t\t\"unix_hotplug_devices\",\n\t\t\t\t\"api_filtering\",\n\t\t\t\t\"instance_nic_network\",\n\t\t\t\t\"clustering_sizing\",\n\t\t\t\t\"firewall_driver\",\n\t\t\t\t\"projects_limits\",\n\t\t\t\t\"container_syscall_intercept_hugetlbfs\",\n\t\t\t\t\"limits_hugepages\",\n\t\t\t\t\"container_nic_routed_gateway\",\n\t\t\t\t\"projects_restrictions\",\n\t\t\t\t\"custom_volume_snapshot_expiry\",\n\t\t\t\t\"volume_snapshot_scheduling\",\n\t\t\t\t\"trust_ca_certificates\",\n\t\t\t\t\"snapshot_disk_usage\",\n\t\t\t\t\"clustering_edit_roles\",\n\t\t\t\t\"container_nic_routed_host_address\",\n\t\t\t\t\"container_nic_ipvlan_gateway\",\n\t\t\t\t\"resources_usb_pci\",\n\t\t\t\t\"resources_cpu_threads_numa\",\n\t\t\t\t\"resources_cpu_core_die\",\n\t\t\t\t\"api_os\",\n\t\t\t\t\"container_nic_routed_host_table\",\n\t\t\t\t\"container_nic_ipvlan_host_table\",\n\t\t\t\t\"container_nic_ipvlan_mode\",\n\t\t\t\t\"resources_system\",\n\t\t\t\t\"images_push_relay\",\n\t\t\t\t\"network_dns_search\",\n\t\t\t\t\"container_nic_routed_limits\",\n\t\t\t\t\"instance_nic_bridged_vlan\",\n\t\t\t\t\"network_state_bond_bridge\",\n\t\t\t\t\"usedby_consistency\",\n\t\t\t\t\"custom_block_volumes\",\n\t\t\t\t\"clustering_failure_domains\",\n\t\t\t\t\"resources_gpu_mdev\",\n\t\t\t\t\"console_vga_type\",\n\t\t\t\t\"projects_limits_disk\",\n\t\t\t\t\"network_type_macvlan\",\n\t\t\t\t\"network_type_sriov\",\n\t\t\t\t\"container_syscall_intercept_bpf_devices\",\n\t\t\t\t\"network_type_ovn\",\n\t\t\t\t\"projects_networks\",\n\t\t\t\t\"projects_networks_restricted_uplinks\",\n\t\t\t\t\"custom_volume_backup\",\n\t\t\t\t\"backup_override_name\",\n\t\t\t\t\"storage_rsync_compression\",\n\t\t\t\t\"network_type_physical\",\n\t\t\t\t\"network_ovn_external_subnets\",\n\t\t\t\t\"network_ovn_nat\",\n\t\t\t\t\"network_ovn_external_routes_remove\",\n\t\t\t\t\"tpm_device_type\",\n\t\t\t\t\"storage_zfs_clone_copy_rebase\",\n\t\t\t\t\"gpu_mdev\",\n\t\t\t\t\"resources_pci_iommu\",\n\t\t\t\t\"resources_network_usb\",\n\t\t\t\t\"resources_disk_address\",\n\t\t\t\t\"network_physical_ovn_ingress_mode\",\n\t\t\t\t\"network_ovn_dhcp\",\n\t\t\t\t\"network_physical_routes_anycast\",\n\t\t\t\t\"projects_limits_instances\",\n\t\t\t\t\"network_state_vlan\",\n\t\t\t\t\"instance_nic_bridged_port_isolation\",\n\t\t\t\t\"instance_bulk_state_change\",\n\t\t\t\t\"network_gvrp\",\n\t\t\t\t\"instance_pool_move\",\n\t\t\t\t\"gpu_sriov\",\n\t\t\t\t\"pci_device_type\",\n\t\t\t\t\"storage_volume_state\",\n\t\t\t\t\"network_acl\",\n\t\t\t\t\"migration_stateful\",\n\t\t\t\t\"disk_state_quota\",\n\t\t\t\t\"storage_ceph_features\",\n\t\t\t\t\"projects_compression\",\n\t\t\t\t\"projects_images_remote_cache_expiry\",\n\t\t\t\t\"certificate_project\",\n\t\t\t\t\"network_ovn_acl\",\n\t\t\t\t\"projects_images_auto_update\",\n\t\t\t\t\"projects_restricted_cluster_target\",\n\t\t\t\t\"images_default_architecture\",\n\t\t\t\t\"network_ovn_acl_defaults\",\n\t\t\t\t\"gpu_mig\",\n\t\t\t\t\"project_usage\",\n\t\t\t\t\"network_bridge_acl\",\n\t\t\t\t\"warnings\",\n\t\t\t\t\"projects_restricted_backups_and_snapshots\",\n\t\t\t\t\"clustering_join_token\",\n\t\t\t\t\"clustering_description\",\n\t\t\t\t\"server_trusted_proxy\",\n\t\t\t\t\"clustering_update_cert\",\n\t\t\t\t\"storage_api_project\",\n\t\t\t\t\"server_instance_driver_operational\",\n\t\t\t\t\"server_supported_storage_drivers\",\n\t\t\t\t\"event_lifecycle_requestor_address\",\n\t\t\t\t\"resources_gpu_usb\",\n\t\t\t\t\"clustering_evacuation\",\n\t\t\t\t\"network_ovn_nat_address\",\n\t\t\t\t\"network_bgp\",\n\t\t\t\t\"network_forward\",\n\t\t\t\t\"custom_volume_refresh\",\n\t\t\t\t\"network_counters_errors_dropped\",\n\t\t\t\t\"metrics\",\n\t\t\t\t\"image_source_project\",\n\t\t\t\t\"clustering_config\",\n\t\t\t\t\"network_peer\",\n\t\t\t\t\"linux_sysctl\",\n\t\t\t\t\"network_dns\",\n\t\t\t\t\"ovn_nic_acceleration\",\n\t\t\t\t\"certificate_self_renewal\",\n\t\t\t\t\"instance_project_move\",\n\t\t\t\t\"storage_volume_project_move\",\n\t\t\t\t\"cloud_init\",\n\t\t\t\t\"network_dns_nat\",\n\t\t\t\t\"database_leader\",\n\t\t\t\t\"instance_all_projects\",\n\t\t\t\t\"clustering_groups\",\n\t\t\t\t\"ceph_rbd_du\",\n\t\t\t\t\"instance_get_full\",\n\t\t\t\t\"qemu_metrics\",\n\t\t\t\t\"gpu_mig_uuid\",\n\t\t\t\t\"event_project\",\n\t\t\t\t\"clustering_evacuation_live\",\n\t\t\t\t\"instance_allow_inconsistent_copy\",\n\t\t\t\t\"network_state_ovn\",\n\t\t\t\t\"storage_volume_api_filtering\",\n\t\t\t\t\"image_restrictions\",\n\t\t\t\t\"storage_zfs_export\",\n\t\t\t\t\"network_dns_records\",\n\t\t\t\t\"storage_zfs_reserve_space\",\n\t\t\t\t\"network_acl_log\",\n\t\t\t\t\"storage_zfs_blocksize\",\n\t\t\t\t\"metrics_cpu_seconds\",\n\t\t\t\t\"instance_snapshot_never\",\n\t\t\t\t\"certificate_token\",\n\t\t\t\t\"instance_nic_routed_neighbor_probe\",\n\t\t\t\t\"event_hub\",\n\t\t\t\t\"agent_nic_config\",\n\t\t\t\t\"projects_restricted_intercept\",\n\t\t\t\t\"metrics_authentication\",\n\t\t\t\t\"images_target_project\",\n\t\t\t\t\"cluster_migration_inconsistent_copy\",\n\t\t\t\t\"cluster_ovn_chassis\",\n\t\t\t\t\"container_syscall_intercept_sched_setscheduler\",\n\t\t\t\t\"storage_lvm_thinpool_metadata_size\",\n\t\t\t\t\"storage_volume_state_total\",\n\t\t\t\t\"instance_file_head\",\n\t\t\t\t\"instances_nic_host_name\",\n\t\t\t\t\"image_copy_profile\",\n\t\t\t\t\"container_syscall_intercept_sysinfo\",\n\t\t\t\t\"clustering_evacuation_mode\",\n\t\t\t\t\"resources_pci_vpd\",\n\t\t\t\t\"qemu_raw_conf\",\n\t\t\t\t\"storage_cephfs_fscache\",\n\t\t\t\t\"network_load_balancer\",\n\t\t\t\t\"vsock_api\",\n\t\t\t\t\"instance_ready_state\",\n\t\t\t\t\"network_bgp_holdtime\",\n\t\t\t\t\"storage_volumes_all_projects\",\n\t\t\t\t\"metrics_memory_oom_total\",\n\t\t\t\t\"storage_buckets\",\n\t\t\t\t\"storage_buckets_create_credentials\",\n\t\t\t\t\"metrics_cpu_effective_total\",\n\t\t\t\t\"projects_networks_restricted_access\",\n\t\t\t\t\"storage_buckets_local\",\n\t\t\t\t\"loki\",\n\t\t\t\t\"acme\",\n\t\t\t\t\"internal_metrics\",\n\t\t\t\t\"cluster_join_token_expiry\",\n\t\t\t\t\"remote_token_expiry\",\n\t\t\t\t\"init_preseed\",\n\t\t\t\t\"storage_volumes_created_at\",\n\t\t\t\t\"cpu_hotplug\"\n\t\t\t],\n\t\t\t\"api_status\": \"stable\",\n\t\t\t\"api_version\": \"1.0\",\n\t\t\t\"auth\": \"trusted\",\n\t\t\t\"public\": false,\n\t\t\t\"auth_methods\": [\n\t\t\t\t\"tls\"\n\t\t\t],\n\t\t\t\"environment\": {\n\t\t\t\t\"addresses\": [\n\t\t\t\t\t\"192.168.0.18:8443\",\n\t\t\t\t\t\"192.168.0.243:8443\"\n\t\t\t\t],\n\t\t\t\t\"architectures\": [\n\t\t\t\t\t\"x86_64\",\n\t\t\t\t\t\"i686\"\n\t\t\t\t],\n\t\t\t\t\"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIICDjCCAZWgAwIBAgIQbl8wLivGVSzXX9qE4qwpMjAKBggqhkjOPQQDAzA4MRww\\nGgYDVQQKExNsaW51eGNvbnRhaW5lcnMub3JnMRgwFgYDVQQDDA9yb290QExYRC1z\\nZXJ2ZXIwHhcNMjIxMjA1MDY1MTM3WhcNMzIxMjAyMDY1MTM3WjA4MRwwGgYDVQQK\\nExNsaW51eGNvbnRhaW5lcnMub3JnMRgwFgYDVQQDDA9yb290QExYRC1zZXJ2ZXIw\\ndjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQRExVeqzQ2NVNtTKmspIYUY8RlcwsqbW5i\\ncstCcN4HrQXaU1VH4qblCQOyd2CiRjTA/RwgSmPLD5ZWjADEl1OYvjGS4DCSsm4q\\nxQeDuhpikhh6ISH9GBYXj/7V4phBHXijZDBiMA4GA1UdDwEB/wQEAwIFoDATBgNV\\nHSUEDDAKBggrBgEFBQcDATAMBgNVHRMBAf8EAjAAMC0GA1UdEQQmMCSCCkxYRC1z\\nZXJ2ZXKHBH8AAAGHEAAAAAAAAAAAAAAAAAAAAAEwCgYIKoZIzj0EAwMDZwAwZAIw\\ncN9HwKgtMkLr23euZOnC5ilV17KUdMNXQxu0kjqb5fYuGRkLlWvZUw/oIl+ZXL+j\\nAjAtzT4574jRyUM11niA5yDJiIQTpHmLeOxQ9fy6Fk8Nxg880m3sqsbF8qhG1hZK\\nR8Y=\\n-----END CERTIFICATE-----\\n\",\n\t\t\t\t\"certificate_fingerprint\": \"48f6efac305a58c8f9d87c4bbbdd990a5f5a535610e41aeac7eb9193b0c14993\",\n\t\t\t\t\"driver\": \"lxc | qemu\",\n\t\t\t\t\"driver_version\": \"5.0.1 | 7.1.0\",\n\t\t\t\t\"firewall\": \"xtables\",\n\t\t\t\t\"kernel\": \"Linux\",\n\t\t\t\t\"kernel_architecture\": \"x86_64\",\n\t\t\t\t\"kernel_features\": {\n\t\t\t\t\t\"idmapped_mounts\": \"false\",\n\t\t\t\t\t\"netnsid_getifaddrs\": \"true\",\n\t\t\t\t\t\"seccomp_listener\": \"false\",\n\t\t\t\t\t\"seccomp_listener_continue\": \"false\",\n\t\t\t\t\t\"shiftfs\": \"false\",\n\t\t\t\t\t\"uevent_injection\": \"true\",\n\t\t\t\t\t\"unpriv_fscaps\": \"true\"\n\t\t\t\t},\n\t\t\t\t\"kernel_version\": \"4.18.0-425.3.1.el8.x86_64\",\n\t\t\t\t\"lxc_features\": {\n\t\t\t\t\t\"cgroup2\": \"true\",\n\t\t\t\t\t\"core_scheduling\": \"true\",\n\t\t\t\t\t\"devpts_fd\": \"true\",\n\t\t\t\t\t\"idmapped_mounts_v2\": \"true\",\n\t\t\t\t\t\"mount_injection_file\": \"true\",\n\t\t\t\t\t\"network_gateway_device_route\": \"true\",\n\t\t\t\t\t\"network_ipvlan\": \"true\",\n\t\t\t\t\t\"network_l2proxy\": \"true\",\n\t\t\t\t\t\"network_phys_macvlan_mtu\": \"true\",\n\t\t\t\t\t\"network_veth_router\": \"true\",\n\t\t\t\t\t\"pidfd\": \"true\",\n\t\t\t\t\t\"seccomp_allow_deny_syntax\": \"true\",\n\t\t\t\t\t\"seccomp_notify\": \"true\",\n\t\t\t\t\t\"seccomp_proxy_send_notify_fd\": \"true\"\n\t\t\t\t},\n\t\t\t\t\"os_name\": \"Rocky Linux\",\n\t\t\t\t\"os_version\": \"8.7\",\n\t\t\t\t\"project\": \"default\",\n\t\t\t\t\"server\": \"lxd\",\n\t\t\t\t\"server_clustered\": false,\n\t\t\t\t\"server_event_mode\": \"full-mesh\",\n\t\t\t\t\"server_name\": \"LXD-server\",\n\t\t\t\t\"server_pid\": 6997,\n\t\t\t\t\"server_version\": \"5.8\",\n\t\t\t\t\"storage\": \"lvm\",\n\t\t\t\t\"storage_version\": \"2.03.07(2) (2019-11-30) / 1.02.167 (2019-11-30) / 4.46.0\",\n\t\t\t\t\"storage_supported_drivers\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"Name\": \"lvm\",\n\t\t\t\t\t\t\"Version\": \"2.03.07(2) (2019-11-30) / 1.02.167 (2019-11-30) / 4.46.0\",\n\t\t\t\t\t\t\"Remote\": false\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t\"Name\": \"btrfs\",\n\t\t\t\t\t\t\"Version\": \"5.4.1\",\n\t\t\t\t\t\t\"Remote\": false\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t\"Name\": \"ceph\",\n\t\t\t\t\t\t\"Version\": \"15.2.16\",\n\t\t\t\t\t\t\"Remote\": true\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t\"Name\": \"cephfs\",\n\t\t\t\t\t\t\"Version\": \"15.2.16\",\n\t\t\t\t\t\t\"Remote\": true\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t\"Name\": \"cephobject\",\n\t\t\t\t\t\t\"Version\": \"15.2.16\",\n\t\t\t\t\t\t\"Remote\": true\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t\"Name\": \"dir\",\n\t\t\t\t\t\t\"Version\": \"1\",\n\t\t\t\t\t\t\"Remote\": false\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t}" http_code=200 time="2022-12-05T17:06:38+09:00" level=debug msg="Handling API request" ip=@ method=PUT protocol=unix url="/1.0/containers/centos7?project=default" username=root time="2022-12-05T17:06:38+09:00" level=debug msg="Error Response\n\t{\n\t\t\"type\": \"error\",\n\t\t\"status\": \"\",\n\t\t\"status_code\": 0,\n\t\t\"operation\": \"\",\n\t\t\"error_code\": 404,\n\t\t\"error\": \"Instance not found\",\n\t\t\"metadata\": null\n\t}" http_code=404

k9943004 commented 1 year ago

Container snapshot is normal, but VM is an error.

image

turtle0x1 commented 1 year ago

Duplicated, fixes in pipeline....

k9943004 commented 1 year ago

Duplicated, fixes in pipeline....

Which channel is the modified file on?

  --edge                               Install from the edge channel
  --beta                               Install from the beta channel
  --candidate                          Install from the candidate channel
  --stable                             Install from the stable channel
turtle0x1 commented 1 year ago

Edge, ill probably bump to stable / do a release this week if you want to wait (sometimes edge can get ... messy)