timeu

ACI Openstack reset failed

Jul 8th, 2021
359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.69 KB | None | 0 0
  1. 2021-07-08 15:10:10.435 9158 139837755766592 WARNING aim.agent.aid.universes.aim_universe [-] Reset called for roots ['tn-common'] 2021-07-08 15:10:10.438 9158 139837755766592 INFO aim.agent.aid.universes.base_universe [-] Universe differences between ACI_Config_Universe and AIM_Config_Universe: {'create': [], 'delete': [('fvTenant|prj_03a91b74f8774f27a30e8c4a6021440f', 'fvAp|OpenStack', 'fvAEPg|net_fd533b5e-02ac-4f29-ae8f-0afaf929ef03'), ('fvTenant|prj_03a91b74f8774f27a30e8c4a6021440f', 'fvAp|OpenStack', 'fvAEPg|net_fd533b5e-02ac-4f29-ae8f-0afaf929ef
  2. 03', 'fvRsBd|rsbd'), ('fvTenant|prj_03a91b74f8774f27a30e8c4a6021440f', 'fvAp|OpenStack', 'fvAEPg|net_fd533b5e-02ac-4f29-ae8f-0afaf929ef03', 'fvRsDomAtt|uni/vmmp-OpenStack/dom-clipdev'), ('fvTenant|prj_03a91b74f8774f27a30e8c4a6021440f', 'fvBD|net_fd533b5e-02ac-4f29-ae8f-0afaf929ef03'), ('fvTenant|prj_03a91b74f8774f27a30e8c4a6021440f', 'fvBD|net_fd533b5e-02ac-4f29-ae8f-0afaf929ef03', 'fvRsCtx|rsctx')]} 2021-07-08 15:10:12.576 9158 139837755766592 INFO aim.agent.aid.service [-] Start serving cycle. 2021-07-08 15:10:12.588 9158 139837755766592 INFO aim.agent.aid.universes.aci.aci_universe [-] Tenant tn-common was served but needs to be replaced: dead-True 2021-07-08 15:10:12.588 9158 139837755766592 INFO aim.agent.aid.universes.aci.tenant [-] Unsubscribing tenant websocket tn-common 2021-07-08 15:10:12.588 9158 139837755766592 INFO aim.agent.aid.universes.aci.tenant [-] Init manager for tenant tn-common
  3. 2021-07-08 15:10:12.599 9158 139837755766592 INFO aim.agent.aid.universes.aci.tenant [-] Unsubscribing tenant websocket tn-common
  4. 2021-07-08 15:10:12.599 9158 139837755766592 INFO root [-] Unsubscribing from url: /api/node/mo/uni/tn-common.json?query-target=subtree&rsp-subtree-include=faults&subscription=yes&refresh-timeout=900&target-subtree-class=vnsLDevCtx,fabricTopology,vnsAbsTermNodeCon,hostprotRule,spanSpanLbl,fvAEPg,l3extSubnet,vmmDomP,vnsRsLIfCtxToLIf,l3extRsL3DomAtt,vnsRsALDevToDomP,spanRsSrcToVPort,fvRsDomAtt,vmmInjectedNs,vzOutTerm,vnsAbsF
  5. uncConn,vzFilter,vnsOutTerm,vmmVSwitchPolicyCont,l3extRsEctx,qosDppPol,fvRsProv,ipNexthopP,vnsSvcRedirectPol,fvTenant,vnsInTerm,vmmCtrlrP,vzRsFiltAtt,vnsCDev,infraAccBndlGrp,vnsRedirectDest,vzEntry,vzRsInTermGraphAtt,bgpExtP,vzSubj,fvBD,fvRsSecInherited,fvRsBd,vnsRsRedirectHealthGroup,vmmProvP,l3extRsPathL3OutAtt,opflexODev,spanVDestGrp,netflowVmmExporterPol,fvIPSLAMonitoringPol,vnsRsAbsConnectionConns,infraRsSpanVDestGrp,
  6. l3extRsInstPToNatMappingEPg,l3extRsNodeL3OutAtt,vnsRsIPSLAMonitoringPol,vnsRsLIfCtxToSvcRedirectPol,hostprotSubj,bgpAsP,l3extMember,spanVSrc,vnsRsALDevToPhysDomP,infraRsSpanVSrcGrp,vnsAbsGraph,vnsLDevVip,spanVDest,l3extInstP,vzInTerm,vmmRsDomMcastAddrNs,fvSubnet,fvAp,vnsRsCIfPathAtt,vnsRsLIfCtxToBD,vmmInjectedDepl,bgpPeerP,fvCtx,tagInst,vnsRsLDevCtxToLDev,vmmInjectedHost,vnsCIf,fvRsBDToOut,vnsAbsTermNodeProv,hostprotRemote
  7. Ip,vmmInjectedReplSet,hostprotPol,l3extLNodeP,l3extLIfP,vnsAbsTermConn,vnsRsNodeToLDev,fvRsPathAtt,fabricPod,vmmInjectedSvcPort,vnsLIfCtx,faultInst,vzRsOutTermGraphAtt,fvRsCtx,vzBrCP,ipRouteP,vnsAbsNode,l3extIp,fvRsCons,vmmInjectedContGrp,vzOOBBrCP,vzRsSubjFiltAtt,vmmInjectedSvcEp,l3extOut,spanVEpgSummary,vmmRsVswitchExporterPol,vnsRsCIfAttN,vnsAbsConnection,infraAccPortGrp,infraInfra,vmmInjectedSvc,vnsLIf,spanVSrcGrp,vzRsSubjGraphAtt,physDomP,infraRsVlanNs,vnsRedirectHealthGroup 2021-07-08 15:10:12.599 9158 139837013223168 INFO root [-] Subscribing to url: /api/node/mo/uni/tn-common.json?query-target=subtree&rsp-subtree-include=faults&subscription=yes&refresh-timeout=900&target-subtree-class=vnsLDevCtx,fabricTopology,vnsAbsTermNodeCon,hostprotRule,spanSpanLbl,fvAEPg,l3extSubnet,vmmDomP,vnsRsLIfCtxToLIf,l3extRsL3DomAtt,vnsRsALDevToDomP,spanRsSrcToVPort,fvRsDomAtt,vmmInjectedNs,vzOutTerm,vnsAbsFuncConn,vzFilter,vnsOutTerm,vmmVSwitchPolicyCont,l3extRsEctx,qosDppPol,fvRsProv,ipNexthopP,vnsSvcRedirectPol,fvTenant,vnsInTerm,vmmCtrlrP,vzRsFiltAtt,vnsCDev,infraAccBndlGrp,vnsRedirectDest,vzEntry,vzRsInTermGraphAtt,bgpExtP,vzSubj,fvBD,fvRsSecInherited,fvRsBd,vnsRsRedirectHealthGroup,vmmProvP,l3extRsPathL3OutAtt,opflexODev,spanVDestGrp,netflowVmmExporterPol,fvIPSLAMonitoringPol,vnsRsAbsConnectionConns,infraRsSpanVDestGrp,l3extRsInstPToNatMappingEPg,l3extRsNodeL3OutAtt,vnsRsIPSLAMonitoringPol,vnsRsLIfCtxToSvcRedirectPol,hostprotSubj,bgpAsP,l3extMember,spanVSrc,vnsRsALDevToPhysDomP,infraRsSpanVSrcGrp,vnsAbsGraph,vnsLDevVip,spanVDest,l3extInstP,vzInTerm,vmmRsDomMcastAddrNs,fvSubnet,fvAp,vnsRsCIfPathAtt,vnsRsLIfCtxToBD,vmmInjectedDepl,bgpPeerP,fvCtx,tagInst,vnsRsLDevCtxToLDev,vmmInjectedHost,vnsCIf,fvRsBDToOut,vnsAbsTermNodeProv,hostprotRemoteIp,v
  8. mmInjectedReplSet,hostprotPol,l3extLNodeP,l3extLIfP,vnsAbsTermConn,vnsRsNodeToLDev,fvRsPathAtt,fabricPod,vmmInjectedSvcPort,vnsLIfCtx,faultInst,vzRsOutTermGraphAtt,fvRsCtx,vzBrCP,ipRouteP,vnsAbsNode,l3extIp,fvRsCons,vmmInjectedContGrp,vzOOBBrCP,vzRsSubjFiltAtt,vmmInjectedSvcEp,l3extOut,spanVEpgSummary,vmmRsVswitchExporterPol,vnsRsCIfAttN,vnsAbsConnection,infraAccPortGrp,infraInfra,vmmInjectedSvc,vnsLIf,spanVSrcGrp,vzRsSubjGraphAtt,physDomP,infraRsVlanNs,vnsRedirectHealthGroup 2021-07-08 15:10:12.603 9158 139837755766592 INFO aim.agent.aid.service [-] AID aid-oc-ctl-0 is currently serving: ['infra', 'phys-pdom_physnet1', 'tn-common', 'tn-prj_03a91b74f8774f27a30e8c4a6021440f', 'tn-prj_9eba6b23c43d4798b352807bd8669aa1', 'topology', 'vmmp-OpenStack', 'vmmp-VMware'] 2021-07-08 15:10:12.605 9158 139837755766592 INFO aim.agent.aid.service [-] Start reconciliation cycle. 2021-07-08 15:10:12.615 9158 139837013223168 ERROR root [-] Raising ConnectionError
  9. 2021-07-08 15:10:12.615 9158 139837013223168 ERROR root [-] Could not send subscription to APIC for url /api/node/mo/uni/tn-common.json?query-target=subtree&rsp-subtree-include=faults&subscription=yes&refresh-timeout=900&target-subtree-class=vnsLDevCtx,fabricTopology,vnsAbsTermNodeCon,hostprotRule,spanSpanLbl,fvAEPg,l3extSubnet,vmmDomP,vnsRsLIfCtxToLIf,l3extRsL3DomAtt,vnsRsALDevToDomP,spanRsSrcToVPort,fvRsDomAtt,vmmInjecte
  10. dNs,vzOutTerm,vnsAbsFuncConn,vzFilter,vnsOutTerm,vmmVSwitchPolicyCont,l3extRsEctx,qosDppPol,fvRsProv,ipNexthopP,vnsSvcRedirectPol,fvTenant,vnsInTerm,vmmCtrlrP,vzRsFiltAtt,vnsCDev,infraAccBndlGrp,vnsRedirectDest,vzEntry,vzRsInTermGraphAtt,bgpExtP,vzSubj,fvBD,fvRsSecInherited,fvRsBd,vnsRsRedirectHealthGroup,vmmProvP,l3extRsPathL3OutAtt,opflexODev,spanVDestGrp,netflowVmmExporterPol,fvIPSLAMonitoringPol,vnsRsAbsConnectionConns
  11. ,infraRsSpanVDestGrp,l3extRsInstPToNatMappingEPg,l3extRsNodeL3OutAtt,vnsRsIPSLAMonitoringPol,vnsRsLIfCtxToSvcRedirectPol,hostprotSubj,bgpAsP,l3extMember,spanVSrc,vnsRsALDevToPhysDomP,infraRsSpanVSrcGrp,vnsAbsGraph,vnsLDevVip,spanVDest,l3extInstP,vzInTerm,vmmRsDomMcastAddrNs,fvSubnet,fvAp,vnsRsCIfPathAtt,vnsRsLIfCtxToBD,vmmInjectedDepl,bgpPeerP,fvCtx,tagInst,vnsRsLDevCtxToLDev,vmmInjectedHost,vnsCIf,fvRsBDToOut,vnsAbsTermNo
  12. deProv,hostprotRemoteIp,vmmInjectedReplSet,hostprotPol,l3extLNodeP,l3extLIfP,vnsAbsTermConn,vnsRsNodeToLDev,fvRsPathAtt,fabricPod,vmmInjectedSvcPort,vnsLIfCtx,faultInst,vzRsOutTermGraphAtt,fvRsCtx,vzBrCP,ipRouteP,vnsAbsNode,l3extIp,fvRsCons,vmmInjectedContGrp,vzOOBBrCP,vzRsSubjFiltAtt,vmmInjectedSvcEp,l3extOut,spanVEpgSummary,vmmRsVswitchExporterPol,vnsRsCIfAttN,vnsAbsConnection,infraAccPortGrp,infraInfra,vmmInjectedSvc,vn
  13. sLIf,spanVSrcGrp,vzRsSubjGraphAtt,physDomP,infraRsVlanNs,vnsRedirectHealthGroup: requests.exceptions.ConnectionError 2021-07-08 15:10:12.665 9158 139837013223168 INFO aim.agent.aid.universes.aci.aci_universe [-] Establishing normal WS connection with url: https://172.16.0.11
  14. 2021-07-08 15:10:12.666 9158 139837013223168 INFO root [-] Initializing connection to the APIC 2021-07-08 15:10:12.877 9158 139837755766592 INFO aim.agent.aid.universes.base_universe [-] Universe differences between ACI_Config_Universe and AIM_Config_Universe: {'create': [], 'delete': [('fvTenant|prj_03a91b74f8774f27a30e8c4a6021440f', 'fvAp|OpenStack', 'fvAEPg|net_fd533b5e-02ac-4f29-ae8f-0afaf929ef03'), ('fvTenant|prj_03a91b74f8774f27a30e8c4a6021440f', 'fvAp|OpenStack', 'fvAEPg|net_fd533b5e-02ac-4f29-ae8f-0afaf929ef
  15. 03', 'fvRsBd|rsbd'), ('fvTenant|prj_03a91b74f8774f27a30e8c4a6021440f', 'fvAp|OpenStack', 'fvAEPg|net_fd533b5e-02ac-4f29-ae8f-0afaf929ef03', 'fvRsDomAtt|uni/vmmp-OpenStack/dom-clipdev'), ('fvTenant|prj_03a91b74f8774f27a30e8c4a6021440f', 'fvBD|net_fd533b5e-02ac-4f29-ae8f-0afaf929ef03'), ('fvTenant|prj_03a91b74f8774f27a30e8c4a6021440f', 'fvBD|net_fd533b5e-02ac-4f29-ae8f-0afaf929ef03', 'fvRsCtx|rsctx')]}
  16. 2021-07-08 15:10:12.887 9158 139837013223168 INFO aim.agent.aid.universes.aci.aci_universe [-] normal Websocket connection succeeded with url: https://172.16.0.11
  17. 2021-07-08 15:10:12.894 9158 139837013223168 ERROR aim.agent.aid.universes.aci.tenant [-] An exception has occurred in thread serving tenant tn-common, error: Expected object of type bytes or bytearray, got: <class 'str'> 2021-07-08 15:10:12.895 9158 139837013223168 ERROR aim.agent.aid.universes.aci.tenant [-] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/aim/agent/aid/universes/aci/tenant.py", line 403, in _main_loop self._subscribe_tenant() File "/usr/lib/python3.6/site-packages/aim/agent/aid/universes/aci/tenant.py", line 646, in _subscribe_tenant
  18. self.ws_context.subscribe(self.tenant.urls) File "/usr/lib/python3.6/site-packages/aim/agent/aid/universes/aci/aci_universe.py", line 305, in subscribe text=resp.text) File "/usr/lib/python3.6/site-packages/requests/models.py", line 857, in text encoding = self.apparent_encoding
  19. File "/usr/lib/python3.6/site-packages/requests/models.py", line 727, in apparent_encoding
  20. return chardet.detect(self.content)['encoding']
  21. File "/usr/lib/python3.6/site-packages/chardet/__init__.py", line 34, in detect
  22. '{0}'.format(type(byte_str)))
  23. TypeError: Expected object of type bytes or bytearray, got: <class 'str'>
  24.  
  25. 2021-07-08 15:10:12.895 9158 139837013223168 INFO aim.agent.aid.universes.aci.tenant [-] Unsubscribing tenant websocket tn-common
Advertisement
Add Comment
Please, Sign In to add comment