This is specific to networking-calico. neutron launchpad is not related as a bug tracker.
** Changed in: neutron Status: New => Invalid ** No longer affects: neutron -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1857030 Title: networking_calico.plugins.ml2.drivers.calico.mech_calico TypeError: a bytes-like object is required, not 'str' Status in networking-calico: New Bug description: Could you assist with the following ERRORs 2019-12-19 17:46:06.086 63227 INFO networking_calico.plugins.ml2.drivers.calico.mech_calico [-] Became the master, starting StatusWatcher 2019-12-19 17:46:06.087 63227 INFO networking_calico.etcdutils [-] Registering path /calico/felix/v2/no-region/host/<hostname>/status set=<bound method StatusWatcher._on_status_set of <networking_calico.plugins.ml2.drivers.calico.status.StatusWatcher object at 0x7fc3b3151080>> del=<bound method StatusWatcher._on_status_del of <networking_calico.plugins.ml2.drivers.calico.status.StatusWatcher object at 0x7fc3b3151080>> 2019-12-19 17:46:06.088 63227 INFO networking_calico.etcdutils [-] Registering path /calico/felix/v2/no-region/host/<hostname>/workload/openstack/<workload>/endpoint/<endpoint> set=<bound method StatusWatcher._on_ep_set of <networking_calico.plugins.ml2.drivers.calico.status.StatusWatcher object at 0x7fc3b3151080>> del=<bound method StatusWatcher._on_ep_delete of <networking_calico.plugins.ml2.drivers.calico.status.StatusWatcher object at 0x7fc3b3151080>> 2019-12-19 17:46:06.089 63227 INFO networking_calico.plugins.ml2.drivers.calico.status [-] StatusWatcher created 2019-12-19 17:46:06.089 63227 INFO networking_calico.plugins.ml2.drivers.calico.mech_calico [-] Started <networking_calico.plugins.ml2.drivers.calico.status.StatusWatcher object at 0x7fc3b3151080> as <eventlet.greenthread.GreenThread object at 0x7fc3b318a178> 2019-12-19 17:46:06.090 63227 INFO networking_calico.etcdutils [-] Start watching /calico/felix/v2/no-region/host 2019-12-19 17:46:06.532 63227 INFO networking_calico.plugins.ml2.drivers.calico.mech_calico [req-603169cf-23d8-4a47-84f7-d21d4db6f3ec - - - - -] I am master: doing periodic resync 2019-12-19 17:46:06.534 63227 INFO networking_calico.plugins.ml2.drivers.calico.syncer [req-603169cf-23d8-4a47-84f7-d21d4db6f3ec - - - - -] Starting resync for Subnet; getting data from etcd... 2019-12-19 17:46:06.543 63227 INFO networking_calico.plugins.ml2.drivers.calico.syncer [req-603169cf-23d8-4a47-84f7-d21d4db6f3ec - - - - -] Resync for Subnet; got etcd data (0 items), getting data from neutron... 2019-12-19 17:46:06.574 63227 INFO networking_calico.plugins.ml2.drivers.calico.syncer [req-603169cf-23d8-4a47-84f7-d21d4db6f3ec - - - - -] Resync for Subnet; got neutron data (0 items), look for incorrect data... 2019-12-19 17:46:06.574 63227 INFO networking_calico.plugins.ml2.drivers.calico.syncer [req-603169cf-23d8-4a47-84f7-d21d4db6f3ec - - - - -] Resync for Subnet; got etcd data, look for deletions... 2019-12-19 17:46:06.578 63227 INFO networking_calico.plugins.ml2.drivers.calico.syncer [req-603169cf-23d8-4a47-84f7-d21d4db6f3ec - - - - -] Resync for Subnet; done. 2019-12-19 17:46:06.578 63227 INFO networking_calico.plugins.ml2.drivers.calico.syncer [req-603169cf-23d8-4a47-84f7-d21d4db6f3ec - - - - -] Starting resync for NetworkPolicy; getting data from etcd... 2019-12-19 17:46:06.584 63227 ERROR networking_calico.plugins.ml2.drivers.calico.mech_calico [req-603169cf-23d8-4a47-84f7-d21d4db6f3ec - - - - -] Error in periodic resync thread.: TypeError: a bytes-like object is required, not 'str' 2019-12-19 17:46:06.584 63227 ERROR networking_calico.plugins.ml2.drivers.calico.mech_calico Traceback (most recent call last): 2019-12-19 17:46:06.584 63227 ERROR networking_calico.plugins.ml2.drivers.calico.mech_calico File "/usr/local/lib/python3.6/dist-packages/networking_calico/plugins/ml2/drivers/calico/mech_calico.py", line 951, in periodic_resync_thread 2019-12-19 17:46:06.584 63227 ERROR networking_calico.plugins.ml2.drivers.calico.mech_calico self.policy_syncer.resync(admin_context) 2019-12-19 17:46:06.584 63227 ERROR networking_calico.plugins.ml2.drivers.calico.mech_calico File "/usr/local/lib/python3.6/dist-packages/networking_calico/plugins/ml2/drivers/calico/syncer.py", line 98, in resync 2019-12-19 17:46:06.584 63227 ERROR networking_calico.plugins.ml2.drivers.calico.mech_calico etcd_resources = self.get_all_from_etcd() 2019-12-19 17:46:06.584 63227 ERROR networking_calico.plugins.ml2.drivers.calico.mech_calico File "/usr/local/lib/python3.6/dist-packages/networking_calico/plugins/ml2/drivers/calico/policy.py", line 54, in get_all_from_etcd 2019-12-19 17:46:06.584 63227 ERROR networking_calico.plugins.ml2.drivers.calico.mech_calico for r in datamodel_v3.get_all(self.resource_kind, self.namespace): 2019-12-19 17:46:06.584 63227 ERROR networking_calico.plugins.ml2.drivers.calico.mech_calico File "/usr/local/lib/python3.6/dist-packages/networking_calico/datamodel_v3.py", line 183, in get_all 2019-12-19 17:46:06.584 63227 ERROR networking_calico.plugins.ml2.drivers.calico.mech_calico name = key.split('/')[-1] 2019-12-19 17:46:06.584 63227 ERROR networking_calico.plugins.ml2.drivers.calico.mech_calico TypeError: a bytes-like object is required, not 'str' 2019-12-19 17:46:06.584 63227 ERROR networking_calico.plugins.ml2.drivers.calico.mech_calico 2019-12-19 17:46:11.090 63227 ERROR networking_calico.plugins.ml2.drivers.calico.mech_calico [-] StatusWatcher <networking_calico.plugins.ml2.drivers.calico.status.StatusWatcher object at 0x7fc3b3151080> died 2019-12-19 17:46:11.091 63227 INFO networking_calico.etcdutils [-] Stop watching status tree 2019-12-19 17:46:16.092 63227 INFO networking_calico.plugins.ml2.drivers.calico.mech_calico [-] Became the master, starting StatusWatcher 2019-12-19 17:46:16.093 63227 INFO networking_calico.etcdutils [-] Registering path /calico/felix/v2/no-region/host/<hostname>/status set=<bound method StatusWatcher._on_status_set of <networking_calico.plugins.ml2.drivers.calico.status.StatusWatcher object at 0x7fc3b3151c18>> del=<bound method StatusWatcher._on_status_del of <networking_calico.plugins.ml2.drivers.calico.status.StatusWatcher object at 0x7fc3b3151c18>> 2019-12-19 17:46:16.094 63227 INFO networking_calico.etcdutils [-] Registering path /calico/felix/v2/no-region/host/<hostname>/workload/openstack/<workload>/endpoint/<endpoint> set=<bound method StatusWatcher._on_ep_set of <networking_calico.plugins.ml2.drivers.calico.status.StatusWatcher object at 0x7fc3b3151c18>> del=<bound method StatusWatcher._on_ep_delete of <networking_calico.plugins.ml2.drivers.calico.status.StatusWatcher object at 0x7fc3b3151c18>> 2019-12-19 17:46:16.094 63227 INFO networking_calico.plugins.ml2.drivers.calico.status [-] StatusWatcher created 2019-12-19 17:46:16.095 63227 INFO networking_calico.plugins.ml2.drivers.calico.mech_calico [-] Started <networking_calico.plugins.ml2.drivers.calico.status.StatusWatcher object at 0x7fc3b3151c18> as <eventlet.greenthread.GreenThread object at 0x7fc3b3297f20> 2019-12-19 17:46:16.095 63227 INFO networking_calico.etcdutils [-] Start watching /calico/felix/v2/no-region/host 2019-12-19 17:46:18.848 63290 INFO neutron.wsgi [req-67bd9e00-760f-471c-abf5-a6d77f10dfe5 7b8bb39d5aec44ddbf003269d08e05fb 802a54f284b044f5b90649e9e70ab262 - default default] 10.82.100.1 "GET /v2.0/extensions HTTP/1.1" status: 200 len: 8915 time: 0.0056734 2019-12-19 17:46:18.934 63290 INFO neutron.wsgi [req-c6d23fa7-8000-4cc3-958a-cd535445a631 7b8bb39d5aec44ddbf003269d08e05fb 802a54f284b044f5b90649e9e70ab262 - default default] 10.82.100.1 "GET /v2.0/networks HTTP/1.1" status: 200 len: 819 time: 0.0815597 2019-12-19 17:46:18.968 63288 INFO neutron.wsgi [req-8666fd36-38ec-4540-b39f-4742e7abb188 7b8bb39d5aec44ddbf003269d08e05fb 802a54f284b044f5b90649e9e70ab262 - default default] 10.82.100.1 "GET /v2.0/subnets HTTP/1.1" status: 200 len: 212 time: 0.0296044 2019-12-19 17:46:19.090 63288 INFO neutron.wsgi [req-9d4d4ee2-90d9-4cf3-8f66-5aa989a939e1 7b8bb39d5aec44ddbf003269d08e05fb 802a54f284b044f5b90649e9e70ab262 - default default] 10.82.100.1 "GET /v2.0/networks/e3c8b4d6-ed43-4869-a56a-4e3cd5cbd956/dhcp-agents HTTP/1.1" status: 200 len: 212 time: 0.0130627 To manage notifications about this bug go to: https://bugs.launchpad.net/networking-calico/+bug/1857030/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp