Ask Your Question

Unable to setup Ceilometer in develop mode

asked 2016-01-12 12:29:14 -0500

jdandrea gravatar image

updated 2016-01-12 12:42:25 -0500

I'm trying to setup Ceilometer in dev mode using a freshly made virtualenv, and I'm running into trouble.

See this paste for details:

(Note: I can update this with the paste inlined if that's preferred.)

If I use python install instead of python develop it installs just fine, no errors. However, I'd like to be able to use development mode during development (of course).

Ultimately, I want to use Ceilometer as a baseline for a new service (CLI/API/engine), as it shares similar characteristics (e.g., it also uses Pecan for the API, plus various Oslo libraries). I saw Tacker did something similar in starting with Neutron as well.

Clues/thoughts welcomed, or if anyone knows of a baseline project template with the common pattern of CLI/API/engine, please advise. It would be a tremendous help.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-01-12 12:46:47 -0500

jdandrea gravatar image

updated 2016-01-13 09:26:40 -0500

Per agronholm on ##python-friendly (thank you, Alex!) it's better to invoke developer installation using pip install -e (still in a virtualenv!) instead, in order to avoid the use of easy_install.

Sure enough, that did it.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-01-12 12:29:14 -0500

Seen: 540 times

Last updated: Jan 13 '16