Open robert-sanfeliu opened 4 days ago
I tried again and got the same results.
This is what EMS says:
CPU_SOCKETS=1
CPU_CORES=2
CPU_PROCESSORS=2
RAM_TOTAL_KB=424700
RAM_AVAILABLE_KB=226660
RAM_FREE_KB=41800
RAM_USED_KB=382900
RAM_UTILIZATION=90.1578
DISK_TOTAL_KB=20141632
DISK_FREE_KB=18451092
DISK_USED_KB=1690540
DISK_UTILIZATION=8.39326
OS_ARCHITECTURE=aarch64
OS_KERNEL=Linux
OS_KERNEL_RELEASE=6.8.0-1015-aws
2024-11-19T16:02:34.102Z INFO 30 --- [pool-4-thread-3] g.i.i.e.b.c.i.i.SshClientInstaller : SshClientInstaller: Task #7: Installation Instructions set succeeded: Detect node features (OS, architecture, cores, RAM, disk etc)
2024-11-19T16:02:34.102Z INFO 30 --- [pool-4-thread-3] g.i.i.e.b.c.i.i.SshClientInstaller :
-------------------------------------------------------------------------
Task #7 : Instruction sets processed: successful=1, failed=0, exit-result=SUCCESS
2024-11-19T16:02:34.102Z INFO 30 --- [pool-4-thread-3] g.i.i.e.b.c.i.i.SshClientInstaller : SshClientInstaller: Task completed successfully #7
2024-11-19T16:02:34.103Z INFO 30 --- [pool-4-thread-3] g.i.i.e.b.c.i.i.SshClientInstaller : SshClientInstaller: Disconnected from remote host: task #7: host: 52.90.39.105:22
2024-11-19T16:02:34.103Z INFO 30 --- [pool-4-thread-3] g.i.i.e.b.c.install.ClientInstaller : ClientInstaller: Task execution result #7: success=true
2024-11-19T16:02:34.103Z INFO 30 --- [pool-4-thread-3] g.i.i.e.b.c.install.ClientInstaller : ClientInstaller: Client installation Task #7: result=SUCCESS, duration=4807ms
2024-11-19T16:02:34.103Z INFO 30 --- [pool-4-thread-3] g.i.i.e.b.c.install.ClientInstaller : ClientInstaller: Sending SUCCESS execution report for Task #7: destination=ems.client.installation.reports, report={reference=52340b89-3277-4cba-a54b-822826cc3819, requestId=815f7bc8-4df8-4c44-b38f-d506c2b30488, requestType=DIAGNOSTICS, deviceIpAddress=52.90.39.105, timestamp=1732032154103, status=SUCCESS, deviceId=8514ae55-842f-4943-9ab3-00a02852126c, nodeInfo={CPU_SOCKETS=1, CPU_CORES=2, CPU_PROCESSORS=2, RAM_TOTAL_KB=424700, RAM_AVAILABLE_KB=226660, RAM_FREE_KB=41800, RAM_USED_KB=382900, RAM_UTILIZATION=90.1578, DISK_TOTAL_KB=20141632, DISK_FREE_KB=18451092, DISK_USED_KB=1690540, DISK_UTILIZATION=8.39326, OS_ARCHITECTURE=aarch64, OS_KERNEL=Linux, OS_KERNEL_RELEASE=6.8.0-1015-aws}}
Resource manager:
2024-11-19 16:03:26:288 +0000 [scheduling-1] DEBUG Manager - Registering publisher eu.nebulouscloud.exn.core.Publisher@72aa16be topic://eu.nebulouscloud.monitoring.device_lost
2024-11-19 16:03:29:289 +0000 [scheduling-1] DEBUG Publisher - topic://eu.nebulouscloud.monitoring.device_lost Sending {"device_name":"eut_rob5","timestamp":1732032200}-> null
2024-11-19 16:03:29:291 +0000 [scheduling-1] WARN DeviceProcessor - processFailedDevices: Marked as FAILED device with Id: bb9d1821-df42-43c3-b50d-b3e012bdcac1
2024-11-19 16:03:31:627 +0000 [task-1] WARN SALRegistrationService - SALRegistrationService: processQueue(): Will register device: Device(id=adb52e7c-85d0-48c4-b1ad-800519f460c6, ref=application_id|all-applications|8514ae55-842f-4943-9ab3-00a02852126c, os=LINUX, name=eut_rob8, owner=admin, ipAddress=52.90.39.105, port=22, location=DeviceLocation(id=null, name=nowhere, continent=null, continentCode=null, country=null, countryCode=null, state=null, stateCode=null, city=null, zipcode=null, address=null, extra=null, latitude=0.0, longitude=0.0), username=ubuntu, deviceInfo={}, requestId=815f7bc8-4df8-4c44-b38f-d506c2b30488, creationDate=2024-11-19T16:03:31.626875528Z, lastUpdateDate=null, archiveDate=null, status=NEW_DEVICE, nodeReference=5a9ad43a-e686-4591-9ad2-196dfa0a8ec6, messages=[], statusUpdate=null, metrics=null, suspectTimestamp=null, retries=0, registeredToSAL=false)
2024-11-19 16:03:31:627 +0000 [task-1] WARN SALRegistrationService - Using default IP address as the environmental variable was not set or found
2024-11-19 16:03:31:628 +0000 [task-1] WARN SALRegistrationService - SALRegistrationService: processQueue(): EXCEPTION caught. Will not register device to SAL: Device(id=adb52e7c-85d0-48c4-b1ad-800519f460c6, ref=application_id|all-applications|8514ae55-842f-4943-9ab3-00a02852126c, os=LINUX, name=eut_rob8, owner=admin, ipAddress=52.90.39.105, port=22, location=DeviceLocation(id=null, name=nowhere, continent=null, continentCode=null, country=null, countryCode=null, state=null, stateCode=null, city=null, zipcode=null, address=null, extra=null, latitude=0.0, longitude=0.0), username=ubuntu, deviceInfo={}, requestId=815f7bc8-4df8-4c44-b38f-d506c2b30488, creationDate=2024-11-19T16:03:31.626875528Z, lastUpdateDate=null, archiveDate=null, status=NEW_DEVICE, nodeReference=5a9ad43a-e686-4591-9ad2-196dfa0a8ec6, messages=[], statusUpdate=null, metrics=null, suspectTimestamp=null, retries=0, registeredToSAL=false)
java.lang.NumberFormatException: Cannot parse null string
at java.base/java.lang.Integer.parseInt(Unknown Source)
at java.base/java.lang.Integer.parseInt(Unknown Source)
at eu.nebulous.resource.discovery.registration.service.SALRegistrationService.register(SALRegistrationService.java:73)
at eu.nebulous.resource.discovery.registration.service.SALRegistrationService.processQueue(SALRegistrationService.java:198)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
@robert-sanfeliu The DEV environment that you mention, is different from cd? If yes, then perhaps the code being used there is older and we should reproduce the error in cd
I mixed environments, I really ment PROD environment. @atsag : your question is still valid: Yes, code from PROD environment is what is found on r1 branch for the different components. For EMS, that is involved in this bug report, we don't have a clear vision on what is there, as Radek mentions
On PROD environment, after applying latest changes from main, the problem still persists:
██████╗ ███████╗███████╗ ██████╗ ██╗ ██╗██████╗ ██████╗███████╗ ██████╗ ██╗███████╗ ██████╗ ██████╗ ██╗ ██╗███████╗██████╗ ██╗ ██╗
██╔══██╗██╔════╝██╔════╝██╔═══██╗██║ ██║██╔══██╗██╔════╝██╔════╝ ██╔══██╗██║██╔════╝██╔════╝██╔═══██╗██║ ██║██╔════╝██╔══██╗╚██╗ ██╔╝
██████╔╝█████╗ ███████╗██║ ██║██║ ██║██████╔╝██║ █████╗ ██║ ██║██║███████╗██║ ██║ ██║██║ ██║█████╗ ██████╔╝ ╚████╔╝
██╔══██╗██╔══╝ ╚════██║██║ ██║██║ ██║██╔══██╗██║ ██╔══╝ ██║ ██║██║╚════██║██║ ██║ ██║╚██╗ ██╔╝██╔══╝ ██╔══██╗ ╚██╔╝
██║ ██║███████╗███████║╚██████╔╝╚██████╔╝██║ ██║╚██████╗███████╗ ██████╔╝██║███████║╚██████╗╚██████╔╝ ╚████╔╝ ███████╗██║ ██║ ██║
╚═╝ ╚═╝╚══════╝╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ ╚═════╝ ╚═╝╚══════╝ ╚═════╝ ╚═════╝ ╚═══╝ ╚══════╝╚═╝ ╚═╝ ╚═╝
:: App version :: (1.0.2-SNAPSHOT)
:: Spring Boot :: (v3.2.10)
:: Java (TM) :: (21.0.1)
Nov 22, 2024 8:55:54 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Nov 22, 2024 8:55:54 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/10.1.30]
Nov 22, 2024 8:55:55 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2024-11-22 08:55:56:161 +0000 [main] WARN GroovyTemplateAutoConfiguration - Cannot find template location: classpath:/templates/ (please add some templates, check your Groovy configuration, or set spring.groovy.template.check-template-location=false)
Nov 22, 2024 9:03:58 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2024-11-22 09:07:09:616 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: request: RegistrationRequest(id=49b75a74-a24d-4d68-90eb-bcbb0ee56e30, device=Device(id=9ad16a04-c051-40c1-a7b3-3922f3a126a1, ref=application_id|all-applications|9ad16a04-c051-40c1-a7b3-3922f3a126a1, price=0.0, os=LINUX, name=eut_rob_202411221005, owner=admin, provider=idk, ipAddress=34.203.239.174, port=22, location=DeviceLocation(id=null, name=nowhere, continent=null, continentCode=null, country=null, countryCode=null, state=null, stateCode=null, city=null, zipcode=null, address=null, extra=null, latitude=0.0, longitude=0.0), username=ubuntu, deviceInfo={}), requester=admin, requestDate=2024-11-22T09:06:06.210Z, lastUpdateDate=2024-11-22T09:07:05.718Z, archiveDate=null, status=DATA_COLLECTION_REQUESTED, history=[], nodeReference=null, messages=[])
2024-11-22 09:07:09:626 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: nodeInfo: java.util.LinkedHashMap {CPU_SOCKETS=1, CPU_CORES=2, CPU_PROCESSORS=2, RAM_TOTAL_KB=3924284, RAM_AVAILABLE_KB=3570120, RAM_FREE_KB=3519840, RAM_USED_KB=404444, RAM_UTILIZATION=10.3062, DISK_TOTAL_KB=20141632, DISK_FREE_KB=18561000, DISK_USED_KB=1580632, DISK_UTILIZATION=7.84759, OS_ARCHITECTURE=aarch64, OS_KERNEL=Linux, OS_KERNEL_RELEASE=6.8.0-1015-aws}
2024-11-22 09:07:09:626 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair: CPU_SOCKETS = 1
2024-11-22 09:07:09:626 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair ADDED: CPU_SOCKETS = 1
2024-11-22 09:07:09:626 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair: CPU_CORES = 2
2024-11-22 09:07:09:626 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair ADDED: CPU_CORES = 2
2024-11-22 09:07:09:626 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair: CPU_PROCESSORS = 2
2024-11-22 09:07:09:626 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair ADDED: CPU_PROCESSORS = 2
2024-11-22 09:07:09:626 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair: RAM_TOTAL_KB = 3924284
2024-11-22 09:07:09:626 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair ADDED: RAM_TOTAL_KB = 3924284
2024-11-22 09:07:09:626 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair: RAM_AVAILABLE_KB = 3570120
2024-11-22 09:07:09:627 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair ADDED: RAM_AVAILABLE_KB = 3570120
2024-11-22 09:07:09:627 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair: RAM_FREE_KB = 3519840
2024-11-22 09:07:09:627 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair ADDED: RAM_FREE_KB = 3519840
2024-11-22 09:07:09:627 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair: RAM_USED_KB = 404444
2024-11-22 09:07:09:627 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair ADDED: RAM_USED_KB = 404444
2024-11-22 09:07:09:627 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair: RAM_UTILIZATION = 10.3062
2024-11-22 09:07:09:627 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair ADDED: RAM_UTILIZATION = 10.3062
2024-11-22 09:07:09:627 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair: DISK_TOTAL_KB = 20141632
2024-11-22 09:07:09:627 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair ADDED: DISK_TOTAL_KB = 20141632
2024-11-22 09:07:09:627 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair: DISK_FREE_KB = 18561000
2024-11-22 09:07:09:627 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair ADDED: DISK_FREE_KB = 18561000
2024-11-22 09:07:09:627 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair: DISK_USED_KB = 1580632
2024-11-22 09:07:09:627 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair ADDED: DISK_USED_KB = 1580632
2024-11-22 09:07:09:627 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair: DISK_UTILIZATION = 7.84759
2024-11-22 09:07:09:627 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair ADDED: DISK_UTILIZATION = 7.84759
2024-11-22 09:07:09:627 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair: OS_ARCHITECTURE = aarch64
2024-11-22 09:07:09:627 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair ADDED: OS_ARCHITECTURE = aarch64
2024-11-22 09:07:09:627 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair: OS_KERNEL = Linux
2024-11-22 09:07:09:627 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair ADDED: OS_KERNEL = Linux
2024-11-22 09:07:09:627 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair: OS_KERNEL_RELEASE = 6.8.0-1015-aws
2024-11-22 09:07:09:627 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: Dev-info pair ADDED: OS_KERNEL_RELEASE = 6.8.0-1015-aws
2024-11-22 09:08:08:018 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: request: RegistrationRequest(id=49b75a74-a24d-4d68-90eb-bcbb0ee56e30, device=Device(id=9ad16a04-c051-40c1-a7b3-3922f3a126a1, ref=application_id|all-applications|9ad16a04-c051-40c1-a7b3-3922f3a126a1, price=0.0, os=LINUX, name=eut_rob_202411221005, owner=admin, provider=idk, ipAddress=34.203.239.174, port=22, location=DeviceLocation(id=null, name=nowhere, continent=null, continentCode=null, country=null, countryCode=null, state=null, stateCode=null, city=null, zipcode=null, address=null, extra=null, latitude=0.0, longitude=0.0), username=ubuntu, deviceInfo={CPU_SOCKETS=1, CPU_CORES=2, CPU_PROCESSORS=2, RAM_TOTAL_KB=3924284, RAM_AVAILABLE_KB=3570120, RAM_FREE_KB=3519840, RAM_USED_KB=404444, RAM_UTILIZATION=10.3062, DISK_TOTAL_KB=20141632, DISK_FREE_KB=18561000, DISK_USED_KB=1580632, DISK_UTILIZATION=7.84759, OS_ARCHITECTURE=aarch64, OS_KERNEL=Linux, OS_KERNEL_RELEASE=6.8.0-1015-aws}), requester=admin, requestDate=2024-11-22T09:06:06.210Z, lastUpdateDate=2024-11-22T09:08:05.713Z, archiveDate=null, status=ONBOARDING_REQUESTED, history=[], nodeReference=null, messages=[])
2024-11-22 09:08:08:019 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: processResponse: nodeInfo: java.util.LinkedHashMap {}
2024-11-22 09:08:08:019 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: copyDeviceToMonitoring: BEGIN: request: RegistrationRequest(id=49b75a74-a24d-4d68-90eb-bcbb0ee56e30, device=Device(id=9ad16a04-c051-40c1-a7b3-3922f3a126a1, ref=application_id|all-applications|9ad16a04-c051-40c1-a7b3-3922f3a126a1, price=0.0, os=LINUX, name=eut_rob_202411221005, owner=admin, provider=idk, ipAddress=34.203.239.174, port=22, location=DeviceLocation(id=null, name=nowhere, continent=null, continentCode=null, country=null, countryCode=null, state=null, stateCode=null, city=null, zipcode=null, address=null, extra=null, latitude=0.0, longitude=0.0), username=ubuntu, deviceInfo={}), requester=admin, requestDate=2024-11-22T09:06:06.210Z, lastUpdateDate=2024-11-22T09:08:08.014Z, archiveDate=null, status=SUCCESS, history=[], nodeReference=2ddeb8a3-81c1-4713-9b0a-a8c120ac00fa, messages=[])
2024-11-22 09:08:08:019 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: copyDeviceToMonitoring: request-DEVICE: Device(id=9ad16a04-c051-40c1-a7b3-3922f3a126a1, ref=application_id|all-applications|9ad16a04-c051-40c1-a7b3-3922f3a126a1, price=0.0, os=LINUX, name=eut_rob_202411221005, owner=admin, provider=idk, ipAddress=34.203.239.174, port=22, location=DeviceLocation(id=null, name=nowhere, continent=null, continentCode=null, country=null, countryCode=null, state=null, stateCode=null, city=null, zipcode=null, address=null, extra=null, latitude=0.0, longitude=0.0), username=ubuntu, deviceInfo={})
2024-11-22 09:08:08:056 +0000 [ActiveMQ Session Task-3] WARN RegistrationRequestProcessor - RegistrationRequestProcessor: copyDeviceToMonitoring: COPIED-DEVICE: Device(id=40f1f102-f147-494f-9f2d-10a6f9724281, sal_id=null, ref=application_id|all-applications|9ad16a04-c051-40c1-a7b3-3922f3a126a1, price=0.0, os=LINUX, name=eut_rob_202411221005, owner=admin, provider=idk, ipAddress=34.203.239.174, port=22, location=DeviceLocation(id=null, name=nowhere, continent=null, continentCode=null, country=null, countryCode=null, state=null, stateCode=null, city=null, zipcode=null, address=null, extra=null, latitude=0.0, longitude=0.0), username=ubuntu, deviceInfo={}, requestId=49b75a74-a24d-4d68-90eb-bcbb0ee56e30, creationDate=2024-11-22T09:08:08.022420961Z, lastUpdateDate=null, archiveDate=null, status=NEW_DEVICE, nodeReference=2ddeb8a3-81c1-4713-9b0a-a8c120ac00fa, messages=[], statusUpdate=null, metrics=null, suspectTimestamp=null, retries=0, registeredToSAL=false)
2024-11-22 09:08:08:064 +0000 [task-3] WARN SALRegistrationService - SALRegistrationService: processQueue(): Will register device: Device(id=40f1f102-f147-494f-9f2d-10a6f9724281, sal_id=null, ref=application_id|all-applications|9ad16a04-c051-40c1-a7b3-3922f3a126a1, price=0.0, os=LINUX, name=eut_rob_202411221005, owner=admin, provider=idk, ipAddress=34.203.239.174, port=22, location=DeviceLocation(id=null, name=nowhere, continent=null, continentCode=null, country=null, countryCode=null, state=null, stateCode=null, city=null, zipcode=null, address=null, extra=null, latitude=0.0, longitude=0.0), username=ubuntu, deviceInfo={}, requestId=49b75a74-a24d-4d68-90eb-bcbb0ee56e30, creationDate=2024-11-22T09:08:08.022420961Z, lastUpdateDate=null, archiveDate=null, status=NEW_DEVICE, nodeReference=2ddeb8a3-81c1-4713-9b0a-a8c120ac00fa, messages=[], statusUpdate=null, metrics=null, suspectTimestamp=null, retries=0, registeredToSAL=false)
2024-11-22 09:08:08:065 +0000 [task-3] WARN SALRegistrationService - SALRegistrationService: register: BEGIN: device: Device(id=40f1f102-f147-494f-9f2d-10a6f9724281, sal_id=null, ref=application_id|all-applications|9ad16a04-c051-40c1-a7b3-3922f3a126a1, price=0.0, os=LINUX, name=eut_rob_202411221005, owner=admin, provider=idk, ipAddress=34.203.239.174, port=22, location=DeviceLocation(id=null, name=nowhere, continent=null, continentCode=null, country=null, countryCode=null, state=null, stateCode=null, city=null, zipcode=null, address=null, extra=null, latitude=0.0, longitude=0.0), username=ubuntu, deviceInfo={}, requestId=49b75a74-a24d-4d68-90eb-bcbb0ee56e30, creationDate=2024-11-22T09:08:08.022420961Z, lastUpdateDate=null, archiveDate=null, status=NEW_DEVICE, nodeReference=2ddeb8a3-81c1-4713-9b0a-a8c120ac00fa, messages=[], statusUpdate=null, metrics=null, suspectTimestamp=null, retries=0, registeredToSAL=false)
2024-11-22 09:08:08:065 +0000 [task-3] WARN SALRegistrationService - Using default IP address (158.39.201.36) to fetch Proactive client jar files from, as the environmental variable was not set or found
2024-11-22 09:08:08:066 +0000 [task-3] WARN SALRegistrationService - SALRegistrationService: register: DEVICE-INFO: {}
2024-11-22 09:08:08:066 +0000 [task-3] WARN SALRegistrationService - SALRegistrationService: processQueue(): EXCEPTION caught. Will not register device to SAL: Device(id=40f1f102-f147-494f-9f2d-10a6f9724281, sal_id=null, ref=application_id|all-applications|9ad16a04-c051-40c1-a7b3-3922f3a126a1, price=0.0, os=LINUX, name=eut_rob_202411221005, owner=admin, provider=idk, ipAddress=34.203.239.174, port=22, location=DeviceLocation(id=null, name=nowhere, continent=null, continentCode=null, country=null, countryCode=null, state=null, stateCode=null, city=null, zipcode=null, address=null, extra=null, latitude=0.0, longitude=0.0), username=ubuntu, deviceInfo={}, requestId=49b75a74-a24d-4d68-90eb-bcbb0ee56e30, creationDate=2024-11-22T09:08:08.022420961Z, lastUpdateDate=null, archiveDate=null, status=NEW_DEVICE, nodeReference=2ddeb8a3-81c1-4713-9b0a-a8c120ac00fa, messages=[], statusUpdate=null, metrics=null, suspectTimestamp=null, retries=0, registeredToSAL=false)
java.lang.NumberFormatException: Cannot parse null string
at java.base/java.lang.Integer.parseInt(Unknown Source)
at java.base/java.lang.Integer.parseInt(Unknown Source)
at eu.nebulous.resource.discovery.registration.service.SALRegistrationService.register(SALRegistrationService.java:78)
at eu.nebulous.resource.discovery.registration.service.SALRegistrationService.processQueue(SALRegistrationService.java:214)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
On PROD environment, registering a edge device failed:
The error seems to appear when parsing the CPU. Line 73 of:
https://github.com/eu-nebulous/resource-manager/blob/r1/resource-discovery/src/main/java/eu/nebulous/resource/discovery/registration/service/SALRegistrationService.java
EMS shows: