Ask Your Question
0

ImportError: No module named models - LBaaS & Octavia Installation on DevStack

asked 2016-11-30 11:35:54 -0500

SyCode7 gravatar image

I have just read the LBaaS v2 and Octavia installation and I am trying to follow the installation guide with DevStack on Ubuntu 14.04 . However, I have error from neutron.db.models import agent as agents_db . ImportError: No module named models. Searching through the internet has not helped. Please does anyone have an idea on how to resolve this ?? Thanks in advance.

edit retag flag offensive close merge delete

Comments

I have a similar problem - setting up stable Newton devstack, it tells me that neutron-lib has no module named plugins. Which is true. For some reason an older version of neutron-lib is used, which doesn't contain "plugins". I don't have a solution yet, but it seems to be a version mismatch.

Bernd Bausch gravatar imageBernd Bausch ( 2016-11-30 19:20:32 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-12-01 15:39:59 -0500

johnsom gravatar image

What release of OpenStack and neutron-lbaas are you using? That change to models was for master/Ocata. I am wondering if there is a mix of versions here. See this patch and it's referenced patch in neutron.

https://review.openstack.org/#/c/386880/

edit flag offensive delete link more

Comments

@johnsom I am using stable/liberty openstack version 1.7.2 , neutron version 3.1.1 . I also checked out lbaas version 2 as specified in the instructions here -- http://docs.openstack.org/developer/d... . How can I apply the patches you mentioned above?

SyCode7 gravatar imageSyCode7 ( 2016-12-02 04:34:43 -0500 )edit

I just checked out stable/liberty in /octavia. Will info yo how it goes.

SyCode7 gravatar imageSyCode7 ( 2016-12-02 04:44:07 -0500 )edit

Apache cannot start any longer .. i suspect because of the haproxy. This makes the installation fail.

SyCode7 gravatar imageSyCode7 ( 2016-12-02 08:48:15 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-11-30 11:35:54 -0500

Seen: 1,636 times

Last updated: Dec 01 '16