[Openstack] [vtn-dev] Devstack installation - neutron error

Silvia Fichera fichera.sil at gmail.com
Tue Jun 16 06:56:42 UTC 2015


Good Morning.
I think I solved the problem following this:
https://bugs.opendaylight.org/show_bug.cgi?id=2439

But I have a question: is so relevant the order of the installation of the
features?

Thanks.
Silvia

2015-06-12 19:27 GMT+02:00 Venkatrangan G - ERS, HCL Tech <
venkatrangang at hcl.com>:

>  Hi Silvia,
>
>   We just checked your local.conf,  there is no problem. Perhaps, Please
> check if firewall is ennabled in the ODL VM.
>
>
>
>   Try the below query from the control node (10.30.3.232)
>
>
>
>  curl --user "admin":"admin" -H "Accept: application/json" -H \
>
>     "Content-type: application/json" -X GET \
>
>     *http://10.30.3.234:8080/controller/nb/v2/neutron/networks
> <http://10.30.3.234:8080/controller/nb/v2/neutron/networks>*
>
>
>
>
>
> The exact place of failure, the following occurs, The Networking module
> requests ODL to create a network by sending a POST request to the neutron
> URL. Sincethat is returning failure, thee stack.sh is terminating.
>
>
>
> Please let us know if this works fine. Also, Please check the following
> commands in  control node (3.232)
>
>
>
> a.       sudo ovs-vsctl show (Ensure the 2.234 is listed as controller as
> well as openflow manager) , or please send the output. We will  help you
> out.
>
>
>
> Kindly let us know in case of any queries.
>
>
>
>
>
> Regards,
>
> Venkat G
>
>
>
>
>
> *From:* vtn-dev-bounces at lists.opendaylight.org [mailto:
> vtn-dev-bounces at lists.opendaylight.org] *On Behalf Of *Silvia Fichera
> *Sent:* 12 June 2015 08:49
> *To:* openstack at lists.openstack.org; vtn-dev at lists.opendaylight.org
> *Subject:* [vtn-dev] Devstack installation - neutron error
>
>
>
> Hi all,
>
> I'm trying to setup a network following this guide:
> https://wiki.opendaylight.org/view/Release/Helium/VTN/User_Guide/OpenStack_Support
>
>
>
> I've installed the ODL controller, set it up with the appropriate features
> (odl-mdsal-clustering odl-restconf odl-l2switch-switch odl-mdsal-apidocs
> odl-dlux-core odl-vtn-manager-all     odl-openflowplugin-all
> odl-adsal-compatibility-all), create the file vtn.ini in the configuration
> folder and started the Controller.
>
> The IP address where it is reachble is 10.30.3.234.
>
> Now I'm trying to install the Openstack controller in another machine with
> IP 10.30.3.232, using devstack. The local.conf that I'm using is in
> attachment.
>
> But the installation failed. I receive these messages:
>
>
>
> 2015-06-12 15:32:54.921 | + echo_summary 'Creating initial neutron network
> elements'
>
> 2015-06-12 15:32:54.921 | + [[ -t 3 ]]
>
> 2015-06-12 15:32:54.921 | + [[ True != \T\r\u\e ]]
>
> 2015-06-12 15:32:54.922 | + echo -e Creating initial neutron network
> elements
>
> 2015-06-12 15:32:54.922 | + create_neutron_initial_network
>
> 2015-06-12 15:32:54.924 | ++ get_field 1
>
> 2015-06-12 15:32:54.926 | ++ local data field
>
> 2015-06-12 15:32:54.926 | ++ grep ' demo '
>
> 2015-06-12 15:32:54.928 | ++ read data
>
> 2015-06-12 15:32:54.929 | ++ openstack project list
>
> 2015-06-12 15:32:56.311 | ++ '[' 1 -lt 0 ']'
>
> 2015-06-12 15:32:56.311 | ++ field='$2'
>
> 2015-06-12 15:32:56.312 | ++ awk '-F[ \t]*\\|[ \t]*' '{print $2}'
>
> 2015-06-12 15:32:56.313 | ++ echo '| a4b248bb5ed449fe87e75aa06201ff11 |
> demo               |'
>
> 2015-06-12 15:32:56.316 | ++ read data
>
> 2015-06-12 15:32:56.317 | + TENANT_ID=a4b248bb5ed449fe87e75aa06201ff11
>
> 2015-06-12 15:32:56.318 | + die_if_not_set 501 TENANT_ID 'Failure
> retrieving TENANT_ID for demo'
>
> 2015-06-12 15:32:56.318 | + local exitcode=0
>
> 2015-06-12 15:32:56.324 | + is_baremetal
>
> 2015-06-12 15:32:56.324 | + [[
> g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-cond,n-sch,n-novnc,n-xvnc,n-cauth,c-sch,c-api,c-vol,h-eng,h-api,h-api-cfn,h-api-cw,horizon,rabbit,tempest,mysql,q-svc,q-dhcp,q-meta,odl-compute
> =~ baremetal ]]
>
> 2015-06-12 15:32:56.325 | + return 1
>
> 2015-06-12 15:32:56.325 | + is_provider_network
>
> 2015-06-12 15:32:56.325 | + '[' '' == True ']'
>
> 2015-06-12 15:32:56.325 | + return 1
>
> 2015-06-12 15:32:56.327 | ++ neutron net-create --tenant-id
> a4b248bb5ed449fe87e75aa06201ff11 private
>
> 2015-06-12 15:32:56.328 | ++ get_field 2
>
> 2015-06-12 15:32:56.329 | ++ local data field
>
> 2015-06-12 15:32:56.330 | ++ read data
>
> 2015-06-12 15:32:56.330 | ++ grep ' id '
>
> 2015-06-12 15:32:58.364 | create_network_postcommit failed.
>
> 2015-06-12 15:32:58.432 | + NET_ID=
>
> 2015-06-12 15:32:58.433 | + die_if_not_set 532 NET_ID 'Failure creating
> NET_ID for  a4b248bb5ed449fe87e75aa06201ff11'
>
> 2015-06-12 15:32:58.433 | + local exitcode=0
>
> 2015-06-12 15:32:58.443 | [Call Trace]
>
> 2015-06-12 15:32:58.443 | ./stack.sh:1278:create_neutron_initial_network
>
> 2015-06-12 15:32:58.443 |
> /home/silvia/devstack/lib/neutron:532:die_if_not_set
>
> 2015-06-12 15:32:58.444 | /home/silvia/devstack/functions-common:284:die
>
> 2015-06-12 15:32:58.452 | [ERROR]
> /home/silvia/devstack/functions-common:532 Failure creating NET_ID for
> a4b248bb5ed449fe87e75aa06201ff11
>
> 2015-06-12 15:32:59.464 | Error on exit
>
>
>
> Do you have any suggestion to fix it?
>
>
>
> Thank you!
>
>
>
>
> --
>
> Silvia Fichera
>
>
>
> ::DISCLAIMER::
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only.
> E-mail transmission is not guaranteed to be secure or error-free as
> information could be intercepted, corrupted,
> lost, destroyed, arrive late or incomplete, or may contain viruses in
> transmission. The e mail and its contents
> (with or without referred errors) shall therefore not attach any liability
> on the originator or HCL or its affiliates.
> Views or opinions, if any, presented in this email are solely those of the
> author and may not necessarily reflect the
> views or opinions of HCL or its affiliates. Any form of reproduction,
> dissemination, copying, disclosure, modification,
> distribution and / or publication of this message without the prior
> written consent of authorized representative of
> HCL is strictly prohibited. If you have received this email in error
> please delete it and notify the sender immediately.
> Before opening any email and/or attachments, please check them for viruses
> and other defects.
>
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>



-- 
Silvia Fichera
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150616/5b62ef4f/attachment.html>


More information about the Openstack mailing list