[MidoNet-user] Error during Midonet installation

Lucas Eznarriaga lucas at midokura.com
Tue Nov 18 11:36:57 UTC 2014


Hi Vijay,

There is a missing "-" in line 45 of midostack/midonetrc, add it after
cloning midostack.

MIDONET_GIT_BRANCH=${MIDONET_GIT_BRANCH:-master}

There is already a patch waiting to be merged for this at:
https://review.gerrithub.io/#/c/12389/

There is another one that makes midostack to fail, also waiting to be
merged: https://review.gerrithub.io/#/c/12366/
as a workaround add:

sed -ri 's|from neutron.openstack.common import jsonutils|from
oslo.serialization import jsonutils|g'
/opt/stack/midonet/python-neutron-plugin-midonet/midonet/neutron/db/task.py

after line 20 of:
midostack/scripts/pre_devstack.d/145.install_neutron_midonet_plugin.sh
before running midonet_stack.sh

Best regards,
Lucas Eznarriaga
Midokura



On Tue, Nov 18, 2014 at 12:21 PM, Vijay Srinivasan <
Vijay.Srinivasan at netmagicsolutions.com> wrote:

>   Hi,
>
>
>
> I am evaluating the Midonet controller for my environment. I want to build
> my network with VxLAN overlays.
>
> I  want to use Midonet to provision VNI’s in the VTEP’s. I am starting
> with Openvswitch as of now.
>
>
>
> While installing the Midonet as per the instruction given in the website -
> http://www.midonet.org/, I got the below error.
>
> Request your assistance on what should I do next?
>
>
>
> *OS and Kernel version – *
>
> vagrant at vagrant-ubuntu-trusty-64:~/midostack$ uname -a
>
> Linux vagrant-ubuntu-trusty-64 3.13.0-39-generic #66-Ubuntu SMP Tue Oct 28
> 13:30:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>
>
>
> *Error message in 140.build_midolman.sh.log*
>
> Download
> https://repo1.maven.org/maven2/org/codehaus/jackson/jackson-core-asl/1.9.5/jackson-core-asl-1.9.5.jar
>
> :brain:compileJava UP-TO-DATE
>
> :brain:processResources UP-TO-DATE
>
> :brain:classes UP-TO-DATE
>
> :brain:gitProps
>
> :brain:jar
>
> :brain:assemble
>
> :cluster:compileProto FAILED
>
>
>
> FAILURE: Build failed with an exception.
>
>
>
> * What went wrong:
>
> Execution failed for task ':cluster:compileProto'.
>
> > Protoc failed:
>
>   topology_api.proto:45:5: Expected "required", "optional", or "repeated".
>
>   topology_api.proto:45:19: Missing field number.
>
>   topology_api.proto:75:9: Expected "required", "optional", or "repeated".
>
>   topology_api.proto:75:22: Missing field number.
>
>   topology_api.proto:89:5: Expected "required", "optional", or "repeated".
>
>   topology_api.proto:89:20: Missing field number.
>
>
>
>
>
> * Try:
>
> Run with --stacktrace option to get the stack trace. Run with --info or
> --debug option to get more log output.
>
>
>
> BUILD FAILED
>
>
>
> Total time: 11 mins 42.388 secs
>
> ++ '[' 1 -gt 0 ']'
>
> ++ echo 'Exiting. MidoNet build failed.'
>
> Exiting. MidoNet build failed.
>
> ++ exit 1
>
>
>
> *Please find below my installation steps*
>
>
>
> vagrant at vagrant-ubuntu-trusty-64:~/midostack$ ./midonet_stack.sh
>
> + exec
>
> Trace log for ./midonet_stack.sh is at
> /home/vagrant/midostack/logs/2014-11-18-161646/midonet/midonet_stack.sh.stderr.log
>
> ========== Running Midostack with the following configuration:
>
> Neutron Plugin location: downstream
>
> Midonet repo: http://github.com/midonet/midonet.git
>
> MidoNet branch:
>
> MidoNet client repo: http://github.com/midonet/python-midonetclient
>
> MidoNet client branch: master
>
> Midonet plugin repo:
> http://github.com/midonet/python-neutron-plugin-midonet.git
>
> Midonet plugin branch: master
>
> OpenStack branch: master
>
> Pull devstack repo: yes
>
> ====================================
>
> Confirm the above configuration. Are you sure to proceed? (y/n): y
>
> pulling devstack...
>
> Already up-to-date.
>
> e883ad2 Merge "lib/dstat: Fix a comment"
>
> 42373c7 lib/dstat: Fix a comment
>
> 0eed532 Remove nose things
>
> 9bfdea8 Merge "Pass through the rest of the docs"
>
> e260a10 Merge "One last format and content cleanup for the index page"
>
> /home/vagrant/midostack
>
> ====================
>
> Running midostack...
>
> ====================
>
> Log directory: /home/vagrant/midostack/logs/2014-11-18-161646
>
>
>
> =================================
>
> Executing pre devstack scripts...
>
> =================================
>
> Executing
> /home/vagrant/midostack/scripts/pre_devstack.d/000._sanity_checks.sh... [OK]
>
> Executing
> /home/vagrant/midostack/scripts/pre_devstack.d/000.install_prerequisites.sh...
> [OK]
>
> Executing
> /home/vagrant/midostack/scripts/pre_devstack.d/001.tweaks_for_devstack.sh...
> [OK]
>
> Executing
> /home/vagrant/midostack/scripts/pre_devstack.d/100.setup_pkg_repos.sh...
> [OK]
>
> Executing
> /home/vagrant/midostack/scripts/pre_devstack.d/110.install_dependencies.sh...
> [OK]
>
> Executing
> /home/vagrant/midostack/scripts/pre_devstack.d/120.cassandra.sh... [OK]
>
> Executing
> /home/vagrant/midostack/scripts/pre_devstack.d/125.zookeeper.sh... [OK]
>
> Executing /home/vagrant/midostack/scripts/pre_devstack.d/130.java.sh...
> [OK]
>
> Executing
> /home/vagrant/midostack/scripts/pre_devstack.d/138.get_protobuf.sh... [OK]
>
> Executing
> /home/vagrant/midostack/scripts/pre_devstack.d/139.install_midonet_packages.sh...
> [OK]
>
> Executing
> /home/vagrant/midostack/scripts/pre_devstack.d/140.build_midolman.sh...vagrant at vagrant-ubuntu-trusty-64:~/midostack$
>
>
>
> Thanks and regards,
>
>
>
> ~ Vijay
>      Vijay Srinivasan
> Associate Vice President - IT Engineering
> IT Engineering
> Netmagic (An NTT Communications Company)
> *Direct:*  +91-22-40411799 | *Cell:*  +91-9987745360
> *Email:* vijay.srinivasan at netmagicsolutions.com     Linkedin
> <http://www.linkedin.com/company/netmagic?trk=fc_badge> | Twitter
> <http://twitter.com/netmagic> | Youtube
> <http://www.youtube.com/user/netmagicsolutions> | Blog
> <http://www.netmagicsolutions.com/blog> | News
> <http://www.netmagicsolutions.com/news> | Whitepapers
> <http://www.netmagicsolutions.com/resources/whitepapers/> | Case Studies
> <http://www.netmagicsolutions.com/resources/case-studies/>
>
> ------------------------------
> This e-mail message, including any attachments, is for the sole use of the
> individual or entity to whom it has been addressed, and may contain
> information that is confidential or legally protected. If you are not the
> intended recipient(s) or have received this message in error, you are not
> authorized to copy, distribute, or otherwise use this message or its
> attachments. Please notify the sender immediately by return e-mail and
> permanently delete this message and any attachments. The contents of this
> message do not necessarily represent the views or policies of Netmagic
> Solutions Private Limited or its affiliates / group companies (“Netmagic”).
> Netmagic makes no warranty that this e-mail is error or virus free.
>
>
> _______________________________________________
> MidoNet-user mailing list
> MidoNet-user at lists.midonet.org
> http://lists.midonet.org/listinfo/midonet-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.midonet.org/pipermail/midonet-user/attachments/20141118/272ea6f3/attachment.html>


More information about the MidoNet-user mailing list