cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
130
Views
0
Helpful
0
Replies
firassmdr05991
Beginner

OnePK and Openflow on IOS XR

Hello Cisco Community,

 

Could anyone please send me URL of an up to date Cisco document on how to enable and configure OpenFlow on IOS XR? For some reason, all Cisco documents about this topic are outdated and all of them mention that I should configure onepk for Openflow to work. 

 

I know that OnePK has been discontinued and I don't see onepk command in the configuration mode. However, when I tried configuring Openflow on my Cisco ASR 9006 router with IOS XR version 6.3.2, commit took over a minute and then it failed with the following:

#show configuration failed
!! SEMANTIC ERRORS: This configuration was rejected by
!! the system due to semantic errors. The individual
!! errors with each failed configuration command can be
!! found below.

openflow
!!% 'CfgMgr' detected the 'fatal' condition 'This configuration has not been verified and can not be accepted by the system.'
!
end

I also found the following in logs:

RP/0/RSP1/CPU0:Aug 10 20:38:17.624 : rmf_svr[412]: %HA-REDCON-1-STANDBY_NOT_READY : standby card is NOT ready
RP/0/RSP1/CPU0:Aug 10 20:38:17.624 : rmf_svr[412]: %HA-REDCON-1-BACKUP_NOT_READY : backup process groups between 0/RSP1/CPU0 and 0/RSP0/CPU0 are NOT ready
RP/0/RSP0/CPU0:Aug 10 20:38:17.624 : rmf_svr[412]: %HA-REDCON-1-STANDBY_NOT_READY : standby card is NOT ready
RP/0/RSP0/CPU0:Aug 10 20:38:17.625 : rmf_svr[412]: %HA-REDCON-6-STBY_BACKUP_NOT_READY : This card is standby and its backup process groups are NOT ready
RP/0/RSP1/CPU0:Aug 10 20:38:17.628 : rmf_svr[412]: %HA-REDCON-1-BACKUP_READY : backup process groups between 0/RSP1/CPU0 and 0/RSP0/CPU0 are ready
RP/0/RSP1/CPU0:Aug 10 20:38:17.629 : rmf_svr[412]: %HA-REDCON-1-BACKUP_NOT_READY : backup process groups between 0/RSP1/CPU0 and 0/RSP0/CPU0 are NOT ready
RP/0/RSP0/CPU0:Aug 10 20:38:17.629 : rmf_svr[412]: %HA-REDCON-6-STBY_BACKUP_READY : This card is standby and its backup process groups are ready
RP/0/RSP0/CPU0:Aug 10 20:38:17.632 : rmf_svr[412]: %HA-REDCON-6-STBY_BACKUP_NOT_READY : This card is standby and its backup process groups are NOT ready
RP/0/RSP1/CPU0:Aug 10 20:38:17.634 : rmf_svr[412]: %HA-REDCON-1-BACKUP_READY : backup process groups between 0/RSP1/CPU0 and 0/RSP0/CPU0 are ready
RP/0/RSP0/CPU0:Aug 10 20:38:17.634 : rmf_svr[412]: %HA-REDCON-6-STBY_BACKUP_READY : This card is standby and its backup process groups are ready
RP/0/RSP1/CPU0:Aug 10 20:38:27.625 : rmf_svr[412]: %HA-REDCON-1-STANDBY_READY : standby card is ready
RP/0/RSP1/CPU0:Aug 10 20:38:27.951 : rmf_svr[412]: %HA-REDCON-1-BACKUP_NOT_READY : backup process groups between 0/RSP1/CPU0 and 0/RSP0/CPU0 are NOT ready
RP/0/RSP0/CPU0:Aug 10 20:38:27.952 : rmf_svr[412]: %HA-REDCON-6-STBY_BACKUP_NOT_READY : This card is standby and its backup process groups are NOT ready
RP/0/RSP1/CPU0:Aug 10 20:38:27.954 : rmf_svr[412]: %HA-REDCON-1-BACKUP_READY : backup process groups between 0/RSP1/CPU0 and 0/RSP0/CPU0 are ready
RP/0/RSP0/CPU0:Aug 10 20:38:27.955 : rmf_svr[412]: %HA-REDCON-6-STBY_BACKUP_READY : This card is standby and its backup process groups are ready
RP/0/RSP1/CPU0:Aug 10 20:39:18.139 : of_agent[1128]: %L2-OFA_PLUGIN-4-GEN_RC_WARNING : onep element_connect failed failed, rc=7: connection to network element failed: Fail to connect to /tmp/onep-sock. Socket connect failed: No such file or directory
RP/0/RSP1/CPU0:Aug 10 20:39:18.140 : of_agent[1128]: %L2-OFA_PLUGIN-4-GEN_RC_WARNING : onePK init failed failed, rc=1: operation failed
RP/0/RSP1/CPU0:Aug 10 20:39:18.156 : sysmgr[96]: %OS-SYSMGR-3-ERROR : of_agent(1) (jid 1128) exited, will be respawned with a delay (slow-restart)
RP/0/RSP1/CPU0:Aug 10 20:39:18.156 : sysmgr[96]: of_agent(1) (jid 1128) (pid 7524739) (fail_count 1) abnormally terminated, restart scheduled
RP/0/RSP1/CPU0:Aug 10 20:39:18.156 : sysmgr[96]: %OS-SYSMGR-3-ERROR : of_agent(1128) (fail count 1) will be respawned in 10 seconds
RP/0/RSP1/CPU0:Aug 10 20:39:18.156 : sysmgr[96]: %OS-SYSMGR-7-DEBUG : of_agent(1) (jid 1128) did not signal end of initialization

RP/0/RSP1/CPU0:Aug 10 20:40:28.494 : of_agent[1128]: %L2-OFA_PLUGIN-4-GEN_RC_WARNING : onep element_connect failed failed, rc=7: connection to network element failed: Fail to connect to /tmp/onep-sock. Socket connect failed: No such file or directory
RP/0/RSP1/CPU0:Aug 10 20:40:28.495 : of_agent[1128]: %L2-OFA_PLUGIN-4-GEN_RC_WARNING : onePK init failed failed, rc=1: operation failed
RP/0/RSP1/CPU0:Aug 10 20:40:28.511 : sysmgr[96]: of_agent(1) (jid 1128) (pid 7549315) (fail_count 2) abnormally terminated, restart scheduled
RP/0/RSP1/CPU0:Aug 10 20:40:28.511 : sysmgr[96]: %OS-SYSMGR-3-ERROR : of_agent(1) (jid 1128) exited, will be respawned with a delay (slow-restart)
RP/0/RSP1/CPU0:Aug 10 20:40:28.511 : sysmgr[96]: %OS-SYSMGR-3-ERROR : of_agent(1128) (fail count 2) will be respawned in 10 seconds
RP/0/RSP1/CPU0:Aug 10 20:40:28.511 : sysmgr[96]: %OS-SYSMGR-7-DEBUG : of_agent(1) (jid 1128) did not signal end of initialization
RP/0/RSP1/CPU0:Aug 10 20:41:38.871 : of_agent[1128]: %L2-OFA_PLUGIN-4-GEN_RC_WARNING : onep element_connect failed failed, rc=7: connection to network element failed: Fail to connect to /tmp/onep-sock. Socket connect failed: No such file or directory
RP/0/RSP1/CPU0:Aug 10 20:41:38.872 : of_agent[1128]: %L2-OFA_PLUGIN-4-GEN_RC_WARNING : onePK init failed failed, rc=1: operation failed
RP/0/RSP1/CPU0:Aug 10 20:41:38.888 : sysmgr[96]: of_agent(1) (jid 1128) (pid 7561603) (fail_count 3) abnormally terminated, restart scheduled
RP/0/RSP1/CPU0:Aug 10 20:41:38.888 : sysmgr[96]: %OS-SYSMGR-3-ERROR : of_agent(1) (jid 1128) exited, will be respawned with a delay (slow-restart)
RP/0/RSP1/CPU0:Aug 10 20:41:38.888 : sysmgr[96]: %OS-SYSMGR-3-ERROR : of_agent(1128) (fail count 3) will be respawned in 10 seconds
RP/0/RSP1/CPU0:Aug 10 20:41:38.888 : sysmgr[96]: %OS-SYSMGR-7-DEBUG : of_agent(1) (jid 1128) did not signal end of initialization
RP/0/RSP1/CPU0:Aug 10 20:42:49.225 : of_agent[1128]: %L2-OFA_PLUGIN-4-GEN_RC_WARNING : onep element_connect failed failed, rc=7: connection to network element failed: Fail to connect to /tmp/onep-sock. Socket connect failed: No such file or directory
RP/0/RSP1/CPU0:Aug 10 20:42:49.226 : of_agent[1128]: %L2-OFA_PLUGIN-4-GEN_RC_WARNING : onePK init failed failed, rc=1: operation failed
RP/0/RSP1/CPU0:Aug 10 20:42:49.241 : sysmgr[96]: of_agent(1) (jid 1128) (pid 7577987) (fail_count 4) abnormally terminated, restart scheduled
RP/0/RSP1/CPU0:Aug 10 20:42:49.242 : sysmgr[96]: %OS-SYSMGR-3-ERROR : of_agent(1) (jid 1128) exited, will be respawned with a delay (slow-restart)
RP/0/RSP1/CPU0:Aug 10 20:42:49.242 : sysmgr[96]: %OS-SYSMGR-3-ERROR : of_agent(1128) (fail count 4) will be respawned in 10 seconds
RP/0/RSP1/CPU0:Aug 10 20:42:49.242 : sysmgr[96]: %OS-SYSMGR-7-DEBUG : of_agent(1) (jid 1128) did not signal end of initialization
RP/0/RSP1/CPU0:Aug 10 20:43:59.580 : of_agent[1128]: %L2-OFA_PLUGIN-4-GEN_RC_WARNING : onep element_connect failed failed, rc=7: connection to network element failed: Fail to connect to /tmp/onep-sock. Socket connect failed: No such file or directory
RP/0/RSP1/CPU0:Aug 10 20:43:59.581 : of_agent[1128]: %L2-OFA_PLUGIN-4-GEN_RC_WARNING : onePK init failed failed, rc=1: operation failed
RP/0/RSP1/CPU0:Aug 10 20:43:59.597 : sysmgr[96]: of_agent(1) (jid 1128) (pid 7582083) (fail_count 5) abnormally terminated, restart scheduled
RP/0/RSP1/CPU0:Aug 10 20:43:59.597 : sysmgr[96]: %OS-SYSMGR-3-ERROR : of_agent(1) (jid 1128) exited, will be respawned with a delay (slow-restart)
RP/0/RSP1/CPU0:Aug 10 20:43:59.597 : sysmgr[96]: %OS-SYSMGR-7-DEBUG : of_agent(1) (jid 1128) did not signal end of initialization
RP/0/RSP1/CPU0:Aug 10 20:43:59.597 : sysmgr[96]: %OS-SYSMGR-3-ERROR : of_agent(1128) (fail count 5) will be respawned in 120 seconds

If OnePK was discontinued, why would OpenFlow agent try to connect to /tmp/onep-sock ?!

 

Thanks in advance for your support!

Regards,

Firas

0 REPLIES 0
Content for Community-Ad

This widget could not be displayed.