[openstack-community] Ovn chassis error possibly networking config error.

Dees motosingh at yahoo.co.uk
Mon Mar 1 20:48:29 UTC 2021


 Thanks for your reply much appreciated, deployed OpenStack through JUJU.
I managed to get around that issue by restarting services but I have fallen into another issue now, looks like I need to define network time somewhere on the config I am right?
When I create a network trying to get out a second interface I am getting errors. Any suggestions, please?
labuser at maas:~/openstack-base$ openstack network create Pub_Net1 --external --share --default --provider-network-type vlan --provider-segment 201 --provider-physical-network externalError while executing the command: BadRequestException: 400, Invalid input for operation: physical_network 'external' unknown for VLAN provider network.
The first network segment  is ok

labuser at maas:~/openstack-base$ openstack network create Pub_Net --external --share --default \   --provider-network-type vlan --provider-segment 200 --provider-physical-network physnet1


Config on juju
  ovn-chassis:    annotations:      gui-x: '120'      gui-y: '1030'    charm: cs:ovn-chassis-10    # *** Please update the `bridge-interface-mappings` to values suitable ***    # *** for thehardware used in your deployment.  See the referenced     ***    # *** documentation at the top of this file.                           ***    options:      ovn-bridge-mappings: physnet1:br-data external:br-ex      bridge-interface-mappings: br-data:eno2 br-ex:eno3
Status
ubuntu at 1:~$ sudo ovs-vsctl showe3b50030-b436-4d26-95af-4abeea1097d5    Manager "ptcp:6640:127.0.0.1"        is_connected: true    Bridge br-data        fail_mode: standalone        datapath_type: system        Port eno2            Interface eno2                type: system        Port br-data            Interface br-data                type: internal    Bridge br-int        fail_mode: secure        datapath_type: system        Port br-int            Interface br-int                type: internal        Port ovn-comput-0            Interface ovn-comput-0                type: geneve                options: {csum="true", key=flow, remote_ip="10.141.14.36"}    Bridge br-ex        fail_mode: standalone        datapath_type: system        Port eno3            Interface eno3                type: system        Port br-ex            Interface br-ex                type: internal    ovs_version: "2.13.1"

Kind regards,Deepesh


    On Monday, 1 March 2021, 10:39:51 GMT, Lucas Alvares Gomes <lucasagomes at gmail.com> wrote:  
 
 Hi,

Few questions inline

On Mon, Mar 1, 2021 at 12:09 AM Amy Marrich <amy at demarco.com> wrote:
>
> Deepesh,
>
> Forwarding to the OpenStack Discuss mailing list.
>
> Thanks,
>
> Amy (spotz)
>
> On Sat, Feb 27, 2021 at 12:42 PM Dees <motosingh at yahoo.co.uk> wrote:
>>
>> Hi All,
>>
>> Deployed openstack all service yesterday and seemed to be running since power cycling the openstack today.
>>

What did you use to deploy OpenStack ? Based on the command below I
don't recognize that output.

>> Then deployed and configured VM instance with networking but config onv-chassis is reporting error, as I am new to openstack (having used it number of years back) mind guiding where I should be looking any help will be greatly appreciated.
>>
>>
>>
>> nova-compute/0*              active    idle      1        10.141.14.62                      Unit is ready
>>  ntp/0*                    active    idle                10.141.14.62    123/udp            chrony: Ready
>>  ovn-chassis/0*            error    idle                10.141.14.62                      hook failed: "config-changed"
>>

I do not recognize this output or that error in particular, but I
assume that ovn-chassis is the name of the process of the
ovn-controller running on the node ?

If so, the configuration of ovn-controller should be present in the
local OVSDB instance, can you please paste the output of the following
command:

$ sudo ovs-vsctl list Open_VSwitch .

Also, do you have any logs related to that process ?

>>
>> Deployed VM instance using the following command line.
>>
>>
>> curl http://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img | \
>>    openstack image create --public --container-format bare --disk-format qcow2 \
>>    --property architecture=x86_64 --property hw_disk_bus=virtio \
>>    --property hw_vif_model=virtio "focal_x86_64"
>>
>> openstack flavor create --ram 512 --disk 4 m1.micro
>>
>> openstack network create Pub_Net --external --share --default \
>>    --provider-network-type vlan --provider-segment 200 --provider-physical-network physnet1
>>
>> openstack subnet create Pub_Subnet --allocation-pool start=10.141.40.40,end=10.141.40.62 \
>>    --subnet-range 10.141.40.0/26 --no-dhcp --gateway 10.141.40.1 \
>>    --network Pub_Net
>>
>> openstack network create Network1 --internal
>> openstack subnet create Subnet1 \
>>    --allocation-pool start=192.168.0.10,end=192.168.0.199 \
>>    --subnet-range 192.168.0.0/24 \
>>    --gateway 192.168.0.1 --dns-nameserver 10.0.0.3 \
>>    --network Network1
>>
>> Kind regards,
>> Deepesh
>> _______________________________________________
>> Community mailing list
>> Community at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/community
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210301/f95865d8/attachment-0001.html>


More information about the openstack-discuss mailing list