2025-08-10 19:20:56,712 INFO:192.168.0.235 install
2025-08-10 19:20:56,712 INFO:Ensure stable connection for 60s
2025-08-10 19:20:56,712 INFO:TASK: Check Connectivity
2025-08-10 19:20:57,880 INFO:Successful connection check..
2025-08-10 19:21:28,317 INFO:Successful connection check..
2025-08-10 19:21:57,824 INFO:Successful connection check..
2025-08-10 19:21:57,825 INFO:TASK: Get platform type
2025-08-10 19:22:41,595 INFO:192.168.0.235::junos
2025-08-10 19:22:41,596 INFO:System Agent id:
2025-08-10 19:22:41,596 INFO:TASK: Get device facts
2025-08-10 19:22:41,597 INFO:Command (timeout-120): show chassis hardware | display json
2025-08-10 19:22:41,597 INFO:command (timeout-120): uptime
2025-08-10 19:22:46,563 INFO:Command (timeout-120): show system information | display xml | match Model
2025-08-10 19:22:48,991 INFO:Command (timeout-120): show interfaces fxp0 | display xml | match current-physical-address
2025-08-10 19:22:53,089 INFO:Command (timeout-120): show version | display json
2025-08-10 19:23:07,688 INFO:{'apstra_aos_agent_version': 'absent', 'apstra_aos_operation_mode': 'notInstalled', 'apstra_platform': 'junos', 'apstra_platform_version': {'re0': '23.4R2-S2.1'}, 'apstra_serial_number': '500000050000', 'apstra_nos_type': 'junos', 'apstra_nos_version': {'re0': '23.4R2-S2.1'}, 'apstra_model_name': 'EX9214', 'apstra_secure_sysdb': None, 'aos_agent_running': None, 'apstra_aos_fips_enabled': None}
2025-08-10 19:23:07,688 INFO:Intent version = 6.0.0-189
2025-08-10 19:23:07,688 INFO:enable_config: True, tls: False, device_encryption: False, enable fips: False
2025-08-10 19:23:07,688 INFO:TASK: Collect pristine
2025-08-10 19:23:12,159 INFO:TASK: Validate pristine config
2025-08-10 19:23:12,160 INFO:TASK: Validate existing grpc config
2025-08-10 19:23:12,161 INFO:Command (timeout-120): show configuration system services | display json
2025-08-10 19:23:18,375 INFO:TASK: Configure grpc
2025-08-10 19:23:18,376 INFO:TASK: Validate existing grpc config
2025-08-10 19:23:18,377 INFO:Command (timeout-120): show configuration system services | display json
2025-08-10 19:23:24,268 INFO:Is cert present: False, Is cert valid: False, Is grpc cert configured: True, Is grpc port configured: True, local certificates list: ['aos_grpc'], port configured: 32767, Is routing instance configured: True
2025-08-10 19:23:24,269 INFO:Removing local certificate from GRPC config.
2025-08-10 19:23:32,523 INFO:Command (timeout-120): ['delete system services extension-service request-response grpc ssl local-certificate aos_grpc']
2025-08-10 19:23:46,850 ERROR:FAILED CommitError(edit_path: [edit system services extension-service request-response grpc], bad_element: ssl, message: error: Missing mandatory statement: 'local-certificate'
error: commit failed: (missing mandatory statements))
2025-08-10 19:23:46,851 ERROR:FAILED CommitError(edit_path: [edit system services extension-service request-response grpc], bad_element: ssl, message: error: Missing mandatory statement: 'local-certificate'
error: commit failed: (missing mandatory statements))
2025-08-10 19:23:46,867 ERROR:CommitError(edit_path: [edit system services extension-service request-response grpc], bad_element: ssl, message: error: Missing mandatory statement: 'local-certificate'
error: commit failed: (missing mandatory statements))
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/jnpr/junos/device.py", line 834, in execute
rpc_rsp_e = self._rpc_reply(
File "/usr/local/lib/python3.10/dist-packages/jnpr/junos/decorators.py", line 145, in wrapper
raise ex
File "/usr/local/lib/python3.10/dist-packages/jnpr/junos/decorators.py", line 117, in wrapper
rsp = function(self, *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/jnpr/junos/device.py", line 1470, in _rpc_reply
return self._conn.rpc(rpc_cmd_e, filter_xml)._NCElement__doc
File "/usr/local/lib/python3.10/dist-packages/ncclient/manager.py", line 246, in execute
return cls(self._session,
File "/usr/local/lib/python3.10/dist-packages/ncclient/operations/third_party/juniper/rpc.py", line 52, in request
return self._request(rpc)
File "/usr/local/lib/python3.10/dist-packages/ncclient/operations/rpc.py", line 373, in _request
raise RPCError(to_ele(self._reply._raw), errs=errors)
ncclient.operations.rpc.RPCError: error: Missing mandatory statement: 'local-certificate'
error: commit failed: (missing mandatory statements)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/jnpr/junos/utils/config.py", line 149, in commit
rsp = self.rpc.commit_configuration(*rpc_varg, **rpc_args)
File "/usr/local/lib/python3.10/dist-packages/jnpr/junos/rpcmeta.py", line 363, in _exec_rpc
return self._junos.execute(rpc, **dec_args)
File "/usr/local/lib/python3.10/dist-packages/jnpr/junos/decorators.py", line 76, in wrapper
return function(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/jnpr/junos/decorators.py", line 23, in wrapper
result = function(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/jnpr/junos/device.py", line 854, in execute
raise EzErrors.RpcError(cmd=rpc_cmd_e, rsp=rsp, errs=ex)
jnpr.junos.exception.RpcError: RpcError(severity: error, bad_element: ssl, message: error: Missing mandatory statement: 'local-certificate'
error: commit failed: (missing mandatory statements))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/aos/system_agent/runner/aos_device_installer/run.py", line 107, in <module>
action.run_action()
File "/aos/system_agent/runner/actions/base_action.py", line 326, in run_action
self.run()
File "/aos/system_agent/runner/actions/juniper.py", line 2354, in run
self._install()
File "/aos/system_agent/runner/actions/base_action.py", line 435, in _install
self.collect_pristine()
File "/aos/system_agent/runner/actions/utils/base_di.py", line 210, in wrapped
return f(self, *args, **kwargs)
File "/aos/system_agent/runner/actions/juniper.py", line 1157, in collect_pristine
self.configure_grpc()
File "/aos/system_agent/runner/actions/utils/base_di.py", line 210, in wrapped
return f(self, *args, **kwargs)
File "/aos/system_agent/runner/actions/juniper.py", line 1497, in configure_grpc
driver.commit()
File "/aos/system_agent/runner/actions/juniper.py", line 151, in commit
raise ce
File "/aos/system_agent/runner/actions/juniper.py", line 145, in commit
commit_out = self.__config.commit(
File "/usr/local/lib/python3.10/dist-packages/jnpr/junos/utils/config.py", line 157, in commit
raise CommitError(cmd=err.cmd, rsp=err.rsp, errs=err.errs)
jnpr.junos.exception.CommitError: CommitError(edit_path: [edit system services extension-service request-response grpc], bad_element: ssl, message: error: Missing mandatory statement: 'local-certificate'
error: commit failed: (missing mandatory statements))