Create a console_script to run Kuryr

Registered by Michal Rostecki

Currently Kuryr is ran by the following script:
https://github.com/openstack/kuryr/blob/master/scripts/run_kuryr.sh

As we can see, it's a script which is runned from repository cloned somewhere. It even sets custom PYTHONPATH. With that way of running server it's hard to create init/systemd scripts or make packages.

My proposition is to create a console_script defined in setup.cfg for running Kuryr server, as in the other OpenStack projects, and make an effort to not make any hacks with paths or importing. It should provide a simple command available after installing Kuryr by pip.

It would also make Devstack integration much simplier.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Michal Rostecki
Direction:
Needs approval
Assignee:
None
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Michal Rostecki

Related branches

Sprints

Whiteboard

Vikas:
Please have a look at this change by Aaron, https://review.openstack.org/#/c/227442/ .
Was wondering do we still need to do something for this blueprint ?

mrostecki:
No, I didn't see this change and it seems to implement what I wanted. This blueprint can be closed.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.