Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Pre-requisite

Steps to validate


Code Block
curl --header "Content-Type: application/json" --request POST --data '{"jsonrpc":"2.0","id":"3","method":"Controller.1.activate","params":{"callsign":"org.rdk.MaintenanceManager"}}' http://127.0.0.1:9998/jsonrpc
 
Note

Maintanencemanager invocation is handling through UI side. For current validation, we are following this approach.


Success Logs

Logs can be found in /opt/logs/rfcscript.log

Code Block
rdk_logger_init /etc/debug.ini Already Stack Level Logging processed... not processing again.
IARM_Bus_IsConnected invalid state
IARM_Init group name = com.comcast.rdk.iarm.bus member name = RDKVRFCMgrEvent
setting init done
Registering RDKVRFCMgrEvent
241206-12:22:36.124430 [mod=FWUPG, lvl=INFO] [tid=13480] doCurlInit: curl init success
 
241206-12:22:36.124880 [mod=FWUPG, lvl=INFO] [tid=13480] getJsonRpcData : CURL: Setting For jsonrpc_auth_token
 
241206-12:22:36.126891 [mod=FWUPG, lvl=INFO] [tid=13480] Curl Connected to http://127.0.0.1:9998/jsonrpc (127.0.0.1) port 9998
 
241206-12:22:36.127123 [mod=FWUPG, lvl=INFO] [tid=13480] Curl return code =0, http code=202
 
241206-12:22:36.127291 [mod=FWUPG, lvl=INFO] [tid=13480] In performRequest curl_ret_status =0
 
241206-12:22:36.127457 [mod=FWUPG, lvl=INFO] [tid=13480] getJsonRpcData : Bytes Downloaded=73 and curl ret status=0 and http code=202
 
241206-12:22:36.127623 [mod=FWUPG, lvl=INFO] [tid=13480] getJsonRpcData : data received ={"jsonrpc":"2.0","id":3,"error":{"code":2,"message":"ERROR_UNAVAILABLE"}}
 
241206-12:22:36.127798 [mod=FWUPG, lvl=INFO] [tid=13480] doStopDownload : CURL: free resources
 
241206-12:22:36.153992 [mod=RFCMGR, lvl=INFO] [tid=13480] XconfUrl: = https://xconf.rdkcentral.com:19092
241206-12:22:36.154129 [mod=RFCMGR, lvl=ERROR] [tid=13480] [ProcessRuntimeFeatureControlReq][619] Setting URL to https://xconf.rdkcentral.com:19092/featureControl/getSettings from Bootstrap config XCONF_BS_URL:https://xconf.rdkcentral.com:19092
241206-12:22:36.154301 [mod=RFCMGR, lvl=ERROR] [tid=13480] [DownloadRuntimeFeatutres][821] MTLS  certification Failed
241206-12:22:36.161206 [mod=FWUPG, lvl=INFO] [tid=13480] doCurlInit: curl init success
 
241206-12:22:36.161353 [mod=FWUPG, lvl=INFO] [tid=13480] doHttpFileDownload : CURL: setCommonCurlOpt Success
 
241206-12:22:36.161451 [mod=FWUPG, lvl=INFO] [tid=13480] urlHelperDownloadToMem: Header Data Request Set
 
241206-12:22:37.417594 [mod=FWUPG, lvl=INFO] [tid=13480] Curl Connected to https://xconf.rdkcentral.com:19092/featureControl/getSettings?estbMacAddress=D8:3A:DD:0A:AA:30&firmwareVersion=lib32-middleware-test-image-RPI4-20241205084445&env=dev&model=RPI4&controllerId=2504&channelMapId=2345&VodId=15660&partnerId=community&osClass=&accountId=&Experience=X1&version=2 (35.161.239.220) port 19092
 
241206-12:22:37.417735 [mod=FWUPG, lvl=INFO] [tid=13480] Curl return code =0, http code=200
 
241206-12:22:37.417828 [mod=FWUPG, lvl=INFO] [tid=13480] In performRequest curl_ret_status =0
 
241206-12:22:37.417921 [mod=FWUPG, lvl=INFO] [tid=13480] doHttpFileDownload : After curl operation no of bytes Downloaded=303 and curl ret status=0 and http code=200
 
241206-12:22:37.418013 [mod=FWUPG, lvl=INFO] [tid=13480] doStopDownload : CURL: free resources
 
241206-12:22:37.422727 [mod=RFCMGR, lvl=INFO] [tid=13480] [ProcessRuntimeFeatureControlReq][659] Continue processing RFC response.
241206-12:22:37.467785 [mod=RFCMGR, lvl=INFO] [tid=13480] [processXconfResponseConfigDataPart][1279] updated for Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.Airplay.Enable from value old=false, to new=true
241206-12:22:37.484783 [mod=RFCMGR, lvl=INFO] [tid=13480] [processXconfResponseConfigDataPart][1279] updated for Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.SHORTS.Enable from value old=true, to new=false
241206-12:22:37.485773 [mod=RFCMGR, lvl=INFO] [tid=13480] [Features Enabled]-[STAGING]: RDKE_Feature_Testing=true,
241206-12:22:37.504350 [mod=RFCMGR, lvl=INFO] [tid=13480] [ProcessRuntimeFeatureControlReq][662] RFC processing Successfully.
241206-12:22:37.519361 [mod=RFCMGR, lvl=INFO] [tid=13480] [ProcessRuntimeFeatureControlReq][672] COMPLETED RFC PASS
RFC Settings for SNMPv3 is : true .
RFC Settings for SNMPv2 is : false .
iptables: Chain already exists.
iptables: Chain already exists.
iptables: Chain already exists.
iptables: Chain already exists.
iptables: Chain already exists.
iptables: Chain already exists.
iptables: Chain already exists.
iptables: Chain already exists.
iptables: Chain already exists.
iptables: Chain already exists.
ip6tables: Chain already exists.
ip6tables: Chain already exists.
ip6tables: Chain already exists.
ip6tables: Chain already exists.
ip6tables: Chain already exists.
ip6tables: Chain already exists.
ip6tables: Chain already exists.
ip6tables: Chain already exists.
ip6tables: Chain already exists.
ip6tables: Chain already exists.
ip: RTNETLINK answers: No such file or directory
iptables v1.8.7 (legacy): invalid port/service `xxxx' specified
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.8.7 (legacy): Port "xxxx" does not resolve to anything.
 
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.8.7 (legacy): Port "xxxx" does not resolve to anything.
 
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.8.7 (legacy): Port "xxxx" does not resolve to anything.
 
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.8.7 (legacy): Port "xxxx" does not resolve to anything.
 
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.8.7 (legacy): invalid port/service `xxxx' specified
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.8.7 (legacy): invalid port/service `yyyy' specified
Try `iptables -h' or 'iptables --help' for more information.
241206-12:22:38.251043 [mod=RFCMGR, lvl=INFO] [tid=13480] [RFCManagerProcess][354] RFC:Post Processing Successfully Completed

...

{
  "features": [
    {
      "name": "RDKE_Feature_Testing",
      "effectiveImmediate": true,
      "enable": true,
      "configData": {
        "Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.SHORTS.Enable": "false",
        "Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.Airplay.Enable": "false",
        "Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.UploadLogsOnUnscheduledReboot.": "true"
      },
      "featureInstance": "RDKE_Feature_Testing"
    }
  ]
}

Open issues