Plugin lifecycle order should be correct

Bug #1648326 reported by janonymous
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kuryr-libnetwork
Confirmed
Low
janonymous

Bug Description

According to Docker Plugin Documentation:
Reference:
https://github.com/docker/docker/blob/c4d45b6a29a91f2fb5d7a51ac36572f2a9b295c6/docs/extend/plugin_api.md#plugin-lifecycle
Plugins should be started before Docker, and stopped after Docker.

But in Devstack i think kuryr server starts after docker and is stopped before docker stop.

janonymous (janonymous)
Changed in kuryr-libnetwork:
assignee: nobody → janonymous (janonymous)
Revision history for this message
Antoni Segura Puimedon (celebdor) wrote :

IIRC this works because the plugins are lazy loaded. As long as there is the plugin descriptor, the call to register is not done until the first usage, that is why it works.

Changed in kuryr-libnetwork:
status: New → Confirmed
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.