VPC deployment - failure to retry other host in a cluster after the choosen host not having enough capacities

ACS <IP_ADDRESS> (VMware, but irrelevant)
Trying to deploy VPC (VR), the userdispersing heuristic is choosing one of the clusters that have at least one host with available capacities - the chosen cluster has 2 hosts host. After it fails to deploy VR on the first chosen host due to lack of capacities, it completely fails the job, instead of retrying on the other host in that cluster that DOES have capacity.
Assuming I don't have any special special, this is very, very bad - have not tested on user VMs.
Logs below (on this mgmt server, we were experimenting with splitting INFO vs rest of the logs/DEBUG - so I'm pasting 2 separate sections just for completenes - otherwise DEBUG logs alone should be enough
Weird thing is that I don't see the usual "requested XXX CPU, does it have it, yes; requesting YYY RAM, does it have it..." etc
INGO LOGS:

2020-12-03 18:21:53,912 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-94:ctx-d7e162ba job-1568832) (logid:9fcabb69) Add job-1568832 into job monitoring
2020-12-03 18:21:54,660 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833) (logid:5187e69e) Add job-1568833 into job monitoring
2020-12-03 18:21:54,696 INFO  [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac)  Uefi params UefiFlag: null Boot Type: null Boot Mode: null
2020-12-03 18:21:54,747 INFO  [c.c.s.StorageManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Storage pool null (2) does not supply IOPS capacity, assuming enough capacity
2020-12-03 18:21:54,916 ERROR [c.c.c.CapacityManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Exception allocating VM capacity
2020-12-03 18:21:54,963 INFO  [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Caught CloudRuntimeException, returning job failed com.cloud.utils.exception.CloudRuntimeException: Host does not have enough capacity for vm 50516
2020-12-03 18:21:54,999 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833) (logid:eb5292ac) Remove job-1568833 from job monitoring
2020-12-03 18:21:55,014 WARN  [c.c.n.v.VpcManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Failed to start vpc [VPC [13-andrija-test-VPC2] due to
2020-12-03 18:21:56,657 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Work-Job-Executor-89:ctx-551f6d24 job-1568832/job-1568834) (logid:8efcf05c) Add job-1568834 into job monitoring
2020-12-03 18:21:56,701 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Work-Job-Executor-89:ctx-551f6d24 job-1568832/job-1568834) (logid:eb5292ac) Remove job-1568834 from job monitoring
2020-12-03 18:21:56,826 INFO  [o.a.c.s.v.VolumeServiceImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Expunge volume with no data store specified
2020-12-03 18:21:56,829 INFO  [o.a.c.s.v.VolumeServiceImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Volume 51108 is not referred anywhere, remove it from volumes table
2020-12-03 18:21:56,980 WARN  [c.c.n.v.VpcManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Successfully destroyed vpc [VPC [13-andrija-test-VPC2] that failed to start
2020-12-03 18:21:56,992 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-94:ctx-d7e162ba job-1568832) (logid:eb5292ac) Remove job-1568832 from job monitoring

DEBUG LOGS:

2020-12-03 18:21:53,912 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-94:ctx-d7e162ba job-1568832) (logid:9fcabb69) Add job-1568832 into job monitoring
2020-12-03 18:21:53,916 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (qtp869601985-807140:ctx-cd05fc2a ctx-ae03f83a) (logid:27c180ae) submit async job-1568832, details: AsyncJobVO {id:1568832, userId: 2, accountId: 2, instanceType: None, instanceId: 13, cmd: org.apache.cloudstack.api.command.admin.vpc.CreateVPCCmdByAdmin, cmdInfo: {"httpmethod":"GET","ctxAccountId":"2","uuid":"2e99aade-472a-4aa6-9e54-28baf4df847c","cmdEventType":"VPC.CREATE","vpcofferingid":"9b3f121d-2f44-4414-bd64-8fc8be9a1a51","displaytext":"andrija-test-VPC2","response":"json","ctxUserId":"2","name":"andrija-test-VPC2","zoneid":"c852110c-e1b5-4c8c-9e3d-f2a6e76b8fc0","cidr":"<IP_ADDRESS>/8","ctxStartEventId":"1849529","id":"13","ctxDetails":"{"interface com.cloud.network.vpc.Vpc":"2e99aade-472a-4aa6-9e54-28baf4df847c","interface com.cloud.dc.DataCenter":"c852110c-e1b5-4c8c-9e3d-f2a6e76b8fc0","interface com.cloud.network.vpc.VpcOffering":"9b3f121d-2f44-4414-bd64-8fc8be9a1a51"}","":"1607019296306"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:<PHONE_NUMBER>1, completeMsid: null, lastUpdated: null, lastPolled: null, created: null, removed: null}
2020-12-03 18:21:53,916 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832) (logid:eb5292ac) Executing AsyncJobVO {id:1568832, userId: 2, accountId: 2, instanceType: None, instanceId: 13, cmd: org.apache.cloudstack.api.command.admin.vpc.CreateVPCCmdByAdmin, cmdInfo: {"httpmethod":"GET","ctxAccountId":"2","uuid":"2e99aade-472a-4aa6-9e54-28baf4df847c","cmdEventType":"VPC.CREATE","vpcofferingid":"9b3f121d-2f44-4414-bd64-8fc8be9a1a51","displaytext":"andrija-test-VPC2","response":"json","ctxUserId":"2","name":"andrija-test-VPC2","zoneid":"c852110c-e1b5-4c8c-9e3d-f2a6e76b8fc0","cidr":"<IP_ADDRESS>/8","ctxStartEventId":"1849529","id":"13","ctxDetails":"{"interface com.cloud.network.vpc.Vpc":"2e99aade-472a-4aa6-9e54-28baf4df847c","interface com.cloud.dc.DataCenter":"c852110c-e1b5-4c8c-9e3d-f2a6e76b8fc0","interface com.cloud.network.vpc.VpcOffering":"9b3f121d-2f44-4414-bd64-8fc8be9a1a51"}","":"1607019296306"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:<PHONE_NUMBER>1, completeMsid: null, lastUpdated: null, lastPolled: null, created: null, removed: null}
2020-12-03 18:21:53,968 DEBUG [c.c.n.IpAddressManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) lock account 2 is acquired
2020-12-03 18:21:53,990 DEBUG [c.c.r.ResourceLimitManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Updating resource Type = public_ip count for Account = 2 Operation = increasing Amount = 1
2020-12-03 18:21:54,004 DEBUG [c.c.n.IpAddressManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Releasing lock account 2
2020-12-03 18:21:54,028 DEBUG [c.c.n.r.NetworkHelperImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Allocating the VR with id=50516 in datacenter com.cloud.dc.DataCenterVO$$EnhancerByCGLIB$$5ead9b9f@1 with the hypervisor type VMware
2020-12-03 18:21:54,043 DEBUG [c.c.n.r.NetworkHelperImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Adding nic for Virtual Router in Control network
2020-12-03 18:21:54,052 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Found existing network configuration for offering [Network Offering [3-Control-System-Control-Network]: Ntwk[202|Control|3]
2020-12-03 18:21:54,052 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Releasing lock for Acct[17f520c4-6a9d-11e6-8ec0-0050568ef122-system]
2020-12-03 18:21:54,061 DEBUG [c.c.n.r.NetworkHelperImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Adding nic for Virtual Router in Public network
2020-12-03 18:21:54,070 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Found existing network configuration for offering [Network Offering [1-Public-System-Public-Network]: Ntwk[200|Public|1]
2020-12-03 18:21:54,070 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Releasing lock for Acct[17f520c4-6a9d-11e6-8ec0-0050568ef122-system]
2020-12-03 18:21:54,093 DEBUG [c.c.v.VirtualMachineManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Allocating entries for VM: VM[DomainRouter|r-50516-VM]
2020-12-03 18:21:54,099 DEBUG [c.c.v.VirtualMachineManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Allocating nics for VM[DomainRouter|r-50516-VM]
2020-12-03 18:21:54,100 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Allocating nic for vm VM[DomainRouter|r-50516-VM] in network Ntwk[202|Control|3] with requested profile null
2020-12-03 18:21:54,118 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Allocating nic for vm VM[DomainRouter|r-50516-VM] in network Ntwk[200|Public|1] with requested profile NicProfile[0-0-null-<IP_ADDRESS>-vlan://4
2020-12-03 18:21:54,137 DEBUG [c.c.v.VirtualMachineManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Allocating disks for VM[DomainRouter|r-50516-VM]
2020-12-03 18:21:54,148 DEBUG [c.c.v.VirtualMachineManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Allocation completed for VM: VM[DomainRouter|r-50516-VM]
2020-12-03 18:21:54,158 DEBUG [c.c.n.r.NetworkHelperImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Starting router VM[DomainRouter|r-50516-VM]
2020-12-03 18:21:54,170 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Sync job-1568833 execution on object VmWorkJobQueue.50516
2020-12-03 18:21:54,660 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833) (logid:5187e69e) Add job-1568833 into job monitoring
2020-12-03 18:21:54,668 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833) (logid:eb5292ac) Executing AsyncJobVO {id:1568833, userId: 2, accountId: 2, instanceType: null, instanceId: null, cmd: com.cloud.vm.VmWorkStart, cmdInfo: rO0ABXNyABhjb20uY2xvdWQudm0uVm1Xb3JrU3RhcnR9cMGsvxz73gIAC0oABGRjSWRMAAZhdm9pZHN0ADBMY29tL2Nsb3VkL2RlcGxveS9EZXBsb3ltZW50UGxhbm5lciRFeGNsdWRlTGlzdDtMAAljbHVzdGVySWR0ABBMamF2YS9sYW5nL0xvbmc7TAAGaG9zdElkcQB-AAJMAAtqb3VybmFsTmFtZXQAEkxqYXZhL2xhbmcvU3RyaW5nO0wAEXBoeXNpY2FsTmV0d29ya0lkcQB-AAJMAAdwbGFubmVycQB-AANMAAVwb2RJZHEAfgACTAAGcG9vbElkcQB-AAJMAAlyYXdQYXJhbXN0AA9MamF2YS91dGlsL01hcDtMAA1yZXNlcnZhdGlvbklkcQB-AAN4cgATY29tLmNsb3VkLnZtLlZtV29ya5-ZtlbwJWdrAgAESgAJYWNjb3VudElkSgAGdXNlcklkSgAEdm1JZEwAC2hhbmRsZXJOYW1lcQB-AAN4cAAAAAAAAAACAAAAAAAAAAIAAAAAAADFVHQAGVZpcnR1YWxNYWNoaW5lTWFuYWdlckltcGwAAAAAAAAAAHBwcHBwcHBwc3IAEWphdmEudXRpbC5IYXNoTWFwBQfawcMWYNEDAAJGAApsb2FkRmFjdG9ySQAJdGhyZXNob2xkeHA_QAAAAAAADHcIAAAAEAAAAAF0AA5SZXN0YXJ0TmV0d29ya3QAP3JPMEFCWE55QUJGcVlYWmhMbXhoYm1jdVFtOXZiR1ZoYnMwZ2NvRFZuUHJ1QWdBQldnQUZkbUZzZFdWNGNBRXhw, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:<PHONE_NUMBER>1, completeMsid: null, lastUpdated: null, lastPolled: null, created: Thu Dec 03 18:21:54 GMT 2020, removed: null}
2020-12-03 18:21:54,668 DEBUG [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833) (logid:eb5292ac) Run VM work job: com.cloud.vm.VmWorkStart for VM 50516, job origin: 1568832
2020-12-03 18:21:54,671 DEBUG [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Execute VM work job: com.cloud.vm.VmWorkStart{"dcId":0,"rawParams":{"RestartNetwork":"rO0ABXNyABFqYXZhLmxhbmcuQm9vbGVhbs0gcoDVnPruAgABWgAFdmFsdWV4cAE"},"userId":2,"accountId":2,"vmId":50516,"handlerName":"VirtualMachineManagerImpl"}
2020-12-03 18:21:54,683 DEBUG [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Successfully transitioned to start state for VM[DomainRouter|r-50516-VM] reservation id = 6ba23963-f4c3-4e05-bbd7-34739b1b7167
2020-12-03 18:21:54,693 DEBUG [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Deploy avoids pods: null, clusters: null, hosts: null
2020-12-03 18:21:54,696 INFO  [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac)  Uefi params UefiFlag: null Boot Type: null Boot Mode: null
2020-12-03 18:21:54,711 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) DeploymentPlanner allocation algorithm: null
2020-12-03 18:21:54,711 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Trying to allocate a host and storage pools from dc:1, pod:null,cluster:null, requested cpu: 500, requested ram: 268435456
2020-12-03 18:21:54,711 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Is ROOT volume READY (pool already allocated)?: No
2020-12-03 18:21:54,712 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Deploy avoids pods: [], clusters: [], hosts: []
2020-12-03 18:21:54,715 DEBUG [c.c.d.FirstFitPlanner] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Searching all possible resources under this Zone: 1
2020-12-03 18:21:54,717 DEBUG [c.c.d.FirstFitPlanner] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Zone: 1
2020-12-03 18:21:54,721 DEBUG [c.c.d.FirstFitPlanner] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Removing from the clusterId list these clusters from avoid set: []
2020-12-03 18:21:54,728 DEBUG [c.c.d.UserDispersingPlanner] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Applying Userdispersion heuristic to clusters for account: 2
2020-12-03 18:21:54,734 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Checking resources in Cluster: 4 under Pod: 1
2020-12-03 18:21:54,735 DEBUG [c.c.a.m.a.i.RandomAllocator] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Looking for hosts in dc: 1  pod:1  cluster:4
2020-12-03 18:21:54,737 DEBUG [c.c.a.m.a.i.RandomAllocator] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Random Allocator found 2  hosts
2020-12-03 18:21:54,737 DEBUG [c.c.a.m.a.i.RandomAllocator] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Random Host Allocator returning 2 suitable hosts
2020-12-03 18:21:54,739 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Checking suitable pools for volume (Id, Type): (51108,ROOT)
2020-12-03 18:21:54,739 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) We need to allocate new storagepool for this volume
2020-12-03 18:21:54,740 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Calling StoragePoolAllocators to find suitable pools
2020-12-03 18:21:54,742 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) System VMs will use shared storage for zone id=1
2020-12-03 18:21:54,742 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) LocalStoragePoolAllocator trying to find storage pool to fit the vm
2020-12-03 18:21:54,742 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) ClusterScopeStoragePoolAllocator looking for storage pool
2020-12-03 18:21:54,742 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Looking for pools in dc: 1  pod:1  cluster:4 having tags:[SF]. Disabled pools will be ignored.
2020-12-03 18:21:54,743 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Found pools matching tags: [Pool[2|VMFS]]
2020-12-03 18:21:54,744 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Adding pool Pool[1|VMFS] to avoid set since it did not match tags
2020-12-03 18:21:54,745 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Checking if storage pool is suitable, name: null ,poolId: 2
2020-12-03 18:21:54,747 INFO  [c.c.s.StorageManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Storage pool null (2) does not supply IOPS capacity, assuming enough capacity
2020-12-03 18:21:54,748 DEBUG [c.c.s.StorageManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Checking pool 2 for storage, totalSize:<PHONE_NUMBER>712, usedBytes:<PHONE_NUMBER>768, usedPct: 0.6545207483977585, disable threshold: 0.86
2020-12-03 18:21:54,748 DEBUG [c.c.s.StorageManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Destination pool id: 2
2020-12-03 18:21:54,850 DEBUG [c.c.s.StorageManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Pool ID for the volume with ID 51108 is null
2020-12-03 18:21:54,857 DEBUG [c.c.s.StorageManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Found storage pool SBLAB-SF-P1C1-1 of type VMFS with over-provisioning factor 4
2020-12-03 18:21:54,857 DEBUG [c.c.s.StorageManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Total over-provisioned capacity calculated is 4 *<PHONE_NUMBER>712
2020-12-03 18:21:54,857 DEBUG [c.c.s.StorageManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Total capacity of the pool SBLAB-SF-P1C1-1 with ID 2 is<PHONE_NUMBER>8848
2020-12-03 18:21:54,858 DEBUG [c.c.s.StorageManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Checking pool: 2 for storage allocation , maxSize :<PHONE_NUMBER>8848, totalAllocatedSize :<PHONE_NUMBER>160, askingSize :<PHONE_NUMBER>, allocated disable threshold: 0.86
2020-12-03 18:21:54,858 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) ClusterScopeStoragePoolAllocator returning 1 suitable storage pools
2020-12-03 18:21:54,858 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Trying to find a potenial host and associated storage pools from the suitable host/pool lists for this VM
2020-12-03 18:21:54,858 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Checking if host: 96 can access any suitable storage
pool for volume: ROOT
2020-12-03 18:21:54,859 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Host: 96 can access pool: 2
2020-12-03 18:21:54,860 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Found a potential host id: 96 name: <IP_ADDRESS> and associated storage pools for this VM
2020-12-03 18:21:54,861 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Returning Deployment Destination: Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storage(Volume(Id|Type-->Pool(Id))] : Dest[Zone(1)-Pod(1)-Cluster(4)-Host(96)-Storage(Volume(51108|ROOT-->Pool(2))]
2020-12-03 18:21:54,861 DEBUG [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Deployment found  - P0=VM[DomainRouter|r-50516-VM], P0=Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storage(Volume(Id|Type-->Pool(Id))] : Dest[Zone(1)-Pod(1)-Cluster(4)-Host(96)-Storage(Volume(51108|ROOT-->Pool(2))]
2020-12-03 18:21:54,914 DEBUG [c.c.u.d.T.Transaction] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Rolling back the transaction: Time = 9 Name =  Work-Job-Executor-93; called by -TransactionLegacy.rollback:890-TransactionLegacy.removeUpTo:833-TransactionLegacy.close:657-Transaction.execute:38-Transaction.execute:47-CapacityManagerImpl.allocateVmCapacity:308-CapacityManagerImpl.postStateTransitionEvent:953-CapacityManagerImpl.postStateTransitionEvent:98-StateMachine2.transitTo:142-VirtualMachineManagerImpl.stateTransitTo:1885-VirtualMachineManagerImpl.changeState:861-VirtualMachineManagerImpl.orchestrateStart:1117
2020-12-03 18:21:54,916 ERROR [c.c.c.CapacityManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Exception allocating VM capacity
2020-12-03 18:21:54,963 INFO  [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Caught CloudRuntimeException, returning job failed com.cloud.utils.exception.CloudRuntimeException: Host does not have enough capacity for vm 50516
2020-12-03 18:21:54,968 DEBUG [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Done executing VM work job: com.cloud.vm.VmWorkStart{"dcId":0,"rawParams":{"RestartNetwork":"rO0ABXNyABFqYXZhLmxhbmcuQm9vbGVhbs0gcoDVnPruAgABWgAFdmFsdWV4cAE"},"userId":2,"accountId":2,"vmId":50516,"handlerName":"VirtualMachineManagerImpl"}
2020-12-03 18:21:54,971 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Complete async job-1568833, jobStatus: FAILED, resultCode: 0, result: rO0ABXNyAC9jb20uY2xvdWQudXRpbHMuZXhjZXB0aW9uLkNsb3VkUnVudGltZUV4Y2VwdGlvbgAAAABWTU9yAwABSQALY3NFcnJvckNvZGV4cgAaamF2YS5sYW5nLlJ1bnRpbWVFeGNlcHRpb26eXwZHCjSD5QIAAHhyABNqYXZhLmxhbmcuRXhjZXB0aW9u0P0fPho7HMQCAAB4cgATamF2YS5sYW5nLlRocm93YWJsZdXGNSc5d7jLAwAETAAFY2F1c2V0ABVMamF2YS9sYW5nL1Rocm93YWJsZTtMAA1kZXRhaWxNZXNzYWdldAASTGphdmEvbGFuZy9TdHJpbmc7WwAKc3RhY2tUcmFjZXQAHltMamF2YS9sYW5nL1N0YWNrVHJhY2VFbGVtZW50O0wAFHN1cHByZXNzZWRFeGNlcHRpb25zdAAQTGphdmEvdXRpbC9MaXN0O3hwcQB-AAh0ABtVbmFibGUgdG8gc3RhcnQgVk0gaW5zdGFuY2V1cgAeW0xqYXZhLmxhbmcuU3RhY2tUcmFjZUVsZW1lbnQ7AkYqPDz9IjkCAAB4cAAAABNzcgAbamF2YS5sYW5nLlN0YWNrVHJhY2VFbGVtZW50YQnFmiY23YUCAAhCAAZmb3JtYXRJAApsaW5lTnVtYmVyTAAPY2xhc3NMb2FkZXJOYW1lcQB-AAVMAA5kZWNsYXJpbmdDbGFzc3EAfgAFTAAIZmlsZU5hbWVxAH4ABUwACm1ldGhvZE5hbWVxAH4ABUwACm1vZHVsZU5hbWVxAH4ABUwADW1vZHVsZVZlcnNpb25xAH4ABXhwAQAAFHB0AANhcHB0ACZjb20uY2xvdWQudm0uVmlydHVhbE1hY2hpbmVNYW5hZ2VySW1wbHQAHlZpcnR1YWxNYWNoaW5lTWFuYWdlckltcGwuamF2YXQAEG9yY2hlc3RyYXRlU3RhcnRwcHNxAH4ADAD_____cHQAL2pkay5pbnRlcm5hbC5yZWZsZWN0LkdlbmVyYXRlZE1ldGhvZEFjY2Vzc29yNDkxcHQABmludm9rZXBwc3EAfgAMAgAAACtwdAAxamRrLmludGVybmFsLnJlZmxlY3QuRGVsZWdhdGluZ01ldGhvZEFjY2Vzc29ySW1wbHQAIURlbGVnYXRpbmdNZXRob2RBY2Nlc3NvckltcGwuamF2YXEAfgAUdAAJamF2YS5iYXNldAAGMTEuMC43c3EAfgAMAgAAAjZwdAAYamF2YS5sYW5nLnJlZmxlY3QuTWV0aG9kdAALTWV0aG9kLmphdmFxAH4AFHEAfgAYcQB-ABlzcQB-AAwBAAAAa3EAfgAOdAAiY29tLmNsb3VkLnZtLlZtV29ya0pvYkhhbmRsZXJQcm94eXQAGlZtV29ya0pvYkhhbmRsZXJQcm94eS5qYXZhdAAPaGFuZGxlVm1Xb3JrSm9icHBzcQB-AAwBAAAVDnEAfgAOcQB-AA9xAH4AEHEAfgAgcHBzcQB-AAwBAAAAZnEAfgAOdAAgY29tLmNsb3VkLnZtLlZtV29ya0pvYkRpc3BhdGNoZXJ0ABhWbVdvcmtKb2JEaXNwYXRjaGVyLmphdmF0AAZydW5Kb2JwcHNxAH4ADAEAAAJbcQB-AA50AD9vcmcuYXBhY2hlLmNsb3Vkc3RhY2suZnJhbWV3b3JrLmpvYnMuaW1wbC5Bc3luY0pvYk1hbmFnZXJJbXBsJDV0ABhBc3luY0pvYk1hbmFnZXJJbXBsLmphdmF0AAxydW5JbkNvbnRleHRwcHNxAH4ADAEAAAAxcQB-AA50AD5vcmcuYXBhY2hlLmNsb3Vkc3RhY2subWFuYWdlZC5jb250ZXh0Lk1hbmFnZWRDb250ZXh0UnVubmFibGUkMXQAG01hbmFnZWRDb250ZXh0UnVubmFibGUuamF2YXQAA3J1bnBwc3EAfgAMAQAAADhxAH4ADnQAQm9yZy5hcGFjaGUuY2xvdWRzdGFjay5tYW5hZ2VkLmNvbnRleHQuaW1wbC5EZWZhdWx0TWFuYWdlZENvbnRleHQkMXQAGkRlZmF1bHRNYW5hZ2VkQ29udGV4dC5qYXZhdAAEY2FsbHBwc3EAfgAMAQAAAGdxAH4ADnQAQG9yZy5hcGFjaGUuY2xvdWRzdGFjay5tYW5hZ2VkLmNvbnRleHQuaW1wbC5EZWZhdWx0TWFuYWdlZENvbnRleHRxAH4AMHQAD2NhbGxXaXRoQ29udGV4dHBwc3EAfgAMAQAAADVxAH4ADnEAfgAzcQB-ADB0AA5ydW5XaXRoQ29udGV4dHBwc3EAfgAMAQAAAC5xAH4ADnQAPG9yZy5hcGFjaGUuY2xvdWRzdGFjay5tYW5hZ2VkLmNvbnRleHQuTWFuYWdlZENvbnRleHRSdW5uYWJsZXEAfgAscQB-AC1wcHNxAH4ADAEAAAIncQB-AA5xAH4AJ3EAfgAocQB-AC1wcHNxAH4ADAIAAAIDcHQALmphdmEudXRpbC5jb25jdXJyZW50LkV4ZWN1dG9ycyRSdW5uYWJsZUFkYXB0ZXJ0AA5FeGVjdXRvcnMuamF2YXEAfgAxcQB-ABhxAH4AGXNxAH4ADAIAAAEIcHQAH2phdmEudXRpbC5jb25jdXJyZW50LkZ1dHVyZVRhc2t0AA9GdXR1cmVUYXNrLmphdmFxAH4ALXEAfgAYcQB-ABlzcQB-AAwCAAAEaHB0ACdqYXZhLnV0aWwuY29uY3VycmVudC5UaHJlYWRQb29sRXhlY3V0b3J0ABdUaHJlYWRQb29sRXhlY3V0b3IuamF2YXQACXJ1bldvcmtlcnEAfgAYcQB-ABlzcQB-AAwCAAACdHB0AC5qYXZhLnV0aWwuY29uY3VycmVudC5UaHJlYWRQb29sRXhlY3V0b3IkV29ya2VycQB-AEJxAH4ALXEAfgAYcQB-ABlzcQB-AAwCAAADQnB0ABBqYXZhLmxhbmcuVGhyZWFkdAALVGhyZWFkLmphdmFxAH4ALXEAfgAYcQB-ABlzcgAfamF2YS51dGlsLkNvbGxlY3Rpb25zJEVtcHR5TGlzdHq4F7Q8p57eAgAAeHB4AAAQmncIAAAAAAAAAAB4
2020-12-03 18:21:54,974 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Publish async job-1568833 complete on message bus
2020-12-03 18:21:54,974 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Wake up jobs related to job-1568833
2020-12-03 18:21:54,974 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Update db status for job-1568833
2020-12-03 18:21:54,977 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Wake up jobs joined with job-1568833 and disjoin all subjobs created from job- 1568833
2020-12-03 18:21:54,996 DEBUG [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833) (logid:eb5292ac) Done with run of VM work job: com.cloud.vm.VmWorkStart for VM 50516, job origin: 1568832
2020-12-03 18:21:54,996 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833) (logid:eb5292ac) Done executing com.cloud.vm.VmWorkStart for job-1568833
2020-12-03 18:21:54,999 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833) (logid:eb5292ac) Remove job-1568833 from job monitoring
2020-12-03 18:21:55,014 WARN  [c.c.n.v.VpcManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Failed to start vpc [VPC [13-andrija-test-VPC2] due to
2020-12-03 18:21:55,015 DEBUG [c.c.n.v.VpcManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Destroying vpc [VPC [13-andrija-test-VPC2] that failed to start
2020-12-03 18:21:55,015 DEBUG [c.c.n.v.VpcManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Destroying vpc [VPC [13-andrija-test-VPC2]
2020-12-03 18:21:55,017 DEBUG [c.c.n.v.VpcManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Updating VPC [VPC [13-andrija-test-VPC2] with state Inactive as a part of vpc delete
2020-12-03 18:21:55,031 DEBUG [c.c.r.ResourceLimitManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Updating resource Type = vpc count for Account = 2 Operation = decreasing Amount = 1
2020-12-03 18:21:55,051 DEBUG [c.c.n.v.VpcManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Shutting down vpc [VPC [13-andrija-test-VPC2]
2020-12-03 18:21:55,070 DEBUG [c.c.n.r.NetworkHelperImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Attempting to destroy router 50516
2020-12-03 18:21:55,101 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Sync job-1568834 execution on object VmWorkJobQueue.50516
2020-12-03 18:21:56,657 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Work-Job-Executor-89:ctx-551f6d24 job-1568832/job-1568834) (logid:8efcf05c) Add job-1568834 into job monitoring
2020-12-03 18:21:56,664 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-89:ctx-551f6d24 job-1568832/job-1568834) (logid:eb5292ac) Executing AsyncJobVO {id:1568834, userId: 2, accountId: 2, instanceType: null, instanceId: null, cmd: com.cloud.vm.VmWorkStop, cmdInfo: rO0ABXNyABdjb20uY2xvdWQudm0uVm1Xb3JrU3RvcALQ4GymiWjjAgABWgAHY2xlYW51cHhyABNjb20uY2xvdWQudm0uVm1Xb3Jrn5m2VvAlZ2sCAARKAAlhY2NvdW50SWRKAAZ1c2VySWRKAAR2bUlkTAALaGFuZGxlck5hbWV0ABJMamF2YS9sYW5nL1N0cmluZzt4cAAAAAAAAAACAAAAAAAAAAIAAAAAAADFVHQAGVZpcnR1YWxNYWNoaW5lTWFuYWdlckltcGwA, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:<PHONE_NUMBER>1, completeMsid: null, lastUpdated: null, lastPolled: null, created: Thu Dec 03 18:21:55 GMT 2020, removed: null}
2020-12-03 18:21:56,664 DEBUG [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-89:ctx-551f6d24 job-1568832/job-1568834) (logid:eb5292ac) Run VM work job: com.cloud.vm.VmWorkStop for VM 50516, job origin: 1568832
2020-12-03 18:21:56,667 DEBUG [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-89:ctx-551f6d24 job-1568832/job-1568834 ctx-70254bc6) (logid:eb5292ac) Execute VM work job: com.cloud.vm.VmWorkStop{"cleanup":false,"userId":2,"accountId":2,"vmId":50516,"handlerName":"VirtualMachineManagerImpl"}
2020-12-03 18:21:56,671 DEBUG [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-89:ctx-551f6d24 job-1568832/job-1568834 ctx-70254bc6) (logid:eb5292ac) VM is already stopped: VM[DomainRouter|r-50516-VM]
2020-12-03 18:21:56,671 DEBUG [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-89:ctx-551f6d24 job-1568832/job-1568834 ctx-70254bc6) (logid:eb5292ac) Done executing VM work job: com.cloud.vm.VmWorkStop{"cleanup":false,"userId":2,"accountId":2,"vmId":50516,"handlerName":"VirtualMachineManagerImpl"}
2020-12-03 18:21:56,672 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-89:ctx-551f6d24 job-1568832/job-1568834 ctx-70254bc6) (logid:eb5292ac) Complete async job-1568834, jobStatus: SUCCEEDED, resultCode: 0, result: null
2020-12-03 18:21:56,674 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-89:ctx-551f6d24 job-1568832/job-1568834 ctx-70254bc6) (logid:eb5292ac) Publish async job-1568834 complete on message bus
2020-12-03 18:21:56,674 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-89:ctx-551f6d24 job-1568832/job-1568834 ctx-70254bc6) (logid:eb5292ac) Wake up jobs related to job-1568834
2020-12-03 18:21:56,674 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-89:ctx-551f6d24 job-1568832/job-1568834 ctx-70254bc6) (logid:eb5292ac) Update db status for job-1568834
2020-12-03 18:21:56,675 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-89:ctx-551f6d24 job-1568832/job-1568834 ctx-70254bc6) (logid:eb5292ac) Wake up jobs joined with job-1568834 and disjoin all subjobs created from job- 1568834
2020-12-03 18:21:56,698 DEBUG [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-89:ctx-551f6d24 job-1568832/job-1568834) (logid:eb5292ac) Done with run of VM work job: com.cloud.vm.VmWorkStop for VM 50516, job origin: 1568832
2020-12-03 18:21:56,698 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-89:ctx-551f6d24 job-1568832/job-1568834) (logid:eb5292ac) Done executing com.cloud.vm.VmWorkStop for job-1568834
2020-12-03 18:21:56,701 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Work-Job-Executor-89:ctx-551f6d24 job-1568832/job-1568834) (logid:eb5292ac) Remove job-1568834 from job monitoring
2020-12-03 18:21:56,734 DEBUG [c.c.v.VirtualMachineManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Destroying vm VM[DomainRouter|r-50516-VM]
2020-12-03 18:21:56,734 DEBUG [c.c.v.VirtualMachineManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Cleaning up NICS
2020-12-03 18:21:56,738 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Cleaning network for vm: 50516
2020-12-03 18:21:56,760 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Removed nic id=75956
2020-12-03 18:21:56,761 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Revoving nic secondary ip entry ...
2020-12-03 18:21:56,779 DEBUG [c.c.n.g.PublicNetworkGuru] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) public network deallocate network: networkId: 200, ip: <IP_ADDRESS>
2020-12-03 18:21:56,781 DEBUG [c.c.n.g.PublicNetworkGuru] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Deallocated nic: NicProfile[75957-50516-null-null-null
2020-12-03 18:21:56,790 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Removed nic id=75957
2020-12-03 18:21:56,791 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Revoving nic secondary ip entry ...
2020-12-03 18:21:56,792 DEBUG [c.c.v.VirtualMachineManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Cleaning up hypervisor data structures (ex. SRs in XenServer) for managed storage
2020-12-03 18:21:56,796 DEBUG [o.a.c.e.o.VolumeOrchestrator] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Cleaning storage for vm: 50516
2020-12-03 18:21:56,826 INFO  [o.a.c.s.v.VolumeServiceImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Expunge volume with no data store specified
2020-12-03 18:21:56,829 INFO  [o.a.c.s.v.VolumeServiceImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Volume 51108 is not referred anywhere, remove it from volumes table
2020-12-03 18:21:56,841 DEBUG [c.c.v.VirtualMachineManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Expunged VM[DomainRouter|r-50516-VM]
2020-12-03 18:21:56,849 DEBUG [c.c.n.v.VpcManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Vpc [VPC [13-andrija-test-VPC2] has been shutdown succesfully
2020-12-03 18:21:56,849 DEBUG [c.c.n.v.VpcManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Cleaning up resources for vpc id=13
2020-12-03 18:21:56,849 DEBUG [c.c.n.v.VpcManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Cleaning up existed site to site VPN connections
2020-12-03 18:21:56,855 DEBUG [c.c.n.v.VpcManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Cleaning up existed site to site VPN gateways
2020-12-03 18:21:56,860 DEBUG [c.c.n.v.VpcManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Releasing ips for vpc id=13 as a part of vpc cleanup
2020-12-03 18:21:56,860 DEBUG [c.c.n.IpAddressManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Revoking all Firewallrules as a part of public IP id=76697 release...
2020-12-03 18:21:56,871 DEBUG [c.c.n.f.FirewallManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Releasing 0 firewall rules for ip id=76697
2020-12-03 18:21:56,872 DEBUG [c.c.n.f.FirewallManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) There are no firewall rules to apply
2020-12-03 18:21:56,873 DEBUG [c.c.n.f.FirewallManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Successfully released firewall rules for ip id=76697 and # of rules now =
0
2020-12-03 18:21:56,883 DEBUG [c.c.n.IpAddressManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Revoking all PortForwarding/StaticNat rules as a part of public IP id=76697 release...
2020-12-03 18:21:56,885 DEBUG [c.c.n.r.RulesManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Releasing 0 port forwarding rules for ip id=76697
2020-12-03 18:21:56,886 DEBUG [c.c.n.r.RulesManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Releasing 0 static nat rules for ip id=76697
2020-12-03 18:21:56,890 DEBUG [c.c.n.r.RulesManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) There are no port forwarding rules to apply for ip id=76697
2020-12-03 18:21:56,892 DEBUG [c.c.n.r.RulesManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) There are no static nat rules to apply for ip id=76697
2020-12-03 18:21:56,894 DEBUG [c.c.n.r.RulesManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Successfully released rules for ip id=76697 and # of rules now = 0
2020-12-03 18:21:56,894 DEBUG [c.c.n.IpAddressManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Revoking all LoadBalancing rules as a part of public IP id=76697 release...
2020-12-03 18:21:56,895 DEBUG [c.c.n.l.LoadBalancingRulesManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Found 0 lb rules to cleanup
2020-12-03 18:21:56,917 DEBUG [c.c.n.IpAddressManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Cleaning up remote access vpns as a part of public IP id=76697 release...
2020-12-03 18:21:56,929 DEBUG [c.c.n.v.RemoteAccessVpnManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) there are no Remote access vpns for public ip address id=76697
2020-12-03 18:21:56,941 DEBUG [c.c.r.ResourceLimitManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Updating resource Type = public_ip count for Account = 2 Operation = decreasing Amount = 1
2020-12-03 18:21:56,954 DEBUG [c.c.n.IpAddressManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Releasing ip id=76697; sourceNat = true
2020-12-03 18:21:56,961 DEBUG [c.c.n.IpAddressManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Released a public ip id=76697
2020-12-03 18:21:56,962 DEBUG [c.c.n.v.VpcManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Released ip addresses for vpc id=13 as a part of cleanup vpc process
2020-12-03 18:21:56,969 DEBUG [c.c.n.v.VpcManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Found 0 to revoke for the vpc 13
2020-12-03 18:21:56,979 DEBUG [c.c.n.v.VpcManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Vpc [VPC [13-andrija-test-VPC2] is destroyed succesfully
2020-12-03 18:21:56,980 WARN  [c.c.n.v.VpcManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832 ctx-6928a5c8) (logid:eb5292ac) Successfully destroyed vpc [VPC [13-andrija-test-VPC2] that failed to start
2020-12-03 18:21:56,982 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832) (logid:eb5292ac) Complete async job-1568832, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Failed to create VPC"}
2020-12-03 18:21:56,984 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832) (logid:eb5292ac) Publish async job-1568832 complete on message bus
2020-12-03 18:21:56,984 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832) (logid:eb5292ac) Wake up jobs related to job-1568832
2020-12-03 18:21:56,984 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832) (logid:eb5292ac) Update db status for job-1568832
2020-12-03 18:21:56,985 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832) (logid:eb5292ac) Wake up jobs joined with job-1568832 and disjoin all subjobs created from job- 1568832
2020-12-03 18:21:56,992 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-94:ctx-d7e162ba job-1568832) (logid:eb5292ac) Done executing org.apache.cloudstack.api.command.admin.vpc.CreateVPCCmdByAdmin for
job-1568832
2020-12-03 18:21:56,992 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-94:ctx-d7e162ba job-1568832) (logid:eb5292ac) Remove job-1568832 from job monitoring

Identical error during restarting the VPC with the cleanup - new VR to be created failed on the host and we never tried to start it on another host in the cluster - no retry logic...

Identical error during restarting the VPC with the cleanup - new VR to be created failed on the host and we never tried to start it on another host in the cluster - no retry logic...

@andrijapanicsb there is no retry logic in most actions. It is not a big problem in my opinion. cloudstack works like it for 10 years.
what you/we need to figure out is, why VR start failed ? It sounds like an issue with vm/vr allocation, not retry.

@weizhouapache my "issue" is the following:

CloudStack has chosen a cluster that has enough capacities ("at least one host with enough capacities....) - and it chooses the host which seems to not have the capacity (and the logging is not there, which is weird and bad) - so, not sure how good this can be.

@andrijapanicsb there should be some logs after
2020-12-03 18:21:54,916 ERROR [c.c.c.CapacityManagerImpl] (Work-Job-Executor-93:ctx-e64e3b1d job-1568832/job-1568833 ctx-d0af57d6) (logid:eb5292ac) Exception allocating VM capacity

I setup 4.14 + XS71 and did an upgrade test and was unable to reproduce this. I suspect in the upgraded env the old ssvm/cpvm were killed and new ssvm/cpvm got started before the 4.15 systemvm.iso/files/scripts were patched on the XS71 hosts which could explain the race conditions around old 4.14 systemvm.iso.

@andrijapanicsb what's the behaviour on 4.13/4.11?


Bug: failure to build with Webpack due to "Module not found: Error: Default condition should be last one" [regression]

Lexical version: 0.14.0 and 0.14.1
Steps To Reproduce

Attempt to build a project that uses @lexical/react with Webpack

The current behavior
You get a bunch of errors of the form:
Module not found: Error: Default condition should be last one

The expected behavior
It should build without error.
Analysis
This appears to be a regression from #5618 which changed lexical-react/package.json adding a bunch of exports of the form:
  "exports": {
    "./LexicalAutoEmbedPlugin": {
      "import": {
        "default": "./LexicalAutoEmbedPlugin.esm.js",
        "types": "./LexicalAutoEmbedPlugin.d.ts"
      },
      "require": "./LexicalAutoEmbedPlugin.js"
    },

Webpack wants the default there to come last, i.e. after types.
I've confirmed locally that just switching the order of those two lines in each instance allows the build to pass again.
I'll make up a PR for this as soon as I get a spare moment (I'm currently on leave so feel free to steal this from me).

Waiting to see if there are other issues with the version before we publish a 0.14.2

This is breaking nextjs app as well


Can you please tell us how to run the code, if I give 'npm start' it doesn't work.

Can you please tell us how to run the code, if I give 'npm start' it doesn't work.

Hi @swethu99 ,
npm run dev or yarn dev


Dragon Warriors Revised Ver 1.2.4 cs

Ver 1.2.4
Token Integration and Radio Button Bug Fix
Implemented new attributes: currenthp, currentmp currentmpelementtwo and currentmpelementthree.
These attributes are to be used with token bars to accurately represent wounds and magic points which count down properly.
In developing these attributes, I was able to correct a bug which was requiring players to double click on wound / mp radio buttons to function properly.
Layout changes:
Removed redundant magic point trackers from the magic page. Not only were they redundant, but they interferred with the function of the currentmp set of attributes.
Ver 1.2.3
Workaround to address lag issue
Problem:
"Need to streamline Sheet Workers in the code to reduce overall attribute calls (looking for experienced JS coders for some help here!)."
The sheet will no longer seek to automatically update scores after any changes, as users had reported significant performance issues due to too many attribute checks/calls.
I have added a button to the top-bar "Click to Apply Changes", which the user will need to click to apply any changes made to the sheet.
While this is not the ideal solution I would choose, I do not have enough coding experience to rebuild the Sheet Workers myself.
Ver 1.2.2
Fixed error preventing Precise Shot modifiers from being applied to rolls.
Spinners removed from read-only boxes to avoid confusion.
Have moved base score inputs (all) to the renamed tab "Base Scores" (formerly Miscellaneous Modifiers).
Removed ABR / DMG bonus boxes from front sheet as unnecessary.
Moved AF misc bonus to the AF section of the Inventory page.
Opened up base Magic Stats on the Magic page for all classes.
Changed tab name from "Skills" to "Path and Skills" and added a paths box.
Added a classic DW picture to the front page to reduce strange spacing issues after taking out unnecessary input boxes.
Poison save roll button added under health points
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[X] Does the pull request title have the sheet name(s)? Include each sheet name.
[X] Is this a bug fix?
[X] Does this add functional enhancements (new features or extending existing features) ?
[X] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

How do I remove the .ds_store files from this pull request? My computer is automatically adding them.

@MedievalSteve I am gonna go ahead and merge your PR. In order to delete the .ds_store file, you need to navigate to your git folder terminal and manually delete the file there by either doing a "rm .DS_Store" or "git rm --cached .DS_Store"
Once you manage to do any of those, you can make a new PR just to delete it. Thanks!


Returned "Neighbors" incorrect for Precision of 4

When I use Geodesy as shown below:
< let CurrentGeoHash = self.currentLocation.geohash(precision: 4)
let CurrentNeighbors = self.currentLocation.neighbors(precision: 4)
print("Geohash: ", CurrentGeoHash, " Geohash Neighbors: ", CurrentNeighbors) >
I get the following geohash for the current location and the array for the neighbors:
Geohash:  9tbr
Geohash Neighbors:  ["9w02", "9w02", "9tbr", "9tbq", "9tbq", "9tbq", "9tbr", "9w02"]
I believe the returned Geohash Neighbors for "9tbr" should be [N, NE, E, SE, S, SW, W, NW]:
["9w02", "9w08", 9tbx", 9tbw", 9tbq", 9tbn", 9tbp", 9w00"]

correction:
I believe the returned Geohash Neighbors for "9tbr" should be [N, NE, E, SE, S, SW, W, NW]:
["9w02", "9w08", 9tbx", 9tbw", 9tbq", 9tbn", 9tbp", 9w00"]

i experience the same issue for precision 6. Seems to be a fundamental issue

Well I guess it is not really supported for locations. Looking at the Unit Tests, it seems only to be supported for regions (which makes sense actually).
My workaround:
extension CLLocation {
  func getNeighboringBuckets(precision: Precision = .sixHundredTenMeters) -> [String] {
    let region = Region(hash: self.geohash(precision: precision))!
    return region.neighbors().map { $0.hash }
  }
}

Based on documentation I would have expected the "neighbors" function to compute the geohash of the current location (i.e. current region) at the specified precision, then determine the neighbors of the that region, again at the specified precision.

I have updated the Geodesy code in my app as Nicolas provided above and have verified that this does work for various precisions.  Pod needs to be updated and also add the same for CLLocationCoordinate2D.


DeepSpeed cannot move Tensor on remote server to GPU.

My hostfile is writen as below:
localhost slots=8
<IP_ADDRESS> slots=8

Then I launch a deepspeed script to run, but the program cannot move tensors to GPU, for example code:
batch = torch.rand((5, 30))
batch = batch.to(model.device)

where model is a DeepSpeedEngine. If I use only localhost in the hostfile, it can work, but if I include the remote server (<IP_ADDRESS>) into hostfile, looks like the tensor cannot be moved to GPU  on that server!
update 1: looks like after this line, tensors cannot be moved to gpu using to(device).
my deepspeed config json:
{
    "train_micro_batch_size_per_gpu" : 32,
    "gradient_accumulation_steps" : 1,
    "optimizer": {
        "type": "AdamW",
        "params": {
          "lr": 1e-5,
          "eps": 1e-6
        }
    },
    "scheduler": {
        "type": "WarmupDecayLR",
        "params": {
            "warmup_max_lr": 1e-5,
            "warmup_num_steps": 200,
            "total_num_steps" : 1000
        }
    },
    "fp16": {
        "enabled" : true
    },
    "checkpoint": {
        "tag_validation": "Ignore"
    },
    "zero_optimization": {
        "stage": 0,
        "cpu_offload": false
    },
    "wall_clock_breakdown": false
}

my environment:
os: centos 7.6
python: 3.8.5
gcc: 7.3.1
gpu: v100
gpu driver: 455.32.00
cuda: 11.1
deepspeed: 0.4.3
torch: 1.8.1+cu111
any advices ? thanks

@TriLoo, sorry, I don't fully understand the problem.
Can you please share a simple script and command line to reproduce the error?

@TriLoo, sorry, I don't fully understand the problem.
Can you please share a simple script and command line to reproduce the error?

sure, my python scripts is as below:
# -*- coding: utf-8 -*-

import argparse
import torch
from transformers import BertConfig, BertModel
import deepspeed as ds

def get_model():
    config = BertConfig()
    model = BertModel(config)
    return model

def train(args):
    ds.init_distributed(dist_backend='nccl')
    model = get_model()
    param_optimizer = list(model.named_parameters())
    no_decay = ['bias', 'LayerNorm.bias', 'LayerNorm.weight']
    optimizer_grouped_parameters = [
        {'params': [p for n, p in param_optimizer if
                    not any(nd in n for nd in no_decay)],
        'weight_decay': args.weight_decay},
        {'params': [p for n, p in param_optimizer if
                    any(nd in n for nd in no_decay)], 'weight_decay': 0.0}
    ]
    model, _, _, _ = ds.initialize(args=args, model=model, model_parameters=optimizer_grouped_parameters)
    args.local_rank = model.local_rank
    args.device = model.device
    model.to(args.device)
    batch = torch.rand((3, 30))
    batch = batch.to(args.device)           # <<< stuck here

    print('Done.')

def parse_args():
    parser = argparse.ArgumentParser(description="bert ds pretrain")
    parser.add_argument('--local_rank', type=int, default=0, help='local rank value')
    parser.add_argument('--weight_decay', type=float, default=0.001, help='weight decay value')
    parser = ds.add_config_arguments(parser)
    args = parser.parse_args()
    return args

def main():
    args = parse_args()
    train(args)

if __name__ == '__main__':
    main()

this program get struck in batch.to(args.device) this line and cannot move to the print().
my launch script is as below:
deepspeed --master_port 9996 --hostfile "../ds_configs/hostfile" try_ds2.py --deepspeed --deepspeed_config "../ds_configs/bert.json"
where the hostfile content is:
localhost slots=8
<IP_ADDRESS> slots=8

and bert.json:
{
    "train_micro_batch_size_per_gpu" : 32,
    "gradient_accumulation_steps" : 1,
    "optimizer": {
        "type": "AdamW",
        "params": {
          "lr": 1e-5,
          "eps": 1e-6
        }
    },
    "scheduler": {
        "type": "WarmupDecayLR",
        "params": {
            "warmup_max_lr": 1e-5,
            "warmup_num_steps": 200,
            "total_num_steps" : 1000
        }
    },
    "fp16": {
        "enabled" : true
    },
    "checkpoint": {
        "tag_validation": "Ignore"
    },
    "zero_optimization": {
        "stage": 0,
        "cpu_offload": false
    },
    "wall_clock_breakdown": false
}

if there is any unclear, please let me know. thanks

Thanks for sharing these details. One more question, are you able to do passwordless ssh to <IP_ADDRESS> from localhost? One way to test this is through this following command:
PDSH_RCMD_TYPE='ssh' pdsh -w <IP_ADDRESS> hostname

@tjruwase
Yes, I can.
I finally find out the reasons which cause the model cannot be broadcasted to other servers. The NCCL environments looks like should be set properly.
Could you add the configs of NCCL used in multi-node multi-gpu training ? thanks.

Can you check out this link?

got it, thanks.


main code refactoring

closing db manually in each function. this will be optimized soon
logging of errors

Can't get your test app working atm :-(
will try tomorrow again.
But I'm expecting no errors. Including all changes into my app, using mostly all functions btw, works as usual with no bugs so far.


Update for changes in glTF Transform v3 prerelease.

Fixes #180

The @next tag is a prerelease, and it looks like https://github.com/donmccurdy/glTF-Transform/issues/715 broke Draco compression here, renaming DracoMeshCompression to KHRDracoMeshCompression. Switching to the draco() helper would be backward-compatible for anyone still using the previous glTF Transform release.
The only remaining breaking change planned for v3 is a switch to ESM-only builds. It looks like gltfjsx should be good there, but just FYI!

saw multiple people with the issue, be good to get this merged

thank you @donmccurdy ! :)


Work towards compatibility for 4.17 and 4.18

I spent today working on testing out your no-patch-iter-errors branch and made some attempts at getting it working with 4.17 and 4.18.
A few tests are still failing on 4.18:
FAILED asdf/_tests/test_schema.py::test_load_schema - referencing.exceptions.NoSuchAnchor: 'definitions/stringArray' does not exist within {'id': 'http://json-schema.org/draft-04/schema#', '$schema': 'http://json-schema.org/draft-04/schema#', 'description': 'Core schema meta-schema', 'definiti...
FAILED asdf/_tests/test_schema.py::test_load_schema_with_full_tag - referencing.exceptions.NoSuchAnchor: 'definitions/stringArray' does not exist within {'id': 'http://json-schema.org/draft-04/schema#', '$schema': 'http://json-schema.org/draft-04/schema#', 'description': 'Core schema meta-schema', 'definiti...
FAILED asdf/_tests/test_schema.py::test_load_schema_with_tag_address - referencing.exceptions.NoSuchAnchor: 'definitions/stringArray' does not exist within {'id': 'http://json-schema.org/draft-04/schema#', '$schema': 'http://json-schema.org/draft-04/schema#', 'description': 'Core schema meta-schema', 'definiti...
FAILED asdf/_tests/test_schema.py::test_load_schema_with_file_url - referencing.exceptions.NoSuchAnchor: 'definitions/stringArray' does not exist within {'id': 'http://json-schema.org/draft-04/schema#', '$schema': 'http://json-schema.org/draft-04/schema#', 'description': 'Core schema meta-schema', 'definiti...

I'll also call out one obvious use of private api that I added to get around the validation sort of losing track of the base uri. I'm not sure if this is because of something we're doing wrong or a bug in jsonschema.

Codecov Report

:exclamation: No coverage uploaded for pull request base (eslavich-no-patch-iter-errors@b4e9f35). Click here to learn what that means.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@                       Coverage Diff                        @@
##             eslavich-no-patch-iter-errors       #4   +/-   ##
================================================================
  Coverage                                 ?   95.78%
================================================================
  Files                                    ?       97
  Lines                                    ?    12279
  Branches                                 ?        0
================================================================
  Hits                                     ?    11761
  Misses                                   ?      518
  Partials                                 ?        0

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Sort by

Implement sort by transform by a very simple range_partitioner.
This algorithm is almost the same with Apache Spark: partition all the data into ordered partitions and sort them separately.
There're still some work to be done:

Find a better algorithm for building range_bounds.
implement descending.
use binary search in method get_partitions().
perhaps F: SerFunc(&Self::Item) -> K + Clone is better than F: SerFunc(Self::Item) -> K.
test corner case.

Will review further later but could you rebase onto master and run cargo fmt?

Will review further later but could you rebase onto master (so cargo.lock change does not show) and run cargo fmt?

sorry. I'll rebase master and use cargo fmt later.


Use the correct ConfigMap for nginx ingress

By default, the ingress installation seems to use a non-existing ConfigMap and having another one that exists but isn't used is confusing. This switches the controller to use the one that microk8s creates.

Thank you fro the PR @keshavdv. Would you mind rebasing so we can get a green build from travis.

Done!

Thank you! The fix should be available in 1.13.5+


Update Workspace Create Dashboard Flow

The new flow needs to be documented, as now we have more options on the "Create Workspace" form than before: Git repo URL, IDE choice, and the Workspace Class selector.
The update must include links to describe the Workspace Classes and the section on available IDEs.

Devcontainer-based projects will show the "configuration" selector, and that should be documented as well.


Get pypyodbc working on Mac

I got pypyodbc to use iodbc (rather than unixodbc) on mac so that I could use pypyodbc (rather than pyodbc) by supplying this pull request - https://github.com/pypyodbc/pypyodbc/issues/26
This just allows pypyodbc to find libiodbc.dylib when libiodbc has been installed by homebrew.
It still only looks for iodbc if unixodbc is not present, otherwise that gets loaded instead.
At the time of writing this is still not present in a release of pypyodbc, so I am installing via git.

So, currently for pypyodbc to work for me on MacOs, the following should evaluate to None
python -c "from ctypes.util import find_library; print(find_library('odbc'))"
Otherwise pypyodbc tries to load unixodbc (and from incorrect path). To avoid this:
brew uninstall --ignore-dependencies unixodbc && brew install libiodbc

The relevant code in pypyodbc

The relevant code in pypyodbc
https://github.com/pypyodbc/pypyodbc/blob/main/pypyodbc.py#L419-L484

I  retrospect i wonder if the find_library() issue* might be symptomatic of a similar issue when I tried again to get pyodbc to run against filemaker, as that also returned an SQL Error when the library was not found.
* On mac the function just returns some expected paths, which are not accurate if installed using homebrew.


Update Serilog to <IP_ADDRESS>.

Added SilentLogger methods newly introduced in the Serilog 2.0.0 ILogger interface.
Other than that, the changes are due to the NuGet package manager update for Serilog to <IP_ADDRESS>.

Great, thanks Erik!


Guides

Hello All
do you provide any docs on integrating eEVM into existing systems like UTXO or Cryptonote or similar ledgers?
thanks and br
timo

Hi @sartimo. We don't have any further documentation. One project that may be useful is EVM-for-CCF, which demonstrates embedding eEVM in a larger project. However that is archived, and likely unhelpful of you're looking for integration with existing Ethereum ledgers.


Feature: Streamlined "Open File Location" for Recycle Bin Items in Windows Taskbar Search

What feature or improvement do you think would benefit Files?
When I search for an item in the Windows Taskbar search, and that item is in the Recycle Bin, clicking "Open file location" opens the Recycle Bin but follows the path of the item, which is "C:$Recycle.Bin*item's name*". It first opens the drive, then an empty folder, and finally displays what's inside the Recycle Bin. It would be great if, instead of displaying the drive folder, an empty folder, and then the Recycle Bin's contents, it would only display the contents of the Recycle Bin.
Requirements
Modify the behavior of the "Open file location" function to directly open and display the contents of the Recycle Bin, bypassing intermediate folders.
Files Version
2.5.35
Windows Version
10.0.22621.2506
Comments
Before

After

Thank you for the feedback

Furthermore, why doesn't it display everything that's in the Recycle Bin in the location "C:$Recycle.Bin..."?


Refreshing content in tab

Hi. Currently I have a table grid in one of the tabs. However, I am unable to refresh the table after new row(s) are added to it through another tab. Before that, I called Load method to refresh the list in windows. Since tab control is unable to load the Load method, I set the ItemsSource in the constructor of the c# file instead. Is there a way to let it refresh without closing it and opening a new tab?

You need to post some sample code and markup.
Standard WPF rules apply.  INotifyPropertChanged or ObservableCollections etc

I'm so sorry. These are some of my codes.
Class to display data:
public partial class CaseGrid : UserControl
{
public CaseGrid()
{
InitializeComponent();
}
    private void CaseGrid1_Loaded(object sender, RoutedEventArgs e)
    {
        using (var context = HCEntities.Create())
        {
            var query2 =
            from OrderTable in context.OrderTables
            orderby OrderTable.OrderID_O
            orderby OrderTable.OrderDate_O
            orderby OrderTable.CustomerName_O
            orderby OrderTable.DeliveryAddress_O

            select new { OrderId = OrderTable.OrderID_O, Date = OrderTable.OrderDate_O, CustomerName = OrderTable.CustomerName_O, DeliveryAddress = OrderTable.DeliveryAddress_O.Replace(Environment.NewLine, " ") };

            var query2sorted = query2.OrderBy(n => n).ToList();
            CaseGrid1.ItemsSource = query2sorted;
        }
    }
}

From Mainwindow that add tabs when certain buttons are click:
MainWindowTabs MWTexist = new MainWindowTabs();
private void casegrid_Click(object sender, RoutedEventArgs e)
{
CaseGrid casegrid = new CaseGrid();
TabItem CaseTabItem = new TabItem()
{
Header = "CaseGrid",
Name = "CaseGridTab",
Content = casegrid
};
            MWTexist.CaseGridTabExist = false;
            var headers = DragablzTC.Items.Cast<TabItem>().Select(x => x.Header).ToList();
            string[] headersarray = headers.Select(i => i.ToString()).ToArray();            //contains arrays of headers current exist
            foreach (string i in headersarray)
            {
                if (i == "CaseGrid")
                {
                    MWTexist.CaseGridTabExist = true;
                }
            }

            if (MWTexist.CaseGridTabExist == false)
            {
                DragablzTC.AddToSource(CaseTabItem);
                TabablzControl.SelectItem(CaseTabItem);
            }
    }

    private void casecreation_Click(object sender, RoutedEventArgs e)
    {
        CaseCreation casecreation = new CaseCreation();
        TabItem CaseCreationTabItem = new TabItem()
        {
            Header = "CaseCreation",
            Name = "CaseCreationTab",
            Content = casecreation
        };
            MWTexist.CaseCreationTabExist = false;
            var headers = DragablzTC.Items.Cast<TabItem>().Select(x => x.Header).ToList();
            string[] headersarray = headers.Select(i => i.ToString()).ToArray();            //contains arrays of headers current exist
            foreach (string i in headersarray)
            {
                if(i == "CaseCreation")
                {
                    MWTexist.CaseCreationTabExist = true;
                }
            }

            if (MWTexist.CaseCreationTabExist == false)
            {
                DragablzTC.AddToSource(CaseCreationTabItem);
                TabablzControl.SelectItem(CaseCreationTabItem);
            }
    }

Properties:
internal class MainWindowTabs
{
internal bool CaseGridTabExist { get; set; }
internal bool CaseCreationTabExist { get; set; }
}

From a class that allows user to key in infomation:
public partial class CaseCreation
{
private void SaveButton_Click(object sender, RoutedEventArgs e)
{
using (var context = HCEntities.Create())
{
OrderTable CCT = new OrderTable { OrderID_O = OrderIDO.Text, OrderDate_O = OrderDateO, CustomerName_O = OrderCustomerLists.Text, DeliveryAddress_O = CustOrderDeliveryAddress.Text };
context.OrderTables.Add(CCT);
context.SaveChanges();
}
}
}
Since the data is extracted from entity framework, I don't think it is possible to use Inotifypropertychanged in CaseGrid class unless it can be called from the CaseCreation class.

It's okay. I found a way to do it. Thank you.

It's okay. I found a way to do it. Thank you.

Hi Soul Hades,
I have that same problem. What was the solution you found?

It's okay. I found a way to do it. Thank you.

Hi Soul Hades,
I have that same problem. What was the solution you found?

Hi,
I have been still searching solution, how you could done it.
Thanks for your reply


PET data units are not matching in examples given in the short course training package, which is available on the EF5 website.

I downloaded the short course training package available on the EF5 website(http://ef5.ou.edu/training/).  I worked on the example basins, which are the Wangchu basin and example2. I found that, though both examples are using the same PET data(FEWSNET). The PET values have different units in the control file. The Wangchu basin has mm/d, whereas example2 has mm/h. May I know the reason for the same.
The control files of both the basins are attached to this post for your kind reference.
control.txt
control.txt

Just a mistake, probably the correct units are mm/d. If you are using CREST and calibrating it doesn't matter much because there is a parameter which adjusts PET anyways.

Thanks for the confirmation, and I appreciate the quick response.


Remove Renderer casting in accessibility, clean up local variables

A little light, non-critical cleanup to AccessibilityManager. There were some left-over TODOs from the conversion to TypesScript that added a lot of unnecessary casting. Also, tweaked some local variables to minimize verbose variable reuse. None of these changes impact functionality.

Codecov Report

Merging #7114 (57fdedc) into dev (fed4c5b) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               dev     #7114   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           17        17
  Lines          699       699
=========================================
  Hits           699       699

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fed4c5b...57fdedc. Read the comment docs.


improve error message when _eval_jl is not defined

Codecov Report

Merging #17 (800856d) into main (03a603c) will decrease coverage by 1.84%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #17      +/-   ##
==========================================
- Coverage   59.12%   57.28%   -1.85%
==========================================
  Files          11       11
  Lines         849      810      -39
==========================================
- Hits          502      464      -38
+ Misses        347      346       -1

Impacted Files
Coverage Δ

TyPython/src/C.jl
50.00% <0.00%> (-7.15%)
:arrow_down:

TyPython/src/CPython.APIs.jl
43.24% <0.00%> (-3.37%)
:arrow_down:

TyPython/src/CPython.Defs.jl
15.90% <0.00%> (-1.87%)
:arrow_down:

TyPython/src/CPython.jl
91.66% <0.00%> (-0.65%)
:arrow_down:

TyPython/src/CPython.Julia.jl
94.82% <0.00%> (-0.49%)
:arrow_down:

TyPython/src/CPython.Boot.jl
79.06% <0.00%> (-0.48%)
:arrow_down:

TyPython/src/CPython.MRO.jl
97.67% <0.00%> (-0.19%)
:arrow_down:

TyPython/src/CPython.NumPy.jl
92.85% <0.00%> (+0.96%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


TSED.io without WEB API

Information

Version: 5.19
Type: Story

Description
I am using TSED.io for a API that runs in container, and also I am trying to use TSED for lambda functions subscribed on SNS topics (which don't need a WEB API).
Is there a way to use TSED.io Injectables/services on a Lambda function context?

Hello @amellovmware
Yes, it could be possible. @tsed/di can be used in standalone.
Declare your service:
import {Service} from "@tsed/di";
@Service() // or @Injectable
export class MyService {
   $onInit() { // fired by DI

   }

   $customEvent() {
   }

   createSomething() {}
}

import {InjectorService} from "@tsed/di";
import {MyService} from "./MyService";

async function bootstrap() {
  const injector = new InjectorService()

  // Load all providers registered via @Injectable/@Service decorators. You just have to import
  // your class in this same module
  await injector.load() // fire $onInit event

  // Get a specific service
  const myService = injector.get<MyService>()
  myService.createSomething()

  // Emit a custom event
  await injector.emit("customEvent") // accept args

  // And finally destroy injector and his instances (see injector hooks)
  await injector.destroy()
}

bootstrap()

It also possible to use a container when you use injector.load().
import {Container, InjectorService} from "@tsed/di";
import {MyService} from "./MyService";

const container = new Container()
container.addProvider(MyService);

async function bootstrap() {
   const injector = new InjectorService()
   await injector.load(container)
}

I hope this example will help you :)
See you
Romain

Hey!
You could put this example in the tsed.io as serverless example with lambda, I don't know if I'll really use it, but now it's very trendy, and I'm sure it will attract more people for your project.

Yes sure. I have to found an example with express and lambda expression before and write a short example page ;)

Ok I see, The goal is to use the entire tsed app without running / listen server :).
It's same things as run the unit test with SuperTest. I'll try to provide a complete example and maybe a package to wrap the server into a lambda function (if it's necessary)

@Romakita Sorry, what I don't see in the documentation either is no cache system.

Here a quick example with aws-serveless-express:
import awsServerlessExpress  from 'aws-serverless-express'
import {Server} = require('./Server')

const server = awsServerlessExpress.createServer(app)

exports.handler = async (event, context) => {
  const appServer = await ServerLoader.bootstrap(Server)
  const server = awsServerlessExpress.createServer(server.injector.get(ExpressApplication))
  awsServerlessExpress.proxy(server, event, context)
}

This solution require Ts.ED v5.26.0
I don't know if this code works properly. Any help would be appreciate to test this code :)
See you
Romain

The tutorial about aws and tsed is up to date: http://tsed.io/tutorials/aws.html

Impressive, I'll try to test it soon.


[BUG] Issue in running the movie recommendation example on Azure Databricks

Description
While running the notebook,
https://github.com/microsoft/recommenders/blob/master/notebooks/05_operationalize/als_movie_o16n.ipynb
at the line in cell 8,
ws = Workspace.create(
name=workspace_name,
subscription_id=subscription_id,
resource_group=resource_group,
location=location,
exist_ok=True
)
I get the following error
WARNING - Warning: Falling back to use azure cli login credentials.
If you run your code in unattended mode, i.e., where you can't give a user input, then we recommend to use ServicePrincipalAuthentication or MsiAuthentication.
Please refer to aka.ms/aml-notebook-auth for different authentication mechanisms in azureml-sdk.
UserWarning: The resource group doesn't exist or was not provided. AzureML SDK is creating a resource group=o16n-test-rg in location=eastus using subscription=5ce2451b-0b0c-4506-ac37-c7ed4694c47d.
Unable to create the workspace.
Azure Error: InvalidRequestContent
Message: The request content was invalid and could not be deserialized: 'Could not find member 'template' on object of type 'DeploymentDefinition'. Path 'template', line 1, position 12.'.
WorkspaceException: WorkspaceException:
WorkspaceException                        Traceback (most recent call last)
 in
4     resource_group=resource_group,
5     location=location,
----> 6     exist_ok=True
7 )
/databricks/python/lib/python3.7/site-packages/azureml/core/workspace.py in create(name, auth, subscription_id, resource_group, location, create_resource_group, friendly_name, storage_account, key_vault, app_insights, container_registry, default_cpu_compute_target, default_gpu_compute_target, exist_ok, show_output)
337                                         default_cpu_compute_target=default_cpu_compute_target,
338                                         default_gpu_compute_target=default_gpu_compute_target,
--> 339                                         exist_ok=exist_ok, show_output=show_output)
340
341     @staticmethod
/databricks/python/lib/python3.7/site-packages/azureml/core/workspace.py in _create_legacy(auth, subscription_id, resource_group_name, workspace_name, location, create_resource_group, friendly_name, storage_account, key_vault, app_insights, container_registry, default_cpu_compute_target, default_gpu_compute_target, exist_ok, show_output)
925                                                                default_cpu_compute_target=default_cpu_compute_target,
926                                                                default_gpu_compute_target=default_gpu_compute_target,
--> 927                                                                exist_ok=exist_ok, show_output=show_output)
928         if not workspace_object_autorest:
929             raise WorkspaceException("Couldn't create the workspace.")
/databricks/python/lib/python3.7/site-packages/azureml/_project/_commands.py in create_workspace(auth, resource_group_name, workspace_name, subscription_id, location, create_resource_group, friendly_name, storage_account, key_vault, app_insights, containerRegistry, default_cpu_compute_target, default_gpu_compute_target, exist_ok, show_output)
299         default_gpu_compute_target=default_gpu_compute_target,
300         exist_ok=exist_ok,
--> 301         show_output=show_output)
302
303
/databricks/python/lib/python3.7/site-packages/azureml/_workspace/custom.py in ml_workspace_create_resources(auth, client, resource_group_name, workspace_name, location, subscription_id, friendly_name, storage_account, key_vault, app_insights, containerRegistry, default_cpu_compute_target, default_gpu_compute_target, exist_ok, show_output)
87             pass
88         raise WorkspaceException("Unable to create the workspace. {}".format(error_message),
---> 89                                  inner_exception=orchestrator.error)
90
91     if (default_cpu_compute_target or default_gpu_compute_target):
WorkspaceException: WorkspaceException:
Message: Unable to create the workspace. The request content was invalid and could not be deserialized: 'Could not find member 'template' on object of type 'DeploymentDefinition'. Path 'template', line 1, position 12.'.
InnerException Azure Error: InvalidRequestContent
Message: The request content was invalid and could not be deserialized: 'Could not find member 'template' on object of type 'DeploymentDefinition'. Path 'template', line 1, position 12.'.
ErrorResponse
{
"error": {
"message": "Unable to create the workspace. The request content was invalid and could not be deserialized: 'Could not find member 'template' on object of type 'DeploymentDefinition'. Path 'template', line 1, position 12.'."
}
}
The resource group was created, which I can see in my console. However, I am not able to figure out exact problem. May be I am new to this whole environemnt.
In which platform does it happen?
This is happening on Azure Databricks. I am following the steps described in the notebook.
The libraries that I have installed on the cluster were installed through the script. I have only updated the version of Azure CLI.
2.1.2.jar JAR Installed dbfs:/FileStore/jars/azure-cosmosdb-spark_2.4.0_2.11-2.1.2-uber.jar
azure-cli==2.7.0 PyPI Installed
azureml-sdk[databricks]==1.0.69 PyPI Installed
papermill==0.19.1 PyPI Installed
pydocumentdb>=2.3.3 PyPI Installed
Recommenders.egg Egg Installed dbfs:/FileStore/jars/Recommenders.egg
tqdm>=4.31.1 PyPI Installed

How do we replicate the issue?
After setting up the environment, I am only running the default notebook after adding the subscription ID
Expected behavior (i.e. solution)
I should be able to run the whole notebook completely.
Other Comments
I am new to Azure environment, so I may be missing out something.

I resolved the issue by creating a AzureML workspace from console and then using it in the code rather than creating it from the code.
However, the code and script needs to improves the steps and documentation for new learners.
Thanks.


Fine tune DKIM

I have the following report.
permerror (no key)
I added it already in the route53.

"v=DKIM1; k=rsa;"
"p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC6DPQl36uUhGdCkgbeop9FQ8pHSXT0yLPxg+l1/Ei9fXlkZydafJM1ag8fY2DZ4CSSzMdQZlkH3pwR1o2371JribWOQJehOOGO8MGUulHKKoQdDp/AzHRP+dM7PjZtQr+pB6u7PWN1Cl+CbhBeQjEC4OghPlXWDBD2MqoVNJoaswIDAQAB"

Hope it is safe to expose my key here. Touching config is very scary for me.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=elcolie.com; s=mail;

	t=1506438266; bh=fdkeB/A0FkbVP2k4J4pNPoeWH6vqBm9+b0C3OY87Cw8=;

	h=To:From:Subject;

	b=ZLM0EmGZ6B/6lwn53Kjr1241L5U/eIOghDWDduPi9qe6Il33b/lP7PqAD65QtIQHt

	 x8raiLy84eZriF7Dr+gXT5550gzBundIbl17omQ+nEDhurgpJZMkJhAThfeLB6hURy

	 Mn7FM1cvGyQjeMIj0Rb3YK1Jz+x4psVuXtb4O5I0=

Signed-by<EMAIL_ADDRESS>
Expected-Body-Hash: fdkeB/A0FkbVP2k4J4pNPoeWH6vqBm9+b0C3OY87Cw8=

DKIM-Result: permerror (no key)

Reference:
https://github.com/tomav/docker-mailserver/issues/723#issuecomment-331991462

Your DNS is not setup properly.
Read this section of the WIKI: https://github.com/tomav/docker-mailserver/wiki/Configure-DKIM#dkim-txt-record

@johansmitsnl Never though that I have to do debugging.
Because I strictly follow the instruction every steps.
Your dns entry should be:
dig TXT mail._domainkey.elcolie.com

but you do not have a dns entry by that name. Read the wiki more carefully and do not skip parts of it.

@johansmitsnl
Thank you very much.
In the wiki I read it. But misinterpret because smtp works then I was truly believe that config is correct.


Global vs local scope - better explanation - shadowing instead of overiding

It's about the Instruction. There is a term "override" used to explain the case.
I'd suggest to change it to "shadow". Please look at this explanation:
http://stackoverflow.com/questions/5373278/variable-shadowing-in-javascript

While true, I'd worry that this adds confusion for how the global vs. local scope appears to work and the term "shadow" obfuscates the idea imho.

I really like the analogy of "shadowing" variables and I feel that it more aptly describes what is going in local vs global scope.
However, I agree with @dhcodes that is might confuse new coders. Because if we mention "shadowing," we would have to take the time to describe what that means.
The word "override" is a bit more common in everyday language and immediately understandable to our target audience, which is generally new to all programming concepts.

I think it important especially for greenhorns to get the base concepts right from the beginning.
@erictleung it's not about what is common but what is right, right? ;) Shadowing is also used in everyday language, the more sun the more use of the word
The global var stay in the shadow of local one because of the function scope....

I think it important especially for greenhorns to get the base concepts right from the beginning.

This is a common misconception and it usually hinders learning by introducing too many concepts to soon or to quickly.
It important that every challenge is teaching only one concept.

Shadowing is also used in everyday language,

Which language? My concept of shadowing (in everyday use) is probably different from yours and is not applicable to this situation. Also, remember that the concept of shadowing is going to be new regardless since we are trying to teach it in the context of programing. We must take small steps first before we can leap forward.
override is a common english word and it's definition is easily applicable in this situation.

This is a common misconception and it usually hinders learning by introducing too many concepts to soon or to quickly.

Please, to quick or to soon? look at the challenges in every second there is some new concept or construct.

It important that every challenge is teaching only one concept.
In my opinion this challenge teach exactly one concept, the concept of shadowing.

@BerkeleyTrue what are you going to say if someone ask you about the difference between shadowing and overriding based on this stuff?

@msanecki using your argument on "it's not about what is common but what is right," the Stack Overflow post you initially linked to quotes the following.

In computer programming, variable shadowing occurs when a variable declared within a certain scope (decision block, method, or inner class) has the same name as a variable declared in a outer scope.

The concept really being taught here is to extend your understanding of the concept of different scopes and how they play together. The previous two lessons introduce them individually, and this lesson hopes to use them together without introducing too many new things. Nonetheless, I think the
Once again, the target audience for this point in the curriculum is individuals who have little to no programming/computer experience. We're all biased for programming for at least a little bit to be comfortable. So my vision of the curriculum is to have the lowest entry to web development as possible. Nonetheless, I think the challenge still teaches the concept we're all talking about through code. Just my two cents.
We can leave this open for others (experienced to novice programmers) to chime in. Otherwise, this might be bikeshedding a bit.
Possible other solution: write a Wiki entry for "variable shadowing" or edit the current global and local scope Wiki to include "variable shadowing"
tl;dr I would vote for being less pedantic and more pragmatic and just focus on the concept of scope.

So my vision of the curriculum is to have the lowest entry to web development as possible.

@erictleung I like your point of view. From my point of view the issue can get closed. I could write a wiki entry explaining this. Where can I find the wiki?

@msanecki Here's the link to the wiki, which is currently housed on the forum. You may need a few forum posts in order to be able to gain edit rights to the wiki. I'm not sure.
Specific wiki page for that challenge: http://forum.freecodecamp.com/t/challenge-global-vs-local-scope-in-functions/18194
Thanks all who contributed to the discussion.


Spark 2.0.0 support for feature selection and MDL

Currently feature selection and MDL techniques are built using spark 1.6.1. Is there plan to support spark 2.0.0 or latest versions?.

Actually, this packages has support for 2.0.0. Just take a look at the last commit. Thanks to @jabenitez you can build it on Spark 2.0.0. Concerning the MDLP discretizer, I am working on this feature now.


Is there any docker available for this ??

Is there any docker available for this ??

Sorry, there isn't any docker instance yet.


[BUG] refresh library/explore loses context

Describe the bug
I can navigate to my library, click on file system viewer - and it shows me some file system view.
But if I refresh I am taken to the root of my filesystem.
Expected behavior
It would be nice if the file system viewer was jailed to the library directory.
Cheers!

Resolved by #143


Support for floats

Currently Quark only supports integer types. It should support non-integer numbers too.

I've added a float type.


False assumption about GDB and memory reading when target is running?

I keep reading that GDB does not allow for memory view (probing) while target is running, but coming from using Segger Studio, Code Wartrior, emBitz and other suites that all use GDB together with JLINK debuggers this appears strange to me.
So I tested using VS Code and nRF53-DK that uses Segger JlinkGDBServerCL.exe as backend. This allows me to access the command interface via web as well as via VS Code.
While target is running, a simple "mem32 0x2002411c,1" accesses one of my runtime variables, and indeed it is readable.
At the same time I get messages that expression can not be evaluated in VS Code debug console.
Is this a big misconception?
Is it in "the interface used" or in "the use of the interface"?
It seems like a non-existent limitation to me.

It is true that many commands are disabled in GDB while the target is running. No gdb server I know of supports non-stop mode either. So, we are stuck.
But with (only) some gdb-servers (openocd, stlink, jlink), you can use a second instance of gdb connection and try to evaluate expressions, read memory, etc.
There is also another way which is to bypass gdb and talk directly to the gdb-server bit then you need special code for each server and replicate all the logic gdb has to figure out how to convert memory reads into datastructures. Note that mem32 is not a gdb command. It is a gdb-server/monitor command. RTOS view needs to talk to gdb to evaluate expressions and follow linked lists, etc. Memory reads are not sufficient without a TON of work.
But, using the Microsoft Debug Protocol, we can only talk to the first instance of gdb or whatever debugger is running. We can't talk to other things.
Another thing is that just to refresh the rtos-view once, it takes more than one second. Because everything is done via gdb. This is why commercial tools use FW instrumentation to notify change in state. This is done in lieu of polling and is far more accurate and much less bandwidth. But, it is intrusive. You could also use trace perhaps and this would require expensive probes which are all proprietary.
See also experimental https://github.com/Marus/cortex-debug/issues/810 which I also authored. We had to bend over backwards to get that working.

It seems like a non-existent limitation to me.

Perhaps, you can submit a PR? Very low priority for me.

Thank you for the response.
The reason for this is really being used to work in other IDE's with the exact same debugging tools and having this work flawlessly. When Nordic decided to change to VS Code our workflow fell apart.
Debugging stepped 15 years back in time and features that were common no longer work, or apparently are not supported.
Maybe Nordic could help with this and put more focus on it?
I will try raising a ticket with them about this. Non intrusive memory reads at high speed was not a problem before VS Code was forced on us. 2 Hz updates for 10+ variables worked fine and was very useful when tracking RTOS thread scheduling issues.

Doing ~10 scalar variables can be done at much higher rate than 2Hz. But to traverse the RTOS data structures requires lot more than 10 probes. I mean we are following pointers and linked lists in some cases.
Reading the stack is another very expensive operation.
Btw, why not continue to use Ozone? Even if it is just for debugging. Btw, what debugger does Nordic use in VSCode? They have their own, or they use cortex-debug?
In the end, we may have to enhance Microsoft's Debug Protocol and that is not that simple. I've done it. The reason you have disassembly, memory reads/views in VSCode is because of my proposals and it took a very long time to get the changes approved. But, they are very nice and at the same time very careful as it affects millions of users.

The reason I posted here is because I thought they were using RTOS-Views since it came up in the interface after installing the Nordic extensions to VS Code. It may have been VS Code installing it based on it's own suggestions but I thought it was Nordic.

I have no idea what they are using...


Add project param

https://api.swgoh.help/swgoh#project
This one is pretty important to help reduce the data returned from the API to just what's required.

Fixed by https://github.com/jquass/SWGOH-API/pull/20