unable to start secondary storage vm

ISSUE TYPE

Bug Report

COMPONENT NAME

Secondary Storage

CLOUDSTACK VERSION

<IP_ADDRESS>

CONFIGURATION

basic network
OS / ENVIRONMENT

ubuntu 22.04.1 Jammy Jellyfish
SUMMARY

system vm for secondary storage fails to start.
STEPS TO REPRODUCE

Add secondary NFS storage from management server to host via ui.

EXPECTED RESULTS

Host mounts secondary storage and downloads templates.

ACTUAL RESULTS

It fails in loop with the following logs

2023-02-05 20:30:10,783 INFO  [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:null) (logid:) Attempting to create storage pool 19986357-feca-4161-830a-2a147fc59d9f (Filesystem) in libvirt
2023-02-05 20:30:10,788 ERROR [kvm.resource.LibvirtConnection] (Agent-Handler-1:null) (logid:) Connection with libvirtd is broken: invalid connection pointer in virConnectGetVersion
2023-02-05 20:30:10,791 INFO  [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:null) (logid:) Found existing defined storage pool 19986357-feca-4161-830a-2a147fc59d9f, using it.
2023-02-05 20:30:10,792 INFO  [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:null) (logid:) Trying to fetch storage pool 19986357-feca-4161-830a-2a147fc59d9f from libvirt
2023-02-05 20:30:10,850 INFO  [cloud.serializer.GsonHelper] (Agent-Handler-1:null) (logid:) Default Builder inited.
2023-02-05 20:30:10,917 INFO  [cloud.agent.Agent] (Agent-Handler-2:null) (logid:) Process agent startup answer, agent id = 0
2023-02-05 20:30:10,917 INFO  [cloud.agent.Agent] (Agent-Handler-2:null) (logid:) Set agent id 0
2023-02-05 20:30:10,925 INFO  [cloud.agent.Agent] (Agent-Handler-2:null) (logid:) Startup Response Received: agent id = 0
2023-02-05 20:30:11,349 INFO  [cloud.agent.Agent] (agentRequest-Handler-3:null) (logid:093226eb) Processing agent ready command, agent id = 6
2023-02-05 20:30:11,351 INFO  [cloud.agent.Agent] (agentRequest-Handler-3:null) (logid:093226eb) Set agent id 6
2023-02-05 20:30:11,354 INFO  [cloud.agent.Agent] (agentRequest-Handler-3:null) (logid:093226eb) Ready command is processed for agent id = 6
2023-02-05 20:30:11,440 INFO  [cloud.agent.Agent] (agentRequest-Handler-4:null) (logid:093226eb) Processing agent ready command, agent id = 6
2023-02-05 20:30:11,441 INFO  [cloud.agent.Agent] (agentRequest-Handler-4:null) (logid:093226eb) Set agent id 6
2023-02-05 20:30:11,443 INFO  [cloud.agent.Agent] (agentRequest-Handler-4:null) (logid:093226eb) Processed new management server list: bla@static
2023-02-05 20:30:11,443 INFO  [cloud.agent.Agent] (agentRequest-Handler-4:null) (logid:093226eb) Ready command is processed for agent id = 6
2023-02-05 20:30:15,673 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-2:null) (logid:3c6c2894) Attempting to create storage pool 4301a675-8d2d-3842-8827-95a0e46475d1 (NetworkFilesystem) in libvirt
2023-02-05 20:30:15,694 WARN  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-2:null) (logid:3c6c2894) Storage pool 4301a675-8d2d-3842-8827-95a0e46475d1 was not found running in libvirt. Need to create it.
2023-02-05 20:30:15,695 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-2:null) (logid:3c6c2894) Didn't find an existing storage pool 4301a675-8d2d-3842-8827-95a0e46475d1 by UUID, checking for pools with duplicate paths
2023-02-05 20:30:16,295 INFO  [kvm.resource.LibvirtConnection] (agentRequest-Handler-5:null) (logid:093b852c) No existing libvirtd connection found. Opening a new one
2023-02-05 20:30:16,298 WARN  [kvm.resource.LibvirtConnection] (agentRequest-Handler-5:null) (logid:093b852c) Can not find a connection for Instance v-68-VM. Assuming the default connection.
2023-02-05 20:30:16,605 WARN  [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-5:null) (logid:093b852c) Groovy script '/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not available. Transformations will not be applied.
2023-02-05 20:30:16,605 WARN  [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-5:null) (logid:093b852c) Groovy scripting engine is not initialized. Data transformation skipped.

@MilanHofmann, can you enable the debug level of the agent and share the complete log?

@slavkap Thank you for the quick response!
Sure I'll attach the logs.
Although the output is now slightly different after opening the right ports on the management server.
agent.log

@MilanHofmann
it looks something wrong with the management server when create/start system vms.

@MilanHofmann, according to the log, there isn't information why the system VM fails on start. There is a failure only for copying the systemvm template related to the NFS

org.libvirt.LibvirtException: internal error: Child process (/usr/bin/mount -o nodev,nosuid,noexec <IP_ADDRESS>:/secondary/template/tmpl/1/3 /mnt/3d4d2066-74be-3b88-bc4b-81c01d3f4d5d) unexpected exit status 32: mount.nfs: Connection timed out

@slavkap Yes you are actually right. After providing the correct path the mount succeeded.
But still the vms fail during the start.
Cloud the problem be line 66? -> 2023-02-07 10:17:14,860 DEBUG [resource.wrapper.LibvirtStopCommandWrapper] (agentRequest-Handler-1:null) (logid:f1a221ad) Failed to backup cmdline file due to There was a problem while connecting to <IP_ADDRESS>:3922
agent.log

Okay qemu was not installed.
Sorry for bothering & thank you very much for your help!

Actually it did not resolve and the qemu installation was not the problem.
Referring to the logs attached above:
Does this mean the vm has not been created or is it a networking issue withkvm?
Failed to get dom xml: org.libvirt.LibvirtException: Domain not found: no domain with matching name 'v-142-VM'
@weizhouapache could you reopen the issue?

Looks to me like no vm is actually beeing created and therefore is not reachable.
Which also explains line 23 in the logs -> 2023-02-07 10:17:10,011 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) (logid:4e0c541e) VM v-129-VM doesn't exist, no need to stop it

@MilanHofmann
can you please share the management-server.log ?

@weizhouapache sure ->
management-server.log

@MilanHofmann, this log contains information from the agent.log

it says that the pod is disabled
2023-02-07 14:25:11,760 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-75:ctx-482e1c4d job-441/job-517 ctx-e52fb184) (logid:2e150804) The cluster is in a disabled pod : 1

@slavkap
But why does the UI say it is enabled then?

Can you share the output of the following SQL queries:

select * from cluster;
select * from host;

@slavkap
mysql> select * from cluster\G;
*************************** 1. row ***************************
id: 1
name: contabo_test_cluster
uuid: fc690d48-5e28-446d-bce5-71816590758f
guid: c4ca4238-a0b9-3382-8dcc-509a6f75849b
pod_id: 1
data_center_id: 1
hypervisor_type: KVM
cluster_type: CloudManaged
allocation_state: Enabled
managed_state: Managed
removed: NULL
owner: NULL
created: NULL
lastUpdated: NULL
engine_state: Disabled
select * from host\G;
*************************** 1. row ***************************
id: 1
name: m0995.contaboserver.net
uuid: 153a3067-1f83-4367-b49e-36e6b8af4b68
status: Removed
type: Routing
private_ip_address: <IP_ADDRESS>
private_netmask: <IP_ADDRESS>
private_mac_address: 1c:6f:65:91:9e:86
storage_ip_address: <IP_ADDRESS>
storage_netmask: <IP_ADDRESS>
storage_mac_address: 1c:6f:65:91:9e:86
storage_ip_address_2: NULL
storage_mac_address_2: NULL
storage_netmask_2: NULL
cluster_id: NULL
public_ip_address: <IP_ADDRESS>
public_netmask: <IP_ADDRESS>
public_mac_address: 1c:6f:65:91:9e:86
proxy_port: NULL
data_center_id: 1
pod_id: 1
cpu_sockets: 1
cpus: 12
speed: 3200
url: NULL
fs_type: NULL
hypervisor_type: KVM
hypervisor_version: NULL
ram:<PHONE_NUMBER>8
resource: NULL
version: <IP_ADDRESS>
parent: NULL
total_size: NULL
capabilities: hvm,snapshot
guid: NULL
available: 1
setup: 0
dom0_memory: 0
last_ping:<PHONE_NUMBER>
mgmt_server_id: NULL
disconnected: NULL
created: 2023-02-05 17:45:15
removed: 2023-02-05 17:51:21
update_count: 4
resource_state: Disabled
owner: NULL
lastUpdated: NULL
engine_state: Disabled
*************************** 2. row ***************************
id: 2
name: m0995.contaboserver.net
uuid: c9d3ffb7-46bc-4361-8343-98bf76652239
status: Removed
type: Routing
private_ip_address: <IP_ADDRESS>
private_netmask: <IP_ADDRESS>
private_mac_address: 1c:6f:65:91:9e:86
storage_ip_address: <IP_ADDRESS>
storage_netmask: <IP_ADDRESS>
storage_mac_address: 1c:6f:65:91:9e:86
storage_ip_address_2: NULL
storage_mac_address_2: NULL
storage_netmask_2: NULL
cluster_id: NULL
public_ip_address: <IP_ADDRESS>
public_netmask: <IP_ADDRESS>
public_mac_address: 1c:6f:65:91:9e:86
proxy_port: NULL
data_center_id: 1
pod_id: 1
cpu_sockets: 1
cpus: 12
speed: 3200
url: NULL
fs_type: NULL
hypervisor_type: KVM
hypervisor_version: NULL
ram:<PHONE_NUMBER>8
resource: NULL
version: <IP_ADDRESS>
parent: NULL
total_size: NULL
capabilities: hvm,snapshot
guid: NULL
available: 1
setup: 0
dom0_memory: 0
last_ping:<PHONE_NUMBER>
mgmt_server_id: NULL
disconnected: NULL
created: 2023-02-05 17:58:20
removed: 2023-02-05 18:02:33
update_count: 7
resource_state: Disabled
owner: NULL
lastUpdated: NULL
engine_state: Disabled
*************************** 3. row ***************************
id: 3
name: m0995.contaboserver.net
uuid: 9410b8b2-8a62-4a4a-9ece-8a5d765a2d42
status: Removed
type: Routing
private_ip_address: <IP_ADDRESS>
private_netmask: <IP_ADDRESS>
private_mac_address: 1c:6f:65:91:9e:86
storage_ip_address: <IP_ADDRESS>
storage_netmask: <IP_ADDRESS>
storage_mac_address: 1c:6f:65:91:9e:86
storage_ip_address_2: NULL
storage_mac_address_2: NULL
storage_netmask_2: NULL
cluster_id: NULL
public_ip_address: <IP_ADDRESS>
public_netmask: <IP_ADDRESS>
public_mac_address: 1c:6f:65:91:9e:86
proxy_port: NULL
data_center_id: 1
pod_id: 1
cpu_sockets: 1
cpus: 12
speed: 3200
url: NULL
fs_type: NULL
hypervisor_type: KVM
hypervisor_version: NULL
ram:<PHONE_NUMBER>8
resource: NULL
version: <IP_ADDRESS>
parent: NULL
total_size: NULL
capabilities: hvm,snapshot
guid: NULL
available: 1
setup: 0
dom0_memory: 0
last_ping:<PHONE_NUMBER>
mgmt_server_id: NULL
disconnected: NULL
created: 2023-02-05 18:03:18
removed: 2023-02-05 18:16:41
update_count: 4
resource_state: Disabled
owner: NULL
lastUpdated: NULL
engine_state: Disabled
*************************** 4. row ***************************
id: 4
name: m0995.contaboserver.net
uuid: ee605607-3ec7-46a1-8298-e5d2e4e7807e
status: Removed
type: Routing
private_ip_address: <IP_ADDRESS>
private_netmask: <IP_ADDRESS>
private_mac_address: 1c:6f:65:91:9e:86
storage_ip_address: <IP_ADDRESS>
storage_netmask: <IP_ADDRESS>
storage_mac_address: 1c:6f:65:91:9e:86
storage_ip_address_2: NULL
storage_mac_address_2: NULL
storage_netmask_2: NULL
cluster_id: NULL
public_ip_address: <IP_ADDRESS>
public_netmask: <IP_ADDRESS>
public_mac_address: 1c:6f:65:91:9e:86
proxy_port: NULL
data_center_id: 1
pod_id: 1
cpu_sockets: 1
cpus: 12
speed: 3200
url: NULL
fs_type: NULL
hypervisor_type: KVM
hypervisor_version: NULL
ram:<PHONE_NUMBER>8
resource: NULL
version: <IP_ADDRESS>
parent: NULL
total_size: NULL
capabilities: hvm,snapshot
guid: NULL
available: 1
setup: 0
dom0_memory: 0
last_ping:<PHONE_NUMBER>
mgmt_server_id: NULL
disconnected: NULL
created: 2023-02-05 18:17:41
removed: 2023-02-05 18:21:34
update_count: 4
resource_state: Disabled
owner: NULL
lastUpdated: NULL
engine_state: Disabled
*************************** 5. row ***************************
id: 5
name: m0995.contaboserver.net
uuid: b8b9ca48-878f-4d8b-bcd9-ebe126173806
status: Removed
type: Routing
private_ip_address: <IP_ADDRESS>
private_netmask: <IP_ADDRESS>
private_mac_address: 1c:6f:65:91:9e:86
storage_ip_address: <IP_ADDRESS>
storage_netmask: <IP_ADDRESS>
storage_mac_address: 1c:6f:65:91:9e:86
storage_ip_address_2: NULL
storage_mac_address_2: NULL
storage_netmask_2: NULL
cluster_id: NULL
public_ip_address: <IP_ADDRESS>
public_netmask: <IP_ADDRESS>
public_mac_address: 1c:6f:65:91:9e:86
proxy_port: NULL
data_center_id: 1
pod_id: 1
cpu_sockets: 1
cpus: 12
speed: 3200
url: NULL
fs_type: NULL
hypervisor_type: KVM
hypervisor_version: NULL
ram:<PHONE_NUMBER>8
resource: NULL
version: <IP_ADDRESS>
parent: NULL
total_size: NULL
capabilities: hvm,snapshot
guid: NULL
available: 1
setup: 0
dom0_memory: 0
last_ping:<PHONE_NUMBER>
mgmt_server_id: NULL
disconnected: NULL
created: 2023-02-05 18:22:44
removed: 2023-02-05 19:28:47
update_count: 4
resource_state: Disabled
owner: NULL
lastUpdated: NULL
engine_state: Disabled
*************************** 6. row ***************************
id: 6
name: m0995.contaboserver.net
uuid: 17de026e-9aeb-4c02-a8eb-162995206f89
status: Removed
type: Routing
private_ip_address: <IP_ADDRESS>
private_netmask: <IP_ADDRESS>
private_mac_address: 1c:6f:65:91:9e:86
storage_ip_address: <IP_ADDRESS>
storage_netmask: <IP_ADDRESS>
storage_mac_address: 1c:6f:65:91:9e:86
storage_ip_address_2: NULL
storage_mac_address_2: NULL
storage_netmask_2: NULL
cluster_id: NULL
public_ip_address: <IP_ADDRESS>
public_netmask: <IP_ADDRESS>
public_mac_address: 1c:6f:65:91:9e:86
proxy_port: NULL
data_center_id: 1
pod_id: 1
cpu_sockets: 1
cpus: 12
speed: 3200
url: NULL
fs_type: NULL
hypervisor_type: KVM
hypervisor_version: NULL
ram:<PHONE_NUMBER>8
resource: NULL
version: <IP_ADDRESS>
parent: NULL
total_size: NULL
capabilities: hvm,snapshot
guid: NULL
available: 1
setup: 0
dom0_memory: 0
last_ping:<PHONE_NUMBER>
mgmt_server_id: NULL
disconnected: NULL
created: 2023-02-05 19:29:37
removed: 2023-02-06 18:31:51
update_count: 7
resource_state: Disabled
owner: NULL
lastUpdated: NULL
engine_state: Disabled
*************************** 7. row ***************************
id: 7
name: m0995.contaboserver.net
uuid: b9cc9299-b2ff-4494-ad47-ebd221dfe102
status: Up
type: Routing
private_ip_address: <IP_ADDRESS>
private_netmask: <IP_ADDRESS>
private_mac_address: 1c:6f:65:91:9e:86
storage_ip_address: <IP_ADDRESS>
storage_netmask: <IP_ADDRESS>
storage_mac_address: 1c:6f:65:91:9e:86
storage_ip_address_2: NULL
storage_mac_address_2: NULL
storage_netmask_2: NULL
cluster_id: 1
public_ip_address: <IP_ADDRESS>
public_netmask: <IP_ADDRESS>
public_mac_address: 1c:6f:65:91:9e:86
proxy_port: NULL
data_center_id: 1
pod_id: 1
cpu_sockets: 1
cpus: 12
speed: 3200
url: NULL
fs_type: NULL
hypervisor_type: KVM
hypervisor_version: NULL
ram:<PHONE_NUMBER>8
resource: NULL
version: <IP_ADDRESS>
parent: NULL
total_size: NULL
capabilities: hvm,snapshot
guid: 67284449-f954-3204-afdc-1057f885b1a2-LibvirtComputingResource
available: 1
setup: 0
dom0_memory: 0
last_ping:<PHONE_NUMBER>
mgmt_server_id:<PHONE_NUMBER>578
disconnected: NULL
created: 2023-02-06 18:33:23
removed: NULL
update_count: 7
resource_state: Enabled
owner: NULL
lastUpdated: NULL
engine_state: Disabled

@slavkap
I actually find this line from the logs interesting:
com.cloud.exception.StorageUnavailableException: Resource [StoragePool:7] is unreachable: Unable to create Vol[164|vm=164|ROOT]:Failed to get template from pool: 73d1d51a-7a3a-3643-833c-a828041be576
If I mount the secondary storage manually the image is available.
But once it's being mounted by cloudstack itself the directory is empty.
Here are the agent logs:
`
2023-02-07 19:18:12,457 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) (logid:40b6260a) Request:Seq 7-1562186120744141630:  { Cmd , MgmtId:<PHONE_NUMBER>578, via: 7, Ver: v1, Flags: 100111, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/1/3/","origUrl":"https://download.cloudstack.org/systemvm/4.17/systemvmtemplate-4.17.2-kvm.qcow2.bz2","uuid":"df635688-a32e-11ed-a71b-02ab532efd3a","id":"3","format":"QCOW2","accountId":"1","checksum":"0e44e12e0a6a370b85d5d7f2ad541354","hvm":"false","displayText":"SystemVM Template (KVM)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://<IP_ADDRESS>/export/secondary","_role":"Image"}},"name":"routing-3","size":"(0 bytes) 0","hypervisorType":"KVM","bootable":"false","uniqueName":"routing-3","directDownload":"false","deployAsIs":"false"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"origUrl":"https://download.cloudstack.org/systemvm/4.17/systemvmtemplate-4.17.2-kvm.qcow2.bz2","uuid":"df635688-a32e-11ed-a71b-02ab532efd3a","id":"3","format":"QCOW2","accountId":"1","checksum":"0e44e12e0a6a370b85d5d7f2ad541354","hvm":"false","displayText":"SystemVM Template (KVM)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"19986357-feca-4161-830a-2a147fc59d9f","name":"m0995.contaboserver.net-local-19986357","id":"7","poolType":"Filesystem","host":"<IP_ADDRESS>","path":"/var/lib/libvirt/images","port":"0","url":"Filesystem://<IP_ADDRESS>/var/lib/libvirt/images/?ROLE=Primary&STOREUUID=19986357-feca-4161-830a-2a147fc59d9f","isManaged":"false"}},"name":"routing-3","size":"(0 bytes) 0","hypervisorType":"KVM","bootable":"false","uniqueName":"routing-3","directDownload":"false","deployAsIs":"false"}},"executeInSequence":"true","options":{},"options2":{},"wait":"10800","bypassHostMaintenance":"false"}}] }
2023-02-07 19:18:12,457 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) (logid:40b6260a) Processing command: org.apache.cloudstack.storage.command.CopyCommand
2023-02-07 19:18:12,457 DEBUG [storage.resource.StorageSubsystemCommandHandlerBase] (agentRequest-Handler-4:null) (logid:40b6260a) Executing command CopyCommand: [{"srcTO":{"path":"template/tmpl/1/3/","origUrl":"https://download.cloudstack.org/systemvm/4.17/systemvmtemplate-4.17.2-kvm.qcow2.bz2","uuid":"df635688-a32e-11ed-a71b-02ab532efd3a","id":3,"format":"QCOW2","accountId":1,"checksum":"0e44e12e0a6a370b85d5d7f2ad541354","hvm":false,"displayText":"SystemVM Template (KVM)","imageDataStore":{"_url":"nfs://<IP_ADDRESS>/export/secondary","_role":"Image"},"name":"routing-3","size":0,"hypervisorType":"KVM","bootable":false,"uniqueName":"routing-3","directDownload":false,"deployAsIs":false},"destTO":{"origUrl":"https://download.cloudstack.org/systemvm/4.17/systemvmtemplate-4.17.2-kvm.qcow2.bz2","uuid":"df635688-a32e-11ed-a71b-02ab532efd3a","id":3,"format":"QCOW2","accountId":1,"checksum":"0e44e12e0a6a370b85d5d7f2ad541354","hvm":false,"displayText":"SystemVM Template (KVM)","imageDataStore":{"uuid":"19986357-feca-4161-830a-2a147fc59d9f","name":"m0995.contaboserver.net-local-19986357","id":7,"poolType":"Filesystem","host":"<IP_ADDRESS>","path":"/var/lib/libvirt/images","port":0,"url":"Filesystem://<IP_ADDRESS>/var/lib/libvirt/images/?ROLE\u003dPrimary\u0026STOREUUID\u003d19986357-feca-4161-830a-2a147fc59d9f","isManaged":false},"name":"routing-3","size":0,"hypervisorType":"KVM","bootable":false,"uniqueName":"routing-3","directDownload":false,"deployAsIs":false},"executeInSequence":true,"options":{},"options2":{},"contextMap":{"logid":"40b6260a","job":"job-440/job-548"},"wait":10800,"bypassHostMaintenance":false}].
2023-02-07 19:18:12,457 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) (logid:40b6260a) Attempting to create storage pool 73d1d51a-7a3a-3643-833c-a828041be576 (NetworkFilesystem) in libvirt
2023-02-07 19:18:12,457 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-4:null) (logid:40b6260a) Looking for libvirtd connection at: qemu:///system
2023-02-07 19:18:12,477 WARN  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) (logid:40b6260a) Storage pool 73d1d51a-7a3a-3643-833c-a828041be576 was not found running in libvirt. Need to create it.
2023-02-07 19:18:12,477 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) (logid:40b6260a) Didn't find an existing storage pool 73d1d51a-7a3a-3643-833c-a828041be576 by UUID, checking for pools with duplicate paths
2023-02-07 19:18:12,478 DEBUG [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) (logid:40b6260a) Checking path of existing pool 19986357-feca-4161-830a-2a147fc59d9f against pool we want to create
2023-02-07 19:18:12,481 DEBUG [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) (logid:40b6260a) Attempting to create storage pool 73d1d51a-7a3a-3643-833c-a828041be576
2023-02-07 19:18:12,481 DEBUG [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) (logid:40b6260a)
73d1d51a-7a3a-3643-833c-a828041be576
73d1d51a-7a3a-3643-833c-a828041be576

/mnt/73d1d51a-7a3a-3643-833c-a828041be576

2023-02-07 19:18:12,481 DEBUG [utils.script.Script] (agentRequest-Handler-4:null) (logid:40b6260a) Executing: /bin/bash -c mountpoint -q /mnt/73d1d51a-7a3a-3643-833c-a828041be576
2023-02-07 19:18:12,482 DEBUG [utils.script.Script] (agentRequest-Handler-4:null) (logid:40b6260a) Executing while with timeout : 3600000
2023-02-07 19:18:12,485 DEBUG [utils.script.Script] (agentRequest-Handler-4:null) (logid:40b6260a) Execution is successful.
2023-02-07 19:18:12,486 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) (logid:40b6260a) Attempting to unmount old mount at /mnt/73d1d51a-7a3a-3643-833c-a828041be576
2023-02-07 19:18:12,486 DEBUG [utils.script.Script] (agentRequest-Handler-4:null) (logid:40b6260a) Executing: /bin/bash -c umount -l /mnt/73d1d51a-7a3a-3643-833c-a828041be576
2023-02-07 19:18:12,487 DEBUG [utils.script.Script] (agentRequest-Handler-4:null) (logid:40b6260a) Executing while with timeout : 3600000
2023-02-07 19:18:12,493 DEBUG [utils.script.Script] (agentRequest-Handler-4:null) (logid:40b6260a) Execution is successful.
2023-02-07 19:18:12,494 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) (logid:40b6260a) Succeeded in unmounting /mnt/73d1d51a-7a3a-3643-833c-a828041be576
2023-02-07 19:18:12,721 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) (logid:40b6260a) Trying to fetch storage pool 73d1d51a-7a3a-3643-833c-a828041be576 from libvirt
2023-02-07 19:18:12,721 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-4:null) (logid:40b6260a) Looking for libvirtd connection at: qemu:///system
2023-02-07 19:18:12,750 DEBUG [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) (logid:40b6260a) Successfully refreshed pool 73d1d51a-7a3a-3643-833c-a828041be576 Capacity: (242.11 GB)<PHONE_NUMBER>32 Used: (9.25 GB)<PHONE_NUMBER> Available: (232.86 GB)<PHONE_NUMBER>12
2023-02-07 19:18:12,799 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) (logid:40b6260a) Attempting to remove storage pool 73d1d51a-7a3a-3643-833c-a828041be576 from libvirt
2023-02-07 19:18:12,799 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-4:null) (logid:40b6260a) Looking for libvirtd connection at: qemu:///system
2023-02-07 19:18:12,817 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) (logid:40b6260a) Storage pool 73d1d51a-7a3a-3643-833c-a828041be576 has no corresponding secret. Not removing any secret.
2023-02-07 19:18:12,826 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) (logid:40b6260a) Storage pool 73d1d51a-7a3a-3643-833c-a828041be576 was successfully removed from libvirt.
2023-02-07 19:18:12,826 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) (logid:40b6260a) Seq 7-1562186120744141630:  { Ans: , MgmtId:<PHONE_NUMBER>578, via: 7, Ver: v1, Flags: 110, [{"com.cloud.agent.api.storage.PrimaryStorageDownloadAnswer":{"templateSize":"(0 bytes) 0","result":"false","details":"Failed to get template from pool: 73d1d51a-7a3a-3643-833c-a828041be576","wait":"0","bypassHostMaintenance":"false"}}] }
2023-02-07 19:18:12,910 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) (logid:40b6260a) Request:Seq 7-1562186120744141631:  { Cmd , MgmtId:<PHONE_NUMBER>578, via: 7, Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":"false","checkBeforeCleanup":"false","controlIp":"<IP_ADDRESS>","forceStop":"false","volumesToDisconnect":[],"vmName":"v-174-VM","executeInSequence":"false","wait":"0","bypassHostMaintenance":"false"}}] }
2023-02-07 19:18:12,911 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) (logid:40b6260a) Processing command: com.cloud.agent.api.StopCommand
2023-02-07 19:18:12,911 DEBUG [resource.wrapper.LibvirtStopCommandWrapper] (agentRequest-Handler-5:null) (logid:40b6260a) backing up the cmdline
2023-02-07 19:18:15,972 DEBUG [resource.wrapper.LibvirtStopCommandWrapper] (agentRequest-Handler-5:null) (logid:40b6260a) Failed to backup cmdline file due to There was a problem while connecting to <IP_ADDRESS>:3922
2023-02-07 19:18:15,972 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-5:null) (logid:40b6260a) Looking for libvirtd connection at: qemu:///system
2023-02-07 19:18:15,993 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-5:null) (logid:40b6260a) Can not find KVM connection for Instance: v-174-VM, continuing.
2023-02-07 19:18:15,993 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-5:null) (logid:40b6260a) Looking for libvirtd connection at: lxc:///
2023-02-07 19:18:15,993 INFO  [kvm.resource.LibvirtConnection] (agentRequest-Handler-5:null) (logid:40b6260a) No existing libvirtd connection found. Opening a new one
2023-02-07 19:18:15,994 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-5:null) (logid:40b6260a) Can not find LXC connection for Instance: v-174-VM, continuing.
2023-02-07 19:18:15,994 WARN  [kvm.resource.LibvirtConnection] (agentRequest-Handler-5:null) (logid:40b6260a) Can not find a connection for Instance v-174-VM. Assuming the default connection.
2023-02-07 19:18:15,995 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-5:null) (logid:40b6260a) Looking for libvirtd connection at: qemu:///system
2023-02-07 19:18:16,013 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) (logid:40b6260a) Failed to get dom xml: org.libvirt.LibvirtException: Domain not found: no domain with matching name 'v-174-VM'
2023-02-07 19:18:16,013 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) (logid:40b6260a) Failed to get dom xml: org.libvirt.LibvirtException: Domain not found: no domain with matching name 'v-174-VM'
2023-02-07 19:18:16,014 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) (logid:40b6260a) Failed to get dom xml: org.libvirt.LibvirtException: Domain not found: no domain with matching name 'v-174-VM'
2023-02-07 19:18:16,014 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) (logid:40b6260a) Executing: /usr/share/cloudstack-common/scripts/vm/network/security_group.py destroy_network_rules_for_vm --vmname v-174-VM
2023-02-07 19:18:16,015 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) (logid:40b6260a) Executing while with timeout : 1800000
2023-02-07 19:18:16,113 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) (logid:40b6260a) Execution is successful.
2023-02-07 19:18:16,114 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) (logid:40b6260a) Failed to get vm :Domain not found: no domain with matching name 'v-174-VM'
2023-02-07 19:18:16,114 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) (logid:40b6260a) Try to stop the vm at first
2023-02-07 19:18:16,115 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) (logid:40b6260a) VM v-174-VM doesn't exist, no need to stop it
`

@slavkap
if I create the pool manually and mount the secondary storage to it's source directory the agent still fails to get the template.
Although it is the source directory.

What I understand from the logs is this part:
 2023-02-07 20:25:42,602 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null) (logid:40b6260a) Storage pool 73d1d51a-7a3a-3643-833c-a828041be576 was successfully removed from libvirt. 2023-02-07 20:25:42,603 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) (logid:40b6260a) Seq 7-1562186120744141803:  { Ans: , MgmtId:<PHONE_NUMBER>578, via: 7, Ver: v1, Flags: 110, [{"com.cloud.agent.api.storage.PrimaryStorageDownloadAnswer":{"templateSize":"(0 bytes) 0","result":"false","details":"Failed to get template from pool: 73d1d51a-7a3a-3643-833c-a828041be576","wait":"0","bypassHostMaintenance":"false"}}] }
`
Why is the storage pool removed from libvirt before trying to access it?
Here are complete the agent logs (starting from where I created the pool manually):
2023-02-07 20:25:42,470 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) (logid:40b6260a) Request:Seq 7-1562186120744141803:  { Cmd , MgmtId:<PHONE_NUMBER>578, via: 7, Ver: v1, Flags: 100111, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/1/3/","origUrl":"https://download.cloudstack.org/systemvm/4.17/systemvmtemplate-4.17.2-kvm.qcow2.bz2","uuid":"df635688-a32e-11ed-a71b-02ab532efd3a","id":"3","format":"QCOW2","accountId":"1","checksum":"0e44e12e0a6a370b85d5d7f2ad541354","hvm":"false","displayText":"SystemVM Template (KVM)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://<IP_ADDRESS>/export/secondary","_role":"Image"}},"name":"routing-3","size":"(0 bytes) 0","hypervisorType":"KVM","bootable":"false","uniqueName":"routing-3","directDownload":"false","deployAsIs":"false"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"origUrl":"https://download.cloudstack.org/systemvm/4.17/systemvmtemplate-4.17.2-kvm.qcow2.bz2","uuid":"df635688-a32e-11ed-a71b-02ab532efd3a","id":"3","format":"QCOW2","accountId":"1","checksum":"0e44e12e0a6a370b85d5d7f2ad541354","hvm":"false","displayText":"SystemVM Template (KVM)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"19986357-feca-4161-830a-2a147fc59d9f","name":"m0995.contaboserver.net-local-19986357","id":"7","poolType":"Filesystem","host":"<IP_ADDRESS>","path":"/var/lib/libvirt/images","port":"0","url":"Filesystem://<IP_ADDRESS>/var/lib/libvirt/images/?ROLE=Primary&STOREUUID=19986357-feca-4161-830a-2a147fc59d9f","isManaged":"false"}},"name":"routing-3","size":"(0 bytes) 0","hypervisorType":"KVM","bootable":"false","uniqueName":"routing-3","directDownload":"false","deployAsIs":"false"}},"executeInSequence":"true","options":{},"options2":{},"wait":"10800","bypassHostMaintenance":"false"}}] } 2023-02-07 20:25:42,470 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) (logid:40b6260a) Processing command: org.apache.cloudstack.storage.command.CopyCommand 2023-02-07 20:25:42,470 DEBUG [storage.resource.StorageSubsystemCommandHandlerBase] (agentRequest-Handler-3:null) (logid:40b6260a) Executing command CopyCommand: [{"srcTO":{"path":"template/tmpl/1/3/","origUrl":"https://download.cloudstack.org/systemvm/4.17/systemvmtemplate-4.17.2-kvm.qcow2.bz2","uuid":"df635688-a32e-11ed-a71b-02ab532efd3a","id":3,"format":"QCOW2","accountId":1,"checksum":"0e44e12e0a6a370b85d5d7f2ad541354","hvm":false,"displayText":"SystemVM Template (KVM)","imageDataStore":{"_url":"nfs://<IP_ADDRESS>/export/secondary","_role":"Image"},"name":"routing-3","size":0,"hypervisorType":"KVM","bootable":false,"uniqueName":"routing-3","directDownload":false,"deployAsIs":false},"destTO":{"origUrl":"https://download.cloudstack.org/systemvm/4.17/systemvmtemplate-4.17.2-kvm.qcow2.bz2","uuid":"df635688-a32e-11ed-a71b-02ab532efd3a","id":3,"format":"QCOW2","accountId":1,"checksum":"0e44e12e0a6a370b85d5d7f2ad541354","hvm":false,"displayText":"SystemVM Template (KVM)","imageDataStore":{"uuid":"19986357-feca-4161-830a-2a147fc59d9f","name":"m0995.contaboserver.net-local-19986357","id":7,"poolType":"Filesystem","host":"<IP_ADDRESS>","path":"/var/lib/libvirt/images","port":0,"url":"Filesystem://<IP_ADDRESS>/var/lib/libvirt/images/?ROLE\u003dPrimary\u0026STOREUUID\u003d19986357-feca-4161-830a-2a147fc59d9f","isManaged":false},"name":"routing-3","size":0,"hypervisorType":"KVM","bootable":false,"uniqueName":"routing-3","directDownload":false,"deployAsIs":false},"executeInSequence":true,"options":{},"options2":{},"contextMap":{"logid":"40b6260a","job":"job-440/job-594"},"wait":10800,"bypassHostMaintenance":false}]. 2023-02-07 20:25:42,471 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null) (logid:40b6260a) Attempting to create storage pool 73d1d51a-7a3a-3643-833c-a828041be576 (NetworkFilesystem) in libvirt 2023-02-07 20:25:42,471 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-3:null) (logid:40b6260a) Looking for libvirtd connection at: qemu:///system 2023-02-07 20:25:42,489 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null) (logid:40b6260a) Found existing defined storage pool 73d1d51a-7a3a-3643-833c-a828041be576, using it. 2023-02-07 20:25:42,490 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null) (logid:40b6260a) Trying to fetch storage pool 73d1d51a-7a3a-3643-833c-a828041be576 from libvirt 2023-02-07 20:25:42,490 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-3:null) (logid:40b6260a) Looking for libvirtd connection at: qemu:///system 2023-02-07 20:25:42,514 DEBUG [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null) (logid:40b6260a) Successfully refreshed pool 73d1d51a-7a3a-3643-833c-a828041be576 Capacity: (242.11 GB)<PHONE_NUMBER>32 Used: (9.25 GB)<PHONE_NUMBER> Available: (232.85 GB)<PHONE_NUMBER>68 2023-02-07 20:25:42,582 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null) (logid:40b6260a) Attempting to remove storage pool 73d1d51a-7a3a-3643-833c-a828041be576 from libvirt 2023-02-07 20:25:42,582 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-3:null) (logid:40b6260a) Looking for libvirtd connection at: qemu:///system 2023-02-07 20:25:42,601 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null) (logid:40b6260a) Storage pool 73d1d51a-7a3a-3643-833c-a828041be576 has no corresponding secret. Not removing any secret. 2023-02-07 20:25:42,602 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null) (logid:40b6260a) Storage pool 73d1d51a-7a3a-3643-833c-a828041be576 was successfully removed from libvirt. 2023-02-07 20:25:42,603 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) (logid:40b6260a) Seq 7-1562186120744141803:  { Ans: , MgmtId:<PHONE_NUMBER>578, via: 7, Ver: v1, Flags: 110, [{"com.cloud.agent.api.storage.PrimaryStorageDownloadAnswer":{"templateSize":"(0 bytes) 0","result":"false","details":"Failed to get template from pool: 73d1d51a-7a3a-3643-833c-a828041be576","wait":"0","bypassHostMaintenance":"false"}}] } 2023-02-07 20:25:42,696 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) (logid:40b6260a) Request:Seq 7-1562186120744141804:  { Cmd , MgmtId:<PHONE_NUMBER>578, via: 7, Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":"false","checkBeforeCleanup":"false","controlIp":"<IP_ADDRESS>","forceStop":"false","volumesToDisconnect":[],"vmName":"v-190-VM","executeInSequence":"false","wait":"0","bypassHostMaintenance":"false"}}] } 2023-02-07 20:25:42,696 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) (logid:40b6260a) Processing command: com.cloud.agent.api.StopCommand 2023-02-07 20:25:42,696 DEBUG [resource.wrapper.LibvirtStopCommandWrapper] (agentRequest-Handler-4:null) (logid:40b6260a) backing up the cmdline
`

@MilanHofmann, is this a fresh install? If it is, could you let me know if you followed the step for preparing the system VM template? You should not have those file formats in the secondary storage directory. If the system VM template is seeded correctly you should have something like this:
ls /export/testnfs/template/tmpl/1/3/

d8e9c766-9cfd-4190-987e-d6338c4ea381.qcow2  template.properties

cat /export/testnfs/template/tmpl/1/3/template.properties

filename=d8e9c766-9cfd-4190-987e-d6338c4ea381.qcow2
description=SystemVM Template
hvm=false
size=460521472
qcow2=true
id=3
public=true
qcow2.filename=d8e9c766-9cfd-4190-987e-d6338c4ea381.qcow2
uniquename=routing-3
qcow2.virtualsize=5242880000
virtualsize=5242880000
qcow2.size=460521472

@slavkap if I create the pool manually and mount the secondary storage to it's source directory the agent still fails to get the template. Although it is the source directory.
What I understand from the logs is this part:  2023-02-07 20:25:42,602 INFO [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null) (logid:40b6260a) Storage pool 73d1d51a-7a3a-3643-833c-a828041be576 was successfully removed from libvirt. 2023-02-07 20:25:42,603 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) (logid:40b6260a) Seq 7-1562186120744141803: { Ans: , MgmtId:<PHONE_NUMBER>578, via: 7, Ver: v1, Flags: 110, [{"com.cloud.agent.api.storage.PrimaryStorageDownloadAnswer":{"templateSize":"(0 bytes) 0","result":"false","details":"Failed to get template from pool: 73d1d51a-7a3a-3643-833c-a828041be576","wait":"0","bypassHostMaintenance":"false"}}] } `
Why is the storage pool removed from libvirt before trying to access it?
Here are complete the agent logs (starting from where I created the pool manually): 2023-02-07 20:25:42,470 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) (logid:40b6260a) Request:Seq 7-1562186120744141803: { Cmd , MgmtId:<PHONE_NUMBER>578, via: 7, Ver: v1, Flags: 100111, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/1/3/","origUrl":"https://download.cloudstack.org/systemvm/4.17/systemvmtemplate-4.17.2-kvm.qcow2.bz2","uuid":"df635688-a32e-11ed-a71b-02ab532efd3a","id":"3","format":"QCOW2","accountId":"1","checksum":"0e44e12e0a6a370b85d5d7f2ad541354","hvm":"false","displayText":"SystemVM Template (KVM)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://<IP_ADDRESS>/export/secondary","_role":"Image"}},"name":"routing-3","size":"(0 bytes) 0","hypervisorType":"KVM","bootable":"false","uniqueName":"routing-3","directDownload":"false","deployAsIs":"false"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"origUrl":"https://download.cloudstack.org/systemvm/4.17/systemvmtemplate-4.17.2-kvm.qcow2.bz2","uuid":"df635688-a32e-11ed-a71b-02ab532efd3a","id":"3","format":"QCOW2","accountId":"1","checksum":"0e44e12e0a6a370b85d5d7f2ad541354","hvm":"false","displayText":"SystemVM Template (KVM)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"19986357-feca-4161-830a-2a147fc59d9f","name":"m0995.contaboserver.net-local-19986357","id":"7","poolType":"Filesystem","host":"<IP_ADDRESS>","path":"/var/lib/libvirt/images","port":"0","url":"Filesystem://<IP_ADDRESS>/var/lib/libvirt/images/?ROLE=Primary&STOREUUID=19986357-feca-4161-830a-2a147fc59d9f","isManaged":"false"}},"name":"routing-3","size":"(0 bytes) 0","hypervisorType":"KVM","bootable":"false","uniqueName":"routing-3","directDownload":"false","deployAsIs":"false"}},"executeInSequence":"true","options":{},"options2":{},"wait":"10800","bypassHostMaintenance":"false"}}] } 2023-02-07 20:25:42,470 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) (logid:40b6260a) Processing command: org.apache.cloudstack.storage.command.CopyCommand 2023-02-07 20:25:42,470 DEBUG [storage.resource.StorageSubsystemCommandHandlerBase] (agentRequest-Handler-3:null) (logid:40b6260a) Executing command CopyCommand: [{"srcTO":{"path":"template/tmpl/1/3/","origUrl":"https://download.cloudstack.org/systemvm/4.17/systemvmtemplate-4.17.2-kvm.qcow2.bz2","uuid":"df635688-a32e-11ed-a71b-02ab532efd3a","id":3,"format":"QCOW2","accountId":1,"checksum":"0e44e12e0a6a370b85d5d7f2ad541354","hvm":false,"displayText":"SystemVM Template (KVM)","imageDataStore":{"_url":"nfs://<IP_ADDRESS>/export/secondary","_role":"Image"},"name":"routing-3","size":0,"hypervisorType":"KVM","bootable":false,"uniqueName":"routing-3","directDownload":false,"deployAsIs":false},"destTO":{"origUrl":"https://download.cloudstack.org/systemvm/4.17/systemvmtemplate-4.17.2-kvm.qcow2.bz2","uuid":"df635688-a32e-11ed-a71b-02ab532efd3a","id":3,"format":"QCOW2","accountId":1,"checksum":"0e44e12e0a6a370b85d5d7f2ad541354","hvm":false,"displayText":"SystemVM Template (KVM)","imageDataStore":{"uuid":"19986357-feca-4161-830a-2a147fc59d9f","name":"m0995.contaboserver.net-local-19986357","id":7,"poolType":"Filesystem","host":"<IP_ADDRESS>","path":"/var/lib/libvirt/images","port":0,"url":"Filesystem://<IP_ADDRESS>/var/lib/libvirt/images/?ROLE\u003dPrimary\u0026STOREUUID\u003d19986357-feca-4161-830a-2a147fc59d9f","isManaged":false},"name":"routing-3","size":0,"hypervisorType":"KVM","bootable":false,"uniqueName":"routing-3","directDownload":false,"deployAsIs":false},"executeInSequence":true,"options":{},"options2":{},"contextMap":{"logid":"40b6260a","job":"job-440/job-594"},"wait":10800,"bypassHostMaintenance":false}]. 2023-02-07 20:25:42,471 INFO [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null) (logid:40b6260a) Attempting to create storage pool 73d1d51a-7a3a-3643-833c-a828041be576 (NetworkFilesystem) in libvirt 2023-02-07 20:25:42,471 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-3:null) (logid:40b6260a) Looking for libvirtd connection at: qemu:///system 2023-02-07 20:25:42,489 INFO [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null) (logid:40b6260a) Found existing defined storage pool 73d1d51a-7a3a-3643-833c-a828041be576, using it. 2023-02-07 20:25:42,490 INFO [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null) (logid:40b6260a) Trying to fetch storage pool 73d1d51a-7a3a-3643-833c-a828041be576 from libvirt 2023-02-07 20:25:42,490 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-3:null) (logid:40b6260a) Looking for libvirtd connection at: qemu:///system 2023-02-07 20:25:42,514 DEBUG [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null) (logid:40b6260a) Successfully refreshed pool 73d1d51a-7a3a-3643-833c-a828041be576 Capacity: (242.11 GB)<PHONE_NUMBER>32 Used: (9.25 GB)<PHONE_NUMBER> Available: (232.85 GB)<PHONE_NUMBER>68 2023-02-07 20:25:42,582 INFO [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null) (logid:40b6260a) Attempting to remove storage pool 73d1d51a-7a3a-3643-833c-a828041be576 from libvirt 2023-02-07 20:25:42,582 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-3:null) (logid:40b6260a) Looking for libvirtd connection at: qemu:///system 2023-02-07 20:25:42,601 INFO [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null) (logid:40b6260a) Storage pool 73d1d51a-7a3a-3643-833c-a828041be576 has no corresponding secret. Not removing any secret. 2023-02-07 20:25:42,602 INFO [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null) (logid:40b6260a) Storage pool 73d1d51a-7a3a-3643-833c-a828041be576 was successfully removed from libvirt. 2023-02-07 20:25:42,603 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) (logid:40b6260a) Seq 7-1562186120744141803: { Ans: , MgmtId:<PHONE_NUMBER>578, via: 7, Ver: v1, Flags: 110, [{"com.cloud.agent.api.storage.PrimaryStorageDownloadAnswer":{"templateSize":"(0 bytes) 0","result":"false","details":"Failed to get template from pool: 73d1d51a-7a3a-3643-833c-a828041be576","wait":"0","bypassHostMaintenance":"false"}}] } 2023-02-07 20:25:42,696 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) (logid:40b6260a) Request:Seq 7-1562186120744141804: { Cmd , MgmtId:<PHONE_NUMBER>578, via: 7, Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":"false","checkBeforeCleanup":"false","controlIp":"<IP_ADDRESS>","forceStop":"false","volumesToDisconnect":[],"vmName":"v-190-VM","executeInSequence":"false","wait":"0","bypassHostMaintenance":"false"}}] } 2023-02-07 20:25:42,696 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) (logid:40b6260a) Processing command: com.cloud.agent.api.StopCommand 2023-02-07 20:25:42,696 DEBUG [resource.wrapper.LibvirtStopCommandWrapper] (agentRequest-Handler-4:null) (logid:40b6260a) backing up the cmdline  `

it seems the directory does not contain a image for systemvm template on kvm.

@slavkap
@weizhouapache
Yes that was the problem!
Thank you so much for taking the time to help me!
I am completely new to Cloudstack - please let me know once I bother you too much.
Now there's some problem with my bridge config:
agent.log
2023-02-08 08:17:16,503 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) (logid:40b6260a) iptables v1.8.7 (nf_tables): chainBF-cloudbr0' in table `filter' is incompatible, use 'nft' tool.
iptables v1.8.7 (nf_tables): chain BF-cloudbr0-OUT' in table filter' is incompatible, use 'nft' tool.
iptables v1.8.7 (nf_tables): chain BF-cloudbr0-IN' in table filter' is incompatible, use 'nft' tool.
ip6tables v1.8.7 (nf_tables): chain BF-cloudbr0' in table filter' is incompatible, use 'nft' tool.
ip6tables v1.8.7 (nf_tables): chain BF-cloudbr0-OUT' in table filter' is incompatible, use 'nft' tool.
ip6tables v1.8.7 (nf_tables): chain BF-cloudbr0-IN' in table filter' is incompatible, use 'nft' tool.
`

BF-cloudbr0-IN

@MilanHofmann
what's the nftables and iptables version ?
stop service nftables and retry ?

@weizhouapache
Yes that solved the issue, thanx!
But still the VM is not reachable:
2023-02-08 12:47:10,383 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-1:null) (logid:2e150804) Can not find KVM connection for Instance: s-210-VM, continuing. 2023-02-08 12:47:10,384 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-1:null) (logid:2e150804) Looking for libvirtd connection at: lxc:/// 2023-02-08 12:47:10,384 INFO  [kvm.resource.LibvirtConnection] (agentRequest-Handler-1:null) (logid:2e150804) No existing libvirtd connection found. Opening a new one 2023-02-08 12:47:10,385 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-1:null) (logid:2e150804) Can not find LXC connection for Instance: s-210-VM, continuing. 2023-02-08 12:47:10,386 WARN  [kvm.resource.LibvirtConnection] (agentRequest-Handler-1:null) (logid:2e150804) Can not find a connection for Instance s-210-VM. Assuming the default connection. 2023-02-08 12:47:10,386 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-1:null) (logid:2e150804) Looking for libvirtd connection at: qemu:///system 2023-02-08 12:47:10,403 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) (logid:2e150804) Failed to get dom xml: org.libvirt.LibvirtException: Domain not found: no domain with matching name 's-210-VM' 2023-02-08 12:47:10,404 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) (logid:2e150804) Failed to get dom xml: org.libvirt.LibvirtException: Domain not found: no domain with matching name 's-210-VM' 2023-02-08 12:47:10,405 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) (logid:2e150804) Failed to get dom xml: org.libvirt.LibvirtException: Domain not found: no domain with matching name 's-210-VM' 2023-02-08 12:47:10,405 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) (logid:2e150804) Executing: /usr/share/cloudstack-common/scripts/vm/network/security_group.py destroy_network_rules_for_vm --vmname s-210-VM  2023-02-08 12:47:10,406 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) (logid:2e150804) Executing while with timeout : 1800000 2023-02-08 12:47:10,504 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) (logid:2e150804) Execution is successful. 2023-02-08 12:47:10,506 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) (logid:2e150804) Failed to get vm :Domain not found: no domain with matching name 's-210-VM' 2023-02-08 12:47:10,506 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) (logid:2e150804) Try to stop the vm at first 2023-02-08 12:47:10,507 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) (logid:2e150804) VM s-210-VM doesn't exist, no need to stop it
agent.log
Anyway here are my iptables + nftables versions:
Package: iptables Version: 1.8.7-1ubuntu5 Priority: standard Section: net Origin: Ubuntu Maintainer: Ubuntu Developers<EMAIL_ADDRESS>Original-Maintainer: Debian Netfilter Packaging Team<EMAIL_ADDRESS>Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 2905 kB Depends: libip4tc2 (= 1.8.7-1ubuntu5), libip6tc2 (= 1.8.7-1ubuntu5), libxtables12 (= 1.8.7-1ubuntu5), netbase (>= 6.0), libc6 (>= 2.34), libmnl0 (>= 1.0.3-4~), libnetfilter-conntrack3 (>= 1.0.6), libnfnetlink0, libnftnl11 (>= 1.1.5) Suggests: firewalld, kmod, nftables Breaks: iptables-nftables-compat (<< 1.6.2~) Replaces: iptables-nftables-compat (<< 1.6.2~) Homepage: https://www.netfilter.org/ Task: standard Download-Size: 455 kB APT-Manual-Installed: yes APT-Sources: http://asi-fs-m.contabo.net/ubuntu jammy/main amd64 Packages Description: administration tools for packet filtering and NAT  The iptables/xtables framework has been replaced by nftables. You should  consider migrating now.  .  iptables is the userspace command line program used to configure  the Linux packet filtering and NAT ruleset. It is targeted towards systems  and networks administrators.  .  This package contains several different utilities, the most important ones:  .  iptables-nft, iptables-nft-save, iptables-nft-restore (nft-based version)  .  iptables-legacy, iptables-legacy-save, iptables-legacy-restore (legacy version)  .  ip6tables-nft, ip6tables-nft-save, ip6tables-nft-restore (nft-based version)  .  ip6tables-legacy, ip6tables-legacy-save, ip6tables-legacy-restore (legacy version)  .  arptables-nft, arptables-nft-save, arptables-nft-restore (nft-based version)  .  ebtables-nft, ebtables-nft-save, ebtables-nft-restore (nft-based version)

Package: nftables Version: 1.0.2-1ubuntu3 Priority: standard Section: net Origin: Ubuntu Maintainer: Ubuntu Developers<EMAIL_ADDRESS>Original-Maintainer: Debian Netfilter Packaging Team<EMAIL_ADDRESS>Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 181 kB Depends: libnftables1 (= 1.0.2-1ubuntu3), libc6 (>= 2.34), libedit2 (>= 3.1-20130611-0) Recommends: netbase Suggests: firewalld Homepage: https://www.netfilter.org/ Task: standard Download-Size: 67.2 kB APT-Manual-Installed: no APT-Sources: http://asi-fs-m.contabo.net/ubuntu jammy-updates/main amd64 Packages Description: Program to control packet filtering rules by Netfilter project  This software provides an in-kernel packet classification framework that is  based on a network-specific Virtual Machine (VM) and the nft userspace  command line tool. The nftables framework reuses the existing Netfilter  subsystems such as the existing hook infrastructure, the connection tracking  system, NAT, userspace queueing and logging subsystem.  .  nftables replaces the old popular iptables, ip6tables, arptables and ebtables.  .  Netfilter software and nftables in particular are used in applications such  as Internet connection sharing, firewalls, IP accounting, transparent  proxying, advanced routing and traffic control.  .  A Linux kernel >= 3.13 is required. However, >= 4.14 is recommended.
`

@MilanHofmann
you may need to check management-server.log to find out why the s-210-VM does not exist on host.
it might be caused by some exceptions during vm creation or start.

@weizhouapache

@weizhouapache
Thanx again.
Just checked
management-server.log
and I believe line 144 is the problem:
com.cloud.exception.InsufficientAddressCapacityException: Insufficient address capacityScope
I know that my host only has one public IP-Address available.
I get from here that for each VM one public IP is allocated -> http://docs.cloudstack.apache.org/en/latest/adminguide/virtual_machines.html
So I guess this means buying more IP addresses or is there another way?


Camera Drone Controls

I am using Quest 2 with Virtual Desktop and SteamVR , I can not switch drones, the icon tips tell me to press left and right but I do not have those keys on Quest 2 controllers, and emulate d-pad not working
Also the drones move always in the same direction independet of the direction you are looking at, this seems to be related to collision, whenever the drones takes an hit , to fix this I need to go back to menu and recenter VR

I have the same issue

yes i have the same issue, please make the cameras follow the player direction, and remap input to allow switching cameras please!

I have the same issues, including the drones changing the direction their facing after taking a hit.

I just saw this and this is not an issues. The Cycle Previous\Next button is not mapped to any controller buttons. Go into Steam Configuration and set a button - I used analog click personally.


How to upload video file?

How to upload video file?
this is my source

In config

error

I found the issue. You can solve it by simply editing "upload_max_filesize=M"

need to clear cache and config
php artisan config:clear
php artisan cache:clear

I have the same problem!


Help Preventing Softbans for Scanners?

I have been running Pokeminer since it was released and I love it.  It makes the game much more exciting and I want to make sure I can use it as long as it's available.
I'm running around 18 accounts to scan my area. Today I got my first set of soft-bans as my PTC scanning accounts were locked out for a few hours.
I'm not an expert, obviously >.> but in order to prevent these IP bans I should likely be using either a Proxy or a VPN. I couldn't find any VPN's that seemed suitable for this as I wanted to test this first before I invested any money.  I've browsed around looking at proxies and I just want to make sure I did everything correctly because I still get all my workers killed after this.
First, I went online and found some free proxies and put them in the config file as:
PROXIES = {'http':  'socks5://  IP   :  PORT'  ,
'https': 'socks5://  IP   :  PORT'  }
Then I ran:

pip install pysocks

After this I got some errors but I found I needed to add two imports to the config and ran one more pip:
import win_inet_pton
import requests
and

pip install win-inet-pton

Everything seems to be working fine (meaning no errors), except my workers still all get killed occasionally. Should this protect me from IP Bans or did I miss something?
I'm the first one to admit I don't really know what I'm talking about so any suggestions would be greatly appreciated.

Occassional kills are normal (ekhm), I mean that worker gets killed if it doesn't find anything for 5 minutes. It may be lack of spawns (then you might try disabling it using most recent code from master). But if it's the same worker being killed over and over, that may indicate a ban.

It's all 18 getting banned at once.
It's definitely not lack of spawns. I get around 500 spawns an hour.
Should I just make new accounts?

put import win_inet_pton in pgoapi.py, not in config.py

slightly off topic but with the "banning" they are doing it would be nice to see your workers rotate positions every 3 cycles or something, so eventually they all move around slightly, might not look as weird as scanning the same 30 or 40 points day in and day out also. AND it'll be nice to not loose ALL the data/new spawns from a certain worker if something happens to it( spread it out over the whole map)

@nhumber Right now Im trying to create poxy switcher function I talked in #217 with banned detection I put in PR #249. If a proxy switch can't resolve worker banned status (account get permanent banned, status_code 3), banned worker will terminated.
If one or more workers terminated, your idea about spread (working) workers over the whole map  to not loose ALL the data/new spawns can be accomplished by retrieve a new set of points with availabe workers, so each of working workers will get a new set of points that covering terminated worker points. But to do this we need to change how points is retrieve and assign to each worker.


[v1.4] Documentation changes.

Added new test cases for Manual Testing in Developer Guide.
Added new entry in User Guide.
Added new Documentation contributions under "Other Contributions" instead of including them for jiahaolim.adoc.

Coverage remained the same at 74.797% when pulling 206bf5687d660a9a277769d94d12ff61583a4bc1 on JiaHaoLim:master into bbda351532b7cbb1c28997166d54e014a4cc3b0d on CS2103-AY1819S2-W17-2:master.


Add CDIProducedProcedureTest TCK and fix Javadoc

Signed-off-by: pgunapal<EMAIL_ADDRESS>Created a TCK test case for CDI produced Health Check procedures and fixed the corresponding java-api Javadoc.

@pgunapal for future, I believe it's ok to just force push your branch with a signed commit to retrigger the check, no need to open new PR :)


Update hello-minikube.md

Replace depreacted heapster plugin by the metrics-server

I need to clarify if the company signs the CLA or I sign the CLA.

/check-cla

I need to clarify if the company signs the CLA or I sign the CLA.

if you are contributing on behalf of your company then company needs to sign your CLA and if if you are contributing as individual contributor the you need to sign your CLA by yourself.

The preview under https://deploy-preview-29865--kubernetes-io-main-staging.netlify.app/docs/tutorials/hello-minikube/ does not show the changes. Have I done something wrong?


bump golang from 1.21.6 to 1.22.3

What type of PR is this?

What this PR does / why we need it:
https://github.com/clusterpedia-io/clusterpedia/pull/663
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

We need to upgrade controller-tools first https://github.com/kubernetes-sigs/controller-tools/issues/880


Sort entire lines in selection, not only the selected characters only

In Sublime Text, the default sort function sorts entire lines in selection, not only the selected characters. Could your plugin be configure to behave this same (either by default or using a setting) please? :wink:

Hello,
This feature is now available in ST3+, on version 1.4.0 of the plugin.
The version will be available soon, as Package Control build & redeploy the version.
You can change the property "handle_selected_part_of_line_has_full_selected_line" to true to enable the feature.
And I've added a new shortcut to the property file.

Thanks for the suggestion!

Thanks, @Doi9t, for such quick implemention! :wink:
Just a quick question: should handle_selected_part_of_line_has_full_selected_line not actually be handle_selected_part_of_line_as_full_selected_line? Note the has → as.

Yup, there's a typo; I won't correct it, since it's already released.
Thanks again!

@Doi9t, I have no idea how some plugins after clicking on Plugin settings (or actually they call it simply Settings) open two files side by side (i.e. in two groups) with default package settings on the left and user overrides on the right, but it is more user-friendly then opening the default package settings read only. Should I open a separate issues for this?

Hello,
Sorry for the delay, I was really busy with other projects.
The fix & the typo are pushed; in the version 1.4.1 for ST3+
We have now both windows.
On the Left: The original file (read-only)
On the right: A new user file.


Show all pages

This adds support for rendering all pages at once by using a new attribute: show-all-pages

sorry I'm no longer maintaining this

@winkerVSbecks Care to transfer the project, mate?

@mbavio sure

@mbavio won't let me do it since you already have a fork. Can you rename your fork?

Done!
On June 6, 2016 at 8:52:24 PM, Varun Vachhar<EMAIL_ADDRESS>wrote:
@mbavio https://github.com/mbavio won't let me do it since you already
have a fork. Can you rename your fork?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/winkerVSbecks/angular-pdf-viewer/pull/51#issuecomment-224123210,
or mute the thread
https://github.com/notifications/unsubscribe/AAAWIO9Y69Jsmx9UtzsVcuT_05DvBnCAks5qJLK1gaJpZM4Hjcry
.

Still can't do it. Apparently:

The target account must not have a repository with the same name, or a fork in the same network.

 If you submit a PR of your fork I can merge it to the https://github.com/winkerVSbecks/angular-pdf-viewer/tree/mbavio branch and then you can take over from there once you get the ownership – merging to master, etc.

Never mind, I can keep development on my own fork, don’t worry about it.
On June 6, 2016 at 8:58:01 PM, Varun Vachhar<EMAIL_ADDRESS>wrote:
Still can't do it. Apparently:
The target account must not have a repository with the same name, or a fork
in the same network.
 If you submit a PR of your fork I
can merge it to the
https://github.com/winkerVSbecks/angular-pdf-viewer/tree/mbavio branch and
then you can take over from there once you get the ownership – merging to
master, etc.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/winkerVSbecks/angular-pdf-viewer/pull/51#issuecomment-224124126,
or mute the thread
https://github.com/notifications/unsubscribe/AAAWIN4LGcjQss65tEngMGFj2DCI3q88ks5qJLQJgaJpZM4Hjcry
.

I added you as a collaborator at least.

That also works, thanks!


custom interval configuration

The current options for interval are per_second, per_minute, per_hour and per_day. Can we include a custom interval?
E.g
per_custom_interval: 300s

Hi @sagar-ganatra,
Thanks for opening the ticket. Could you expand a bit more about:

Your use case?
How this would work? E.g. I notice you mentioned 300s, should that be every 300 seconds? If this is the case.

If that is the case, it seems this is mostly readability, but does not necessarily enable new features. Is that correct?

It is already supported but not properly documented. I think what you want is this:
interval: 300
per_interval: 1

If you configure the bucket like this, the interval is always expressed in milliseconds.
So:
per_second: 100

is a shorthand for:
interval: 1000
per_interval: 100

I hope this makes it clear, I will leave this issue open until I improve the doc.

@dschenkelman thanks for your response. Had noticed that the library supports per_second, per_minute, per_hour and per_day. However, in my case, I wanted to set the limit to 2 requests in 5 minutes. I couldn't find per_interval documented anywhere. Thanks for the above post.


Allow auto-committing when using --non-interactive

I'd like to combine iOS's autoIncrement build option with CI builds. Currently this fails because it can't commit with --non-interactive.

currently autoincrement will just bump the version of the project locally, so you would need to commit and then push those changes to have them actually have an impact when run on ci. would this still be useful to you in this state?

@brentvatne To meet my company's needs I did the following:

Removed the autoIncrement configuration from eas.json
Wrote scripts to do the increments
In a Github Action execute the increment scripts, commit the increment, and then execute eas build

Committing and pushing in a Github Action is quite easy (https://github.com/marketplace/actions/add-commit). One way eas could have provided more value in this process would be to just leave git in a dirty state after doing the version increments and let me handle doing the commit.
The current system requires working around because it offers to do the increment for me, fine, but then it also wants to do the commit for me, but not in a non-interactive way. If I could specify like a --auto-increment-commit-message or something to keep it non-interactive then it could work. Otherwise, if I could do a --skip-commit so it doesn't have to prompt about the message, that would also help.

thank for your the feedback @zencephalon!

If you set EAS_BUILD_AUTOCOMMIT=1 it should work with<EMAIL_ADDRESS>It works only for the commit that is run as part of the build process (when incrementing version), you still need to have a clean git tree before running that command.

Thank U, that's great!

When running this on CI I'm running into this error (with EAS_BUILD_AUTOCOMMIT=1): Error: git exited with non-zero code: 128
It's working locally. I guess it shouldn't be needed but I've also added an SSH Key in the CI flow.
Any ideas?

I just have a prepush hook (using Husky) so it shouldn't affect a commit. Not really getting anymore helpful from the logs either =/

Can you run it with DEBUG=* eas build and post the entire output?
Also, have you tried running the same commands in ci?
git add -u
git commit -m examplemeessage

most likely that error there is because name and email in git is not setup on ci, you might need to run
git config --global user.name "Example Name"
git config --global user.email "example@email"

I figured it out. I think a linebreak had snuck into the auth token.


Package maintenance status

Hi @James1345,
I've noticed this package isn't getting a lot of updates, but it's still widely used by the community.
Would you be open to moving it to JazzBand (https://jazzband.co/about) or open contributions to other developers?
Thanks!

Thanks for the message. It certainly looks like this package would benefit
from Jazzband. I'll look at ways of opening it up
On Tue, 1 Aug 2023 at 13:01, Giovanni Cimolin da Silva <
@.***> wrote:

Hi @James1345 https://github.com/James1345,
I've noticed this package isn't getting a lot of updates, but it's still
widely used by the community.
Would you be open to moving it to JazzBand (https://jazzband.co/about) or
open contributions to other developers?
Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/James1345/django-rest-knox/issues/303, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAESG6RWDSPVM3PAQRQQKEDXTDVYXANCNFSM6AAAAAA27UYNLU
.
You are receiving this because you were mentioned.Message ID:
@.***>

This is awesome! Thanks for the quick follow-up on this.
And let me know if you need a hand maintaining this package, I'm available to help.


Stale views in clustered db

If i save/update document to node A and then I request document from node B by view - not always I get back latest version. But if I request directly by REST API - all work's ok. I think when I get a response from node A,  views on other nodes not synchronously updated.

CouchDB Version used: 2.3.1
Operating System and version: CentOS 7

You mention the REST API as different from what you're using to make requests which has me confused.
If you want to ensure that a view response includes a write the easiest method is to add the ?w=3 request parameter so that you know it exists on all nodes before attempting the view read. A view response starts once all shard ranges have returned a response which means if a third copy has yet to fsync a document write its more likely to be the fastest response and included as part of the view output.


Show which Role Instance is stuck

For StuckDeploymentDetector, modify deployment code to print the role instance in the DE logs and capture that information from Kusto so StuckDeploymentDetector can also say which role instance is stuck in which UD

MultiRoleNeedsReimage in sev2 alerts.
Few incidents:
32111999
32142136


Support new arbitrary angle param for MS Gate

Summary
MS Native Gate now supports an arbitrary theta angle.
Details and comments
It will default to 0.25 (equivalent to half PI), which is equivalent to the previous implementation of this gate.

Looks good aside from the print! Once that's done will approve


fix a emphasis

@yoichinak : Thanks for your contribution! The author, @davidmu1, has been notified to review your proposed change.

Thank you for your feedback.
#sign-off

@GitHubber17 : Thanks for your contribution! The author, @, has been notified to review your proposed change.


Hub.State always null

Hub.State is always null, even after calling hub.SyncConfigurationAsync();. Hitting this when calling hub.GetRunningActivity().
Background: simple console app to get the running activity and when my I switch my domotics to Night-Mode it should return the status and if different than -1 (Off) it should activate the -1 activity. Is it because the console app is not open for a long enough time to receive the connect.statedigest?get or connect.statedigest?notify commands?

Yeah I implemented this mostly halfway last night. There is a method like
GetStateAsync you can call which is separate from SyncConfigurationAsync
On Wed, Dec 19, 2018, 10:13 AM Délano<EMAIL_ADDRESS>wrote:

Hub.State is always null, even after calling hub.SyncConfigurationAsync();.
Hitting this when calling hub.GetRunningActivity().
Background: simple console app to get the running activity and when my I
switch my domotics to Night-Mode it should return the status and if
different than -1 (Off) it should activate the -1 activity. Is it because
the console app is not open for a long enough time to receive the
connect.statedigest?get or connect.statedigest?notify commands?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jlynch630/Harmony.NET/issues/10, or mute the thread
https://github.com/notifications/unsubscribe-auth/AB39CIDeB61Zj_ul2D2wmWfDSAfm3H5tks5u6oG4gaJpZM4Zaww1
.

A brilliant, had to change
public Dictionary<string, string> Updates { get; set; }

to
public List<Dictionary<string, string>> Updates { get; set; }

in StateDigest to get it do deserialize though.

Interesting. Wonder why it didn't throw
On Wed, Dec 19, 2018, 10:22 AM Délano<EMAIL_ADDRESS>wrote:

A brilliant, had to change
public Dictionary<string, string> Updates { get; set; }
to
public List<Dictionary<string, string>> Updates { get; set; }
in StateDigest to get it do deserialize though.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jlynch630/Harmony.NET/issues/10#issuecomment-448695339,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB39CDc3lpOAjMEoO3g_e3E6h25e6nW7ks5u6oPNgaJpZM4Zaww1
.


Handle is_final and endpointing together with utterance end

Proposed changes
This is an improved version to make it easier to understand the docs here
Users tend to not understand how to handle these things and our samples do not include how it works
Types of changes
What types of changes does your code introduce to the community Python SDK?
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update or tests (if none of the other choices apply)

hey bud, what's this for? might be worth making this a separate example file. don't be afraid to make as many examples as you want, just name them appropriately

This is to properly handle the websocket messages for endpointing, utterance end and interim results


awaitable full clean

Ability to call awaitable Full clean. To be sure it was cleared.
Could you be so kind to approve it or give me feedback what can I fix in it to merge?

Coverage: 94.267% (-0.2%) from 94.511% when pulling 708f6b9cfaeadb8d4a24ed174819c6e264b55217 on troepolik:main into 34cf7b793d55a8767d982a8c7a89d4b7de5eb62d on neon-sunset:main.

It does make sense to expose a task to wait clear completion in place. However, you will have to add public ExecuteFullEviction too.

Done. But for me is not so clear how to properly run eviction. Please, look at changes closer.
Is I should call ImmediateFullEviction and is IsActive flag checked  properly?

It will require additional changes to forward either the task of Task.Run(ImmediateFullEviction<K, V>) or StaggeredFullEviction<K, V>.. However, thinking about it some more, it can probably be handled in a more graceful way by "joining" an already running full eviction if any instead of throwing/blocking and re-running/not doing anything.
For now, just remove the ExecuteFullEviction part - I will commit it separately.

Done


Fix: Deprecate the MFD scaling approach in favour of Rupture Sampler Filtering

MFD Targets we want to have compatibility with opensha approach long term so we must..
(for discussion / confirmation)

[ ] deprecate the ManipulateMFD API option.
[ ] set targets to zero for all out-of-bounds bins.
[ ] use complementary filtering in rupture sampleing to ensure there are no out-of-bounds ruptures available for inversion to use.
return to using opensha/opensha as the hacked Stats class is not required (for stddev/rate = -1 case ) is not required.
[ ] Does FILTER become mandatory now?

@chrisbc

FILTER_RUPSET means we literally filter the rupture set and take out ruptures. This is currently only implemented for ruptures above a certain magnitude. It's set up via NZSHM22_CrustalInversionRunner.setMaxMags(String maxMagType, double maxMagSans, double maxMagTVZ)
The rupture sampler determines which ruptures are used during the inversion run. We currently only exclude ruptures below a certain  magnitude here. It's set up via NZSHM22_AbstractInversionRunner.setExcludeRupturesBelowMinMag(boolean excludeRupturesBelowMinMag)

see https://github.com/GNS-Science/nzshm-opensha/issues/294

[ ] determine current status of new MFD soln
[ ] test
[ ] decide on merging new approach


Build quickstarts before comparing dependencies

This should fix the failure [1] visible in https://github.com/kiegroup/optaplanner/pull/2246.
[1] https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/blue/organizations/jenkins/KIE%2Foptaplanner%2Fmain%2Fpullrequest.quarkus-branch%2Foptaplanner.quarkus-branch.downstream.optaplanner-quickstarts/detail/optaplanner.quarkus-branch.downstream.optaplanner-quickstarts/1/pipeline

JIRA

Referenced pull requests

How to retest this PR or trigger a specific build:

for pull request checks
Please add comment: Jenkins retest this

for a specific pull request check
please add comment: Jenkins (re)run [optaplanner-quickstarts] tests

for a full downstream build
please add the label run_fdb

for quarkus branch checks
Run checks against Quarkus current used branch
Please add comment: Jenkins run quarkus-branch

for a quarkus branch specific check
Run checks against Quarkus current used branch
Please add comment: Jenkins (re)run [optaplanner-quickstarts] quarkus-branch

for quarkus main checks
Run checks against Quarkus main branch
Please add comment: Jenkins run quarkus-main

for a specific quarkus main check
Run checks against Quarkus main branch
Please add comment: Jenkins (re)run [optaplanner-quickstarts] quarkus-branch

for native checks
Run native checks
Please add comment: Jenkins run native

for a specific native check
Run native checks
Please add comment: Jenkins (re)run [optaplanner-quickstarts] native

for mandrel checks
Run native checks against Mandrel image
Please add comment: Jenkins run mandrel

for a specific mandrel check
Run native checks against Mandrel image
Please add comment: Jenkins (re)run [optaplanner-quickstarts] mandrel

The PR checks are using the build-chain config in kogito-pipelines repository.
https://github.com/kiegroup/kogito-pipelines/pull/653 should solve the quarkus PR check problem

Replaced by https://github.com/kiegroup/kogito-pipelines/pull/653.


Cleanup qr code parsing error handling

While working on #261 it again became clear that the current error handling when parsing identification and verification qr codes is ugly to read and hard to maintain.
This concerns these two files:
https://github.com/ehrenamtskarte/ehrenamtskarte/blob/main/frontend/lib/identification/identification_qr_content_parser.dart
and
https://github.com/ehrenamtskarte/ehrenamtskarte/blob/main/frontend/lib/verification/scanner/verification_qr_content_parser.dart

I already kind of started working on that


Improve write speed of microSD card via SPI and FatFS

This PR is adding a new function sdhc_spi_write_multi to increase the write operation on SD card using a SPI bus. This function is sending the CMD25 (Write multiple blocks) instead of looping on CMD24  (Write single blocks) like in the sdhc_spi_write function.
when the nb of blocks to write is significant (more than 2).
There is a sample application coming from  @EminYagmahan to measure transfer speed.
This PR fixes the "write" part of the https://github.com/zephyrproject-rtos/zephyr/issues/22906.
Test using the ci-shield (PR #26741) with the following command:
$ west build -b nucleo_f411re samples/subsys/fs/spi_sd/ -DSHIELD="ci_shield"
Note that the multiple block read operation is already in the sdhc_spi_read() function which sends the SDHC_READ_MULTIPLE_BLOCK command
Signed-off-by: Francois Ramu<EMAIL_ADDRESS>

Measurements reported in the issue #22906 with this PR shows a slight improvement of the write transfer speed.
Note that multi block transfer is for more than 2 blocks (for 1 or 2 blocks, the single mode is kept).

update after comments from @pabigot

Blocked until contained material from #26319 is merged.  I'll remove my NAK after this is rebased on master with that content.

Really sorry for being slow with #26319, I will try to address comments ASAP.
But otherwise, this looks fairly orthogonal to #26319, so maybe you can even base your PR directly on master if I am too slow?

@FRASTM Please rebase on master and fix the merge conflicts.

rebase

@FRASTM , please rebase

rebase


Enbable Import-Module to also load Display XML in Compatibility mode

Summary of the new feature/enhancement

When PowerShell 7 imports a module, it invokes compatibility mode when it finds a module not fully supported in PowerShell Core/7. This allows the cmdlets to be used and in most cases works well.
If, however, the module has display XML that helps format the output nicely, such XML is not imported. This results in less nice output. An easy workaround is to manually import the XML into the current session and then all works well.
Here is an example:
PS C:\Foo> # Import Server Manager
PS C:\Foo> Import-Module -Name ServerManager
WARNING: Module ServerManager is loaded in Windows PowerShell using WinPSCompatSession remoting session; please
note that all input and output of commands from this module will be deserialized objects. If you want to load this module
into PowerShell please use 'Import-Module -SkipEditionCheck' syntax.
PS C:\Foo> # Get features and view sub-optimal output                                                                                PS C:\Foo> Get-WindowsFeature -Name "*PowerShell*"

Display Name                                            Name                       Install State
------------                                            ----                       -------------
                                                        RSAT-Clustering-PowerS…        Available
                                                        RSAT-AD-PowerShell             Available
                                                        Hyper-V-PowerShell             Available
                                                        RSAT-RemoteAccess-Powe…        Available
                                                        PowerShellRoot                 Installed
                                                        PowerShell                     Installed
                                                        PowerShell-V2                    Removed
                                                        WindowsPowerShellWebAc…        Available

PS C:\Foo> # Import the XML
PS C:\Foo> $SMFolder = "C:\Windows\System32\WindowsPowerShell\v1.0\Modules\ServerManager"
PS C:\Foo> $XMLFile  = Join-Path $SMFolder "Feature.format.ps1xml"
PS C:\Foo> Update-FormatData -Prepend $XMLFile
PS C:\Foo> # Retest
PS C:\Foo> Get-WindowsFeature -Name "*PowerShell*"

Display Name                                            Name                       Install State
------------                                            ----                       -------------
            [ ] Failover Cluster Module for Windows Po… RSAT-Clustering-PowerS…        Available
            [ ] Active Directory module for Windows Po… RSAT-AD-PowerShell             Available
            [ ] Hyper-V Module for Windows PowerShell   Hyper-V-PowerShell             Available
            [ ] Remote Access module for Windows Power… RSAT-RemoteAccess-Powe…        Available
[X] Windows PowerShell                                  PowerShellRoot                 Installed
    [X] Windows PowerShell 5.1                          PowerShell                     Installed
    [ ] Windows PowerShell 2.0 Engine                   PowerShell-V2                    Removed
    [ ] Windows PowerShell Web Access                   WindowsPowerShellWebAc…        Available

Proposed technical implementation details (optional)

Have Import module look inside the module and automatically import any Type or FormatXML.
If necessary, have a -ImportFormatXML and -ImportTypeXML switches to force the import (or deny it explicitly).
Another example of this issue is #14595

/cc @anmenaga

/cc @anmenaga

A small note: IIRC compatibility mode uses implicit remoting and when we remote, we don't bring the formatting XML across because it can contain scriptblocks which opens up the possibility of code injection attacks. In this case, since we trust both ends, we could special case the scenario but we'd have to be careful not to break security for the general case. Another potential issue is that any code that is brought across could fail since it may depend on types that aren't present.

A small note: IIRC compatibility mode uses implicit remoting and when we remote, we don't bring the formatting XML across because it can contain scriptblocks which opens up the possibility of code injection attacks. In this case, since we trust both ends, we could special case the scenario but we'd have to be careful not to break security for the general case. Another potential issue is that any code that is brought across could fail since it may depend on types that aren't present.

I would have thought we could bring in any xml that is in System32 as an exception. It would have been nice had they all been signed.
Having worked with many of the modules, I've seen no issues with importing the XML with respect to non-existent types. Of
course that is not to say there isn't any.
And to mitigate the risk, what about a -ImportFormatXML switch to Import-Module? By default, no xml gets imported, but if the switch is set, then it would be. That would let the user decide.

I would have thought we could bring in any xml that is in System32 as an exception. It would have been nice had they all been signed.
Having worked with many of the modules, I've seen no issues with importing the XML with respect to non-existent types. Of
course that is not to say there isn't any.
And to mitigate the risk, what about a -ImportFormatXML switch to Import-Module? By default, no xml gets imported, but if the switch is set, then it would be. That would let the user decide.

BUMP:
Any chance of getting this as an experimental feature for 7.3?
I suck at C# and can't quite work out where to add the code to ImportModuleCommand.cs.
And would it be a good idea to add to the telemetry to see how many type and format XML files get imported too??


Clean up disks through ironic and delete them

helper script to clean up disks through ironic for baremetal envs

I'd like to see some bug links in this script.  You can start with a bug against kni-installer, as the cluster destroy code there should ensure all of the right cleanup happens.
For the masters, kni-install should be using terraform to destroy the masters cleanly.
The workers should be destroyed as well via this code path, as well.  It will need to remove all worker Machines, and then remove the BareMetalHosts, causing the baremetal-operator to deprovision them.

Ironic is now clean all nodes where they get registered, so we shouldn't normally need to run this script.
https://github.com/metalkube/metalkube-ironic/commit/e6081b9bb64bfefaac5e46f4d37b0ac606ded8f7


Implement Custom filters for activity layers

Per sprint planning, we wanted to track implementation of this in a separate issue from the design 1168. I think we have enough info to get started based on our discussion from today - I'm going to copy @lklyne 's conclusions here as a starting point for implementation:
Background
There's a couple of related ideas we can chain together to improve the row building and filtering experience. The overall goals are to simplify how rows are built and filtered, make filters more dynamic so they don't get stale as a mission model shifts, and add the ability for people to drill down and customize them if needed. We don't want to expose a lot of that complexity up front, but it should be easy to access.
Current issues
Some of the pain points with our approach to filtering that this design direction aims to address:

We don't support custom filters, making it tricky to build meaningful rows with multi-spacecraft missions #671
Filtering is generally tedious, settings are buried in the row details, and our multi select approach doesn't scale well to thousands of activities. #592
Because filtering is limited and tedious, it's easy to get a row that is focused on information specific to a task. With large plans, this means lots of information on the timeline that isn't relevant, creating clutter and visual noise.
Row building isn't set up for exploring the mission model. #634. We have a broad list of all activity types in the mission model, but these aren't tied to the process of creating row filters. This section can only be used to drag and drop or add an activity instance to the timeline, an uncommon workflow as instances are typically placed using procedural scheduling. Exploring resources is even more limited as the only section to view what's in the mission model is from the small popover ui in resources filtering.
Activity filters are static and don't leverage logical categories like subsystem or all. After selecting individual activity types, that list doesn't stay up to date as a mission model shifts. The current workaround is to use a text search and batch add for activities, which works well if a subsystem has a name included. https://jira.jpl.nasa.gov/browse/ECGDSITD-517 #973

"There's no capability to select all the AVS activities, short of clicking on each one-at-a-time.  This is onerous but possible because all the AVS activities begin with the string "AVS".

The hierarchy and labeling of layers within row details doesn't match the system. We've made improvements to the timeline rendering so that activities and resources show up in a logical way: all activities pack or group together and don't overdraw. And there's a default stacking that supports most use cases: lines on top, activities in the middle, and x range charts on the bottom. The concept of layers may not even need to be surfaced when building a row.

Proposed solutions
1) New browse panel: a better way to browse activities and resources (heavily inspired by the workflow in raven)

Dedicated space to browse and filter activities and resources
Filter using text includes or subsystem tag
Quick actions to add results to a new or existing row. Preserve current action for adding an instance to timeline
Multi select to add single items from filtered results
Future considerations

similar workflow for external events
More logical grouping or hierarchy in list

2) Improved filters in row details

Filters from browse panel are carried over here. What's specified in text includes or subsystem tag shows a dynamic list of results that stay up to date with the mission model
List the activity types that match the filters for immediate feedback
For each resulting activity type, show filters based on the type's parameters. For each type, these filters can be chained together to build queries like Param: Spacecraft = A OR Param: Spacecraft = B.
Stretch / maybe not needed: When expert filters are displayed, show a list of the resulting instances for quick feedback on what the filters are doing. This could be more visible
Future considerations

save filters so they can be re-used
parameter filters on a group

3) Clear up hierarchy in row details

Two sections for activities and one for resources. (and in the future events)
Resources are changed between line and x-range in their settings

Open questions + design

Settings panel for activities and resources. How do we integrate the current filters?

How do we handle layer naming?

Empty state for filters from row details / adding a new "layer" from here.
Details around boolean logic and populating parameter list
Dealing with enum / hierarchy parameters (not sure the name for this)

Prototype:
https://www.figma.com/proto/gsWLcy9UuqSQVqbyHf4Lw6/AERIE-Filtering%2C-Activity-UX%2C-Timeline-Density?page-id=885%3A65354&node-id=1007-150579&viewport=35%2C-7458%2C0.55&t=Ia1AyYjoyOCSVWUg-1&scaling=min-zoom&content-scaling=fixed&starting-point-node-id=1007%3A64472&show-proto-sidebar=1
Design files:
https://www.figma.com/board/PE4EJhU1GM7eEeJOyfdN3I/Aerie-Filters-and-Row-Building?node-id=0-1&t=9YbmVWV1sPhJOqlj-1
https://www.figma.com/design/gsWLcy9UuqSQVqbyHf4Lw6/AERIE-Filtering%2C-Activity-UX%2C-Timeline-Density?node-id=885-65354&t=5O7Q5GIEuaSAPokb-1

TODO: Split step 1 into its own ticket

Writeup on design process on #1461
Figma ready for dev section


build:watch syntax errors

When running npm run build:watch I get a lot of errors related to JSX. It's like this:
[compile] [themeWatcher]   3 | const InputField = field => ( [compile] [themeWatcher] > 4 |  <div className={field.className}> [compile] [themeWatcher]     |  ^                                                                 [compile] [themeWatcher]   5 |          <label htmlFor={field.id}>                                                    [compile] [themeWatcher]   6 |                  {field.label}                                                                 [compile] [themeWatcher]   7 |                  {field.meta.touched &&                                                [compile] [themeWatcher] SyntaxError: theme/src/components/checkoutForm/paymentForm/LiqPay.js: Unexpected token (9:11)  [compile] [themeWatcher]    7 |         }
Why is that happening and how to fix it?

Fixed.


Error loading model due to missing keys in state dictionary calculated by 'get_relative_coords_table_all'

Thank you very much for making this model available as open source!
I am having trouble loading the model because I am getting an error message indicating that some keys are missing from the state dictionary.
I have noticed that all of the missing keys are associated with the function 'get_relative_coords_table_all'. Could you please let me know if there is anything I am missing or doing incorrectly?
"table_w", "table_sh", "table_sv", "index_w", "index_sh_a2w", "index_sh_w2a", "index_sv_a2w", "index_sv_w2a", "mask_w", "mask_sh_a2w", "mask_sh_w2a", "mask_sv_a2w", "mask_sv_w2a".

I met the same problem.  How did you solve it?

Please let me know. I met the same problem as well.


Improve install instructions and add usage documentation

the Twitter thread for making a shortcut on a desktop cannot be opened anymore.

Thank you for reporting! I will move the instructions to the README.


Abstract socket namespace not work for 1.48

Version: v1.48.0
Platform:  linux

@@ -266,8 +234,11 @@ int uv_pipe_connect2(uv_connect_t* req,
-  if (*name == '\0')
-    addrlen = offsetof(struct sockaddr_un, sun_path) + namelen;
-  else
-    addrlen = sizeof saddr;
-
   do {
-    r = connect(uv__stream_fd(handle), (struct sockaddr*)&saddr, addrlen);
+    r = connect(uv__stream_fd(handle),
+                (struct sockaddr*)&saddr, sizeof saddr);
   }
   while (r == -1 && errno == EINTR);

why drop addrlen here?

I'm not sure I understand. I can see the addrlen just fine in v1.48.0: https://github.com/libuv/libuv/blob/v1.48.0/src/unix/pipe.c#L293-L301

sorry for wrong description.
I find after upgrade I get error: "connect(/run/xseccomp1.sock) errno -22, invalid argument"
maybe problem inside uv_pipe_bind2, I will check more.

If you have a reproducer I'm happy to look

confirm is my code not handle namelen correct


[BugFix] bug in Array column's byte_size

Signed-off-by: xyz<EMAIL_ADDRESS>What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #8306
Problem Summary(Required) ：

_elements->byte_size 's input variables are (from, from + size), it should be (from, size)

run starrocks_be_unittest

@mergify backport branch-2.3

@mergify backport branch-2.2

@mergify backport branch-2.1


Update flagged code to use python 2.7 only idioms

Do not merge just yet, more commits coming onto this branch.
Fixes #6519

@ticoann please merge. That E0202 seems to be a known bug in pylint


feat(Mathlib/Control/Random): enhance to a monad transformer

This follows the pattern that is already present in the haskell version

[ ] depends on: #8849

bors d+

bors merge


Cleanup the README

A good FOSS project deserves a good README. ;)
I would suggest:

[ ] Getting rid of '...'
[ ] Fixing the Markdown/layout

Ah. I see. It's restructured text in a markdown file. Let me get this. ;)

WIP #25


Focusing secondary windows

In my application I have dual screen setup and we have built a custom task switcher (as the Windows UI is locked out) that allows a user to focus running applications.
When running the application I have the following processes in the Windows Task Manager:

Process ID 7900 is the main app and window and 17512 is the second window and the other two processes being the background processes for the main application.
If I run the following in the command prompt: wscript Focus.vbs 17512
And the contents of the Focus.vbs is:
set objShell = WScript.CreateObject("WScript.Shell")
objShell.AppActivate WScript.Arguments.Item(0)

It doesn't bring the second window to focus! But if I run the above code with 7900 (the first window), then it brings that window to focus fine. I've also noticed that the second window title is null in the task manager.
So it seems that this 4th process is not actually the second window but a background process for it. Is this correct?
Is there a way to get the actual process id for the second window that can be focused? Or will we have to listen to focus of the main window then bring all other windows to focus as well.

All windows are created in the main process, the renderer process is only responsible for drawing the page, there are also a few other background processes none of them creates windows.

If your windows have unique titles you can access them via VBScript using objShell.AppActivate "Window Title".
If your background process is spawned in Electron keep your window management within Electron and JavaScript and use the BrowserWindow API as it supports multiple windows and screens and focus is as easy as win.focus().


keep folderview closed on mobile startup

this just puts back something that got lost in an old commit

The change here looks good to me. I noticed that neither this, nor the fact that the controls are supposed to start closed on mobile, were working on my phone (even though it was fine in the DevTools device mode). My phone is a Samsung Galaxy, so it's not like it's something weird.
Switching how we determine whether something is a touchscreen or not (in a way that still makes sense) fixed the issue for me, so I've pushed that on top of this. I think this actually makes more sense - there may be e.g. touchscreen laptops where both (hover: none) doesn't match.


FetchCurrentDNSCryptCert does not honor proxy settings

Currently FetchCurrentDNSCryptCert does not honor proxy settings causing it to try direct connection regardless of these settings.
It seems that miekg/dns does not currently support proxy dialers (Unless I missed that), so some changes would be required to support that as well.

Waiting for your contribution to support this :)


New coding standard

Usage of the newly introduced zendframework/zend-coding-standard for CS checks.

@Koopzington we wait on this, as reported here https://github.com/zendframework/zend-crypt/pull/39


python310Packages.whirlpool-sixth-sense: 0.18 -> 0.18.2

Diff: https://github.com/abmantis/whirlpool-sixth-sense/compare/refs/tags/0.18...0.18.2
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 213572 run on x86_64-linux 1

1 package failed to build:

home-assistant-component-tests.whirlpool

2 packages built:

python310Packages.whirlpool-sixth-sense
python311Packages.whirlpool-sixth-sense