[MidoNet-user] 答复: Error during Midonet installation

Taku Fukushima tfukushima at midokura.com
Tue Nov 18 13:00:30 UTC 2014


Hi Vijay and Wangbibo,

Thanks for your report. The error is due to the old version of protobuf
compiler. Actually we already have merged patches for the issue with
38a81c7 and cf0c9d2 in MidoStack.

https://github.com/midonet/midostack/commit/38a81c788dc45368787a51d69ac0d371e1159b01
https://github.com/midonet/midostack/commit/cf0c9d2c7d912a9132f070754105b5a56caa08fd

So pulling the latest repo with `git pull origin master` solves this
problem. Then, please try the following step in the top directory of
MidoStack.

midostack$ ./midonet_unstack.sh
midostack$ ./midonet_stack.sh

That's it and please see if it works.

The current MidoNet requires protobuf >= 2.6 but your system has the old
version according to the error message. The version of protoc is available
with `protoc --version`. You can find the detail in the following thread.

http://lists.midonet.org/pipermail/midonet/2014-November/000016.html

Please let us know if you have any other issues.

Best regards,
Taku Fukushima

On Tue, Nov 18, 2014 at 8:36 PM, Wangbibo <wangbibo at huawei.com> wrote:

>  +1
>
>
>
> Thanks Vijay for the detailed description of this issue. I encountered the
> same issue.
>
>
>
> Best,
>
> Robin
>
>
>
> *发件人:* midonet-user-bounces at lists.midonet.org [mailto:
> midonet-user-bounces at lists.midonet.org] *代表 *Vijay Srinivasan
> *发送时间:* 2014年11月18日 19:21
> *收件人:* midonet-user at lists.midonet.org
> *主题:* [MidoNet-user] Error during Midonet installation
>
>
>
> 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/85840ea7/attachment-0001.html>


More information about the MidoNet-user mailing list