[ovirt-users] Re: Hosted engine install failure: ipv6.gateway: gateway cannot be set if there are no addresses configured

2020-09-04 Thread Dominik Holler
Sverker, is this bug blocking you, or can you work around it?

On Thu, Sep 3, 2020 at 8:52 PM Dominik Holler  wrote:

> Sverker, thanks!
>
> On Thu, Sep 3, 2020 at 6:50 PM Sverker Abrahamsson <
> sver...@abrahamsson.com> wrote:
>
>> Hi Dominik,
>> bug filed at https://bugzilla.redhat.com/show_bug.cgi?id=1875520. I'm
>> doing a new install to get fresh vdsm and supervdsm logs which will be
>> attached as soon as they've failed.
>> /Sverker
>> Den 2020-09-03 kl. 18:03, skrev Dominik Holler:
>>
>>
>>
>> On Thu, Sep 3, 2020 at 12:42 PM Sverker Abrahamsson <
>> sver...@abrahamsson.com> wrote:
>>
>>> Hi Ales,
>>> this is a CentOS 8 so my impression was that you always have
>>> NetworkManager then? At least my attempt to remove it failed miserably.
>>>
>>
>> Yes, on CentOS 8 hosts oVirt requires the interfaces managed by
>> NetworkManager.
>>
>>
>>> The enp4s0 config was created by the install, so it should be controlled
>>> by NetworkManager.
>>>
>>
>> This should work. Can you please report a bug on vdsm [1]?
>> Would be helpful if the vdsm.log and supervdsm.log would be attached to
>> this bug.
>>
>> [1]
>>   https://bugzilla.redhat.com/enter_bug.cgi?product=vdsm
>>
>>
>>
>>> /Sverker
>>> Den 2020-09-03 kl. 12:29, skrev Ales Musil:
>>>
>>>
>>>
>>> On Thu, Sep 3, 2020 at 12:21 PM Sverker Abrahamsson <
>>> sver...@abrahamsson.com> wrote:
>>>
 Hi Ales,
 right now I have a manually created ovirtmgmt bridge (virbr0 and vnet0
 seems to be created during the failed attempt to deploy hosted engine):

 [root@h1-mgmt ~]# nmcli con show
 NAME  UUID  TYPE  DEVICE
 enp4s0af7ccb53-011b-4c36-998a-1878b4ae7100  ethernet  enp4s0
 Bridge ovirtmgmt  9a0b07c0-2983-fe97-ec7f-ad2b51c3a3f0  bridge
 ovirtmgmt
 virbr0aa593151-2c12-4cf7-985b-f105b3575d09  bridgevirbr0
 enp4s0.4000   ecc8064d-18c1-99b7-3fe4-9c5a593ece6f  vlan
 enp4s0.4000
 vnet0 a6db45bd-93c8-4c37-85fc-0c58ba3e9d00  tun   vnet0
 [root@h1-mgmt ~]# nmstatectl show
 ---
 dns-resolver:
   config:
 search: []
 server:
 - 213.133.98.98
   running:
 search: []
 server:
 - 213.133.98.98
 route-rules:
   config: []
 routes:
   config:
   - destination: 0.0.0.0/0
 metric: -1
 next-hop-address: 144.76.84.65
 next-hop-interface: enp4s0
 table-id: 0
   - destination: ::/0
 metric: -1
 next-hop-address: fe80::1
 next-hop-interface: enp4s0
 table-id: 0
   running:
   - destination: 0.0.0.0/0
 metric: 100
 next-hop-address: 144.76.84.65
 next-hop-interface: enp4s0
 table-id: 254
   - destination: 144.76.84.65/32
 metric: 100
 next-hop-address: ''
 next-hop-interface: enp4s0
 table-id: 254
   - destination: 172.27.1.0/24
 metric: 425
 next-hop-address: ''
 next-hop-interface: ovirtmgmt
 table-id: 254
   - destination: 192.168.1.0/24
 metric: 0
 next-hop-address: ''
 next-hop-interface: virbr0
 table-id: 254
   - destination: 2a01:4f8:192:1148::/64
 metric: 100
 next-hop-address: ''
 next-hop-interface: enp4s0
 table-id: 254
   - destination: ::/0
 metric: 100
 next-hop-address: fe80::1
 next-hop-interface: enp4s0
 table-id: 254
   - destination: fe80::/64
 metric: 100
 next-hop-address: ''
 next-hop-interface: enp4s0
 table-id: 254
   - destination: ff00::/8
 metric: 256
 next-hop-address: ''
 next-hop-interface: enp4s0
 table-id: 255
 interfaces:
 - name: ;vdsmdummy;
   type: linux-bridge
   state: down
   ipv4:
 enabled: false
   ipv6:
 enabled: false
   mac-address: DE:D3:A8:24:27:F6
   mtu: 1500
 - name: br-int
   type: unknown
   state: down
   ipv4:
 enabled: false
   ipv6:
 enabled: false
   mac-address: 6E:37:94:63:E0:4B
   mtu: 1500
 - name: enp4s0
   type: ethernet
   state: up
   ethernet:
 auto-negotiation: true
 duplex: full
 speed: 1000
   ipv4:
 address:
 - ip: 144.76.84.73
   prefix-length: 32
 dhcp: false
 enabled: true
   ipv6:
 address:
 - ip: 2a01:4f8:192:1148::2
   prefix-length: 64
 - ip: fe80::62a4:4cff:fee9:4ac
   prefix-length: 64
 auto-dns: true
 auto-gateway: true
 auto-routes: true
 autoconf: true
 dhcp: true
 enabled: true
   mac-address: 60:A4:4C:E9:04:AC
   mtu: 1500
 - name: enp4s0.4000
   type: vlan
   state: up
   ipv4:
 dhcp: false
 enabled: false
   ipv6:
 

[ovirt-users] Re: Hosted engine install failure: ipv6.gateway: gateway cannot be set if there are no addresses configured

2020-09-03 Thread Dominik Holler
Sverker, thanks!

On Thu, Sep 3, 2020 at 6:50 PM Sverker Abrahamsson 
wrote:

> Hi Dominik,
> bug filed at https://bugzilla.redhat.com/show_bug.cgi?id=1875520. I'm
> doing a new install to get fresh vdsm and supervdsm logs which will be
> attached as soon as they've failed.
> /Sverker
> Den 2020-09-03 kl. 18:03, skrev Dominik Holler:
>
>
>
> On Thu, Sep 3, 2020 at 12:42 PM Sverker Abrahamsson <
> sver...@abrahamsson.com> wrote:
>
>> Hi Ales,
>> this is a CentOS 8 so my impression was that you always have
>> NetworkManager then? At least my attempt to remove it failed miserably.
>>
>
> Yes, on CentOS 8 hosts oVirt requires the interfaces managed by
> NetworkManager.
>
>
>> The enp4s0 config was created by the install, so it should be controlled
>> by NetworkManager.
>>
>
> This should work. Can you please report a bug on vdsm [1]?
> Would be helpful if the vdsm.log and supervdsm.log would be attached to
> this bug.
>
> [1]
>   https://bugzilla.redhat.com/enter_bug.cgi?product=vdsm
>
>
>
>> /Sverker
>> Den 2020-09-03 kl. 12:29, skrev Ales Musil:
>>
>>
>>
>> On Thu, Sep 3, 2020 at 12:21 PM Sverker Abrahamsson <
>> sver...@abrahamsson.com> wrote:
>>
>>> Hi Ales,
>>> right now I have a manually created ovirtmgmt bridge (virbr0 and vnet0
>>> seems to be created during the failed attempt to deploy hosted engine):
>>>
>>> [root@h1-mgmt ~]# nmcli con show
>>> NAME  UUID  TYPE  DEVICE
>>> enp4s0af7ccb53-011b-4c36-998a-1878b4ae7100  ethernet  enp4s0
>>> Bridge ovirtmgmt  9a0b07c0-2983-fe97-ec7f-ad2b51c3a3f0  bridge
>>> ovirtmgmt
>>> virbr0aa593151-2c12-4cf7-985b-f105b3575d09  bridgevirbr0
>>> enp4s0.4000   ecc8064d-18c1-99b7-3fe4-9c5a593ece6f  vlan
>>> enp4s0.4000
>>> vnet0 a6db45bd-93c8-4c37-85fc-0c58ba3e9d00  tun   vnet0
>>> [root@h1-mgmt ~]# nmstatectl show
>>> ---
>>> dns-resolver:
>>>   config:
>>> search: []
>>> server:
>>> - 213.133.98.98
>>>   running:
>>> search: []
>>> server:
>>> - 213.133.98.98
>>> route-rules:
>>>   config: []
>>> routes:
>>>   config:
>>>   - destination: 0.0.0.0/0
>>> metric: -1
>>> next-hop-address: 144.76.84.65
>>> next-hop-interface: enp4s0
>>> table-id: 0
>>>   - destination: ::/0
>>> metric: -1
>>> next-hop-address: fe80::1
>>> next-hop-interface: enp4s0
>>> table-id: 0
>>>   running:
>>>   - destination: 0.0.0.0/0
>>> metric: 100
>>> next-hop-address: 144.76.84.65
>>> next-hop-interface: enp4s0
>>> table-id: 254
>>>   - destination: 144.76.84.65/32
>>> metric: 100
>>> next-hop-address: ''
>>> next-hop-interface: enp4s0
>>> table-id: 254
>>>   - destination: 172.27.1.0/24
>>> metric: 425
>>> next-hop-address: ''
>>> next-hop-interface: ovirtmgmt
>>> table-id: 254
>>>   - destination: 192.168.1.0/24
>>> metric: 0
>>> next-hop-address: ''
>>> next-hop-interface: virbr0
>>> table-id: 254
>>>   - destination: 2a01:4f8:192:1148::/64
>>> metric: 100
>>> next-hop-address: ''
>>> next-hop-interface: enp4s0
>>> table-id: 254
>>>   - destination: ::/0
>>> metric: 100
>>> next-hop-address: fe80::1
>>> next-hop-interface: enp4s0
>>> table-id: 254
>>>   - destination: fe80::/64
>>> metric: 100
>>> next-hop-address: ''
>>> next-hop-interface: enp4s0
>>> table-id: 254
>>>   - destination: ff00::/8
>>> metric: 256
>>> next-hop-address: ''
>>> next-hop-interface: enp4s0
>>> table-id: 255
>>> interfaces:
>>> - name: ;vdsmdummy;
>>>   type: linux-bridge
>>>   state: down
>>>   ipv4:
>>> enabled: false
>>>   ipv6:
>>> enabled: false
>>>   mac-address: DE:D3:A8:24:27:F6
>>>   mtu: 1500
>>> - name: br-int
>>>   type: unknown
>>>   state: down
>>>   ipv4:
>>> enabled: false
>>>   ipv6:
>>> enabled: false
>>>   mac-address: 6E:37:94:63:E0:4B
>>>   mtu: 1500
>>> - name: enp4s0
>>>   type: ethernet
>>>   state: up
>>>   ethernet:
>>> auto-negotiation: true
>>> duplex: full
>>> speed: 1000
>>>   ipv4:
>>> address:
>>> - ip: 144.76.84.73
>>>   prefix-length: 32
>>> dhcp: false
>>> enabled: true
>>>   ipv6:
>>> address:
>>> - ip: 2a01:4f8:192:1148::2
>>>   prefix-length: 64
>>> - ip: fe80::62a4:4cff:fee9:4ac
>>>   prefix-length: 64
>>> auto-dns: true
>>> auto-gateway: true
>>> auto-routes: true
>>> autoconf: true
>>> dhcp: true
>>> enabled: true
>>>   mac-address: 60:A4:4C:E9:04:AC
>>>   mtu: 1500
>>> - name: enp4s0.4000
>>>   type: vlan
>>>   state: up
>>>   ipv4:
>>> dhcp: false
>>> enabled: false
>>>   ipv6:
>>> enabled: false
>>>   mac-address: 60:A4:4C:E9:04:AC
>>>   mtu: 1500
>>>   vlan:
>>> base-iface: enp4s0
>>> id: 4000
>>> - name: lo
>>>   type: unknown
>>>   state: down
>>>   ipv4:
>>> enabled: false
>>>   ipv6:
>>> enabled: false
>>>   mtu: 65536
>>> - name: ovirtmgmt
>>>   type: linux-bridge
>>>   state:

[ovirt-users] Re: Hosted engine install failure: ipv6.gateway: gateway cannot be set if there are no addresses configured

2020-09-03 Thread Dominik Holler
On Thu, Sep 3, 2020 at 12:42 PM Sverker Abrahamsson 
wrote:

> Hi Ales,
> this is a CentOS 8 so my impression was that you always have
> NetworkManager then? At least my attempt to remove it failed miserably.
>

Yes, on CentOS 8 hosts oVirt requires the interfaces managed by
NetworkManager.


> The enp4s0 config was created by the install, so it should be controlled
> by NetworkManager.
>

This should work. Can you please report a bug on vdsm [1]?
Would be helpful if the vdsm.log and supervdsm.log would be attached to
this bug.

[1]
  https://bugzilla.redhat.com/enter_bug.cgi?product=vdsm



> /Sverker
> Den 2020-09-03 kl. 12:29, skrev Ales Musil:
>
>
>
> On Thu, Sep 3, 2020 at 12:21 PM Sverker Abrahamsson <
> sver...@abrahamsson.com> wrote:
>
>> Hi Ales,
>> right now I have a manually created ovirtmgmt bridge (virbr0 and vnet0
>> seems to be created during the failed attempt to deploy hosted engine):
>>
>> [root@h1-mgmt ~]# nmcli con show
>> NAME  UUID  TYPE  DEVICE
>> enp4s0af7ccb53-011b-4c36-998a-1878b4ae7100  ethernet  enp4s0
>> Bridge ovirtmgmt  9a0b07c0-2983-fe97-ec7f-ad2b51c3a3f0  bridge
>> ovirtmgmt
>> virbr0aa593151-2c12-4cf7-985b-f105b3575d09  bridgevirbr0
>> enp4s0.4000   ecc8064d-18c1-99b7-3fe4-9c5a593ece6f  vlan
>> enp4s0.4000
>> vnet0 a6db45bd-93c8-4c37-85fc-0c58ba3e9d00  tun   vnet0
>> [root@h1-mgmt ~]# nmstatectl show
>> ---
>> dns-resolver:
>>   config:
>> search: []
>> server:
>> - 213.133.98.98
>>   running:
>> search: []
>> server:
>> - 213.133.98.98
>> route-rules:
>>   config: []
>> routes:
>>   config:
>>   - destination: 0.0.0.0/0
>> metric: -1
>> next-hop-address: 144.76.84.65
>> next-hop-interface: enp4s0
>> table-id: 0
>>   - destination: ::/0
>> metric: -1
>> next-hop-address: fe80::1
>> next-hop-interface: enp4s0
>> table-id: 0
>>   running:
>>   - destination: 0.0.0.0/0
>> metric: 100
>> next-hop-address: 144.76.84.65
>> next-hop-interface: enp4s0
>> table-id: 254
>>   - destination: 144.76.84.65/32
>> metric: 100
>> next-hop-address: ''
>> next-hop-interface: enp4s0
>> table-id: 254
>>   - destination: 172.27.1.0/24
>> metric: 425
>> next-hop-address: ''
>> next-hop-interface: ovirtmgmt
>> table-id: 254
>>   - destination: 192.168.1.0/24
>> metric: 0
>> next-hop-address: ''
>> next-hop-interface: virbr0
>> table-id: 254
>>   - destination: 2a01:4f8:192:1148::/64
>> metric: 100
>> next-hop-address: ''
>> next-hop-interface: enp4s0
>> table-id: 254
>>   - destination: ::/0
>> metric: 100
>> next-hop-address: fe80::1
>> next-hop-interface: enp4s0
>> table-id: 254
>>   - destination: fe80::/64
>> metric: 100
>> next-hop-address: ''
>> next-hop-interface: enp4s0
>> table-id: 254
>>   - destination: ff00::/8
>> metric: 256
>> next-hop-address: ''
>> next-hop-interface: enp4s0
>> table-id: 255
>> interfaces:
>> - name: ;vdsmdummy;
>>   type: linux-bridge
>>   state: down
>>   ipv4:
>> enabled: false
>>   ipv6:
>> enabled: false
>>   mac-address: DE:D3:A8:24:27:F6
>>   mtu: 1500
>> - name: br-int
>>   type: unknown
>>   state: down
>>   ipv4:
>> enabled: false
>>   ipv6:
>> enabled: false
>>   mac-address: 6E:37:94:63:E0:4B
>>   mtu: 1500
>> - name: enp4s0
>>   type: ethernet
>>   state: up
>>   ethernet:
>> auto-negotiation: true
>> duplex: full
>> speed: 1000
>>   ipv4:
>> address:
>> - ip: 144.76.84.73
>>   prefix-length: 32
>> dhcp: false
>> enabled: true
>>   ipv6:
>> address:
>> - ip: 2a01:4f8:192:1148::2
>>   prefix-length: 64
>> - ip: fe80::62a4:4cff:fee9:4ac
>>   prefix-length: 64
>> auto-dns: true
>> auto-gateway: true
>> auto-routes: true
>> autoconf: true
>> dhcp: true
>> enabled: true
>>   mac-address: 60:A4:4C:E9:04:AC
>>   mtu: 1500
>> - name: enp4s0.4000
>>   type: vlan
>>   state: up
>>   ipv4:
>> dhcp: false
>> enabled: false
>>   ipv6:
>> enabled: false
>>   mac-address: 60:A4:4C:E9:04:AC
>>   mtu: 1500
>>   vlan:
>> base-iface: enp4s0
>> id: 4000
>> - name: lo
>>   type: unknown
>>   state: down
>>   ipv4:
>> enabled: false
>>   ipv6:
>> enabled: false
>>   mtu: 65536
>> - name: ovirtmgmt
>>   type: linux-bridge
>>   state: up
>>   bridge:
>> options:
>>   group-forward-mask: 0
>>   mac-ageing-time: 300
>>   multicast-snooping: true
>>   stp:
>> enabled: false
>> forward-delay: 15
>> hello-time: 2
>> max-age: 20
>> priority: 32768
>> port:
>> - name: enp4s0.4000
>>   stp-hairpin-mode: false
>>   stp-path-cost: 100
>>   stp-priority: 32
>>   ipv4:
>> address:
>> - ip: 172.27.1.1
>>   prefix-length: 24
>> dhcp: false
>> enabled: true
>>   ipv6:
>> autoconf: false
>> d

[ovirt-users] Re: Hosted engine install failure: ipv6.gateway: gateway cannot be set if there are no addresses configured

2020-09-03 Thread Strahil Nikolov via Users
# yum install network-scripts

# readlink $(readlink $(which ifup))
/etc/sysconfig/network-scripts/ifup

#touch /etc/sysconfig/disable-deprecation-warnings

#systemctl disable NetworkManager
Add "NM_CONTROLLED" to the ifcfg- file.
#systemctl enable --now network

For more details: https://access.redhat.com/solutions/4365931

Best Regards,
Strahil Nikolov





В четвъртък, 3 септември 2020 г., 13:42:19 Гринуич+3, Sverker Abrahamsson 
 написа: 






Hi Ales,
this is a CentOS 8 so my impression was that you always have NetworkManager 
then? At least my attempt to remove it failed miserably.

The enp4s0 config was created by the install, so it should be controlled by 
NetworkManager.

/Sverker


Den 2020-09-03 kl. 12:29, skrev Ales Musil:


>  






On Thu, Sep 3, 2020 at 12:21 PM Sverker Abrahamsson  
wrote:


>  
>  
> Hi Ales,
> right now I have a manually created ovirtmgmt bridge (virbr0 and vnet0 seems 
> to be created during the failed attempt to deploy hosted engine):
> 
> [root@h1-mgmt ~]# nmcli con show
> NAME  UUID  TYPE  DEVICE
> enp4s0    af7ccb53-011b-4c36-998a-1878b4ae7100  ethernet  enp4s0
> Bridge ovirtmgmt  9a0b07c0-2983-fe97-ec7f-ad2b51c3a3f0  bridge    ovirtmgmt
> virbr0    aa593151-2c12-4cf7-985b-f105b3575d09  bridge    virbr0
> enp4s0.4000   ecc8064d-18c1-99b7-3fe4-9c5a593ece6f  vlan  enp4s0.4000
> vnet0 a6db45bd-93c8-4c37-85fc-0c58ba3e9d00  tun   
> vnet0[root@h1-mgmt ~]# nmstatectl show---dns-resolver:  config:    search: [] 
>    server:    - 213.133.98.98  running:    search: []    server:    - 
> 213.133.98.98route-rules:  config: []routes:  config:  - destination: 
> 0.0.0.0/0    metric: -1    next-hop-address: 144.76.84.65    
> next-hop-interface: enp4s0    table-id: 0  - destination: ::/0    metric: -1  
>   next-hop-address: fe80::1    next-hop-interface: enp4s0    table-id: 0  
> running:  - destination: 0.0.0.0/0    metric: 100    next-hop-address: 
> 144.76.84.65    next-hop-interface: enp4s0    table-id: 254  - destination: 
> 144.76.84.65/32    metric: 100    next-hop-address: ''    next-hop-interface: 
> enp4s0    table-id: 254  - destination: 172.27.1.0/24    metric: 425    
> next-hop-address: ''    next-hop-interface: ovirtmgmt    table-id: 254  - 
> destination: 192.168.1.0/24    metric: 0    next-hop-address: ''    
> next-hop-interface: virbr0    table-id: 254  - destination: 
> 2a01:4f8:192:1148::/64    metric: 100    next-hop-address: ''    
> next-hop-interface: enp4s0    table-id: 254  - destination: ::/0    metric: 
> 100    next-hop-address: fe80::1    next-hop-interface: enp4s0    table-id: 
> 254  - destination: fe80::/64    metric: 100    next-hop-address: ''    
> next-hop-interface: enp4s0    table-id: 254  - destination: ff00::/8    
> metric: 256    next-hop-address: ''    next-hop-interface: enp4s0    
> table-id: 255interfaces:- name: ;vdsmdummy;  type: linux-bridge  state: down  
> ipv4:    enabled: false  ipv6:    enabled: false  mac-address: 
> DE:D3:A8:24:27:F6  mtu: 1500- name: br-int  type: unknown  state: down  ipv4: 
>    enabled: false  ipv6:    enabled: false  mac-address: 6E:37:94:63:E0:4B  
> mtu: 1500- name: enp4s0  type: ethernet  state: up  ethernet:    
> auto-negotiation: true    duplex: full    speed: 1000  ipv4:    address:    - 
> ip: 144.76.84.73  prefix-length: 32    dhcp: false    enabled: true  
> ipv6:    address:    - ip: 2a01:4f8:192:1148::2  prefix-length: 64    - 
> ip: fe80::62a4:4cff:fee9:4ac  prefix-length: 64    auto-dns: true    
> auto-gateway: true    auto-routes: true    autoconf: true    dhcp: true    
> enabled: true  mac-address: 60:A4:4C:E9:04:AC  mtu: 1500- name: enp4s0.4000  
> type: vlan  state: up  ipv4:    dhcp: false    enabled: false  ipv6:    
> enabled: false  mac-address: 60:A4:4C:E9:04:AC  mtu: 1500  vlan:    
> base-iface: enp4s0    id: 4000- name: lo  type: unknown  state: down  ipv4:   
>  enabled: false  ipv6:    enabled: false  mtu: 65536- name: ovirtmgmt  type: 
> linux-bridge  state: up  bridge:    options:  group-forward-mask: 0  
> mac-ageing-time: 300  multicast-snooping: true  stp:    enabled: 
> false    forward-delay: 15    hello-time: 2    max-age: 20    
> priority: 32768    port:    - name: enp4s0.4000  stp-hairpin-mode: false  
>     stp-path-cost: 100  stp-priority: 32  ipv4:    address:    - ip: 
> 172.27.1.1  prefix-length: 24    dhcp: false    enabled: true  ipv6:    
> autoconf: false    dhcp: false    enabled: false  mac-address: 
> 60:A4:4C:E9:04:AC  mtu: 1500- name: ovs-system  type: unknown  state: down  
> ipv4:    enabled: false  ipv6:    enabled: false  mac-address: 
> D2:D3:5B:BA:58:38  mtu: 1500- name: virbr0  type: linux-bridge  state: up  
> bridge:    options:  group-forward-mask: 0  mac-ageing-time: 300  
> multicast-snooping: true  stp:    enabled: true    forward-delay: 
> 2    hello-time: 2

[ovirt-users] Re: Hosted engine install failure: ipv6.gateway: gateway cannot be set if there are no addresses configured

2020-09-03 Thread Sverker Abrahamsson via Users

Hi Ales,
this is a CentOS 8 so my impression was that you always have 
NetworkManager then? At least my attempt to remove it failed miserably.


The enp4s0 config was created by the install, so it should be controlled 
by NetworkManager.


/Sverker

Den 2020-09-03 kl. 12:29, skrev Ales Musil:



On Thu, Sep 3, 2020 at 12:21 PM Sverker Abrahamsson 
mailto:sver...@abrahamsson.com>> wrote:


Hi Ales,
right now I have a manually created ovirtmgmt bridge (virbr0 and
vnet0 seems to be created during the failed attempt to deploy
hosted engine):

[root@h1-mgmt ~]# nmcli con show
NAME UUID  TYPE  DEVICE
enp4s0 af7ccb53-011b-4c36-998a-1878b4ae7100  ethernet  enp4s0
Bridge ovirtmgmt 9a0b07c0-2983-fe97-ec7f-ad2b51c3a3f0  bridge
ovirtmgmt
virbr0 aa593151-2c12-4cf7-985b-f105b3575d09  bridge    virbr0
enp4s0.4000 ecc8064d-18c1-99b7-3fe4-9c5a593ece6f  vlan enp4s0.4000
vnet0 a6db45bd-93c8-4c37-85fc-0c58ba3e9d00  tun   vnet0
[root@h1-mgmt ~]# nmstatectl show
---
dns-resolver:
  config:
    search: []
    server:
    - 213.133.98.98
  running:
    search: []
    server:
    - 213.133.98.98
route-rules:
  config: []
routes:
  config:
  - destination: 0.0.0.0/0 
    metric: -1
    next-hop-address: 144.76.84.65
    next-hop-interface: enp4s0
    table-id: 0
  - destination: ::/0
    metric: -1
    next-hop-address: fe80::1
    next-hop-interface: enp4s0
    table-id: 0
  running:
  - destination: 0.0.0.0/0 
    metric: 100
    next-hop-address: 144.76.84.65
    next-hop-interface: enp4s0
    table-id: 254
  - destination: 144.76.84.65/32 
    metric: 100
    next-hop-address: ''
    next-hop-interface: enp4s0
    table-id: 254
  - destination: 172.27.1.0/24 
    metric: 425
    next-hop-address: ''
    next-hop-interface: ovirtmgmt
    table-id: 254
  - destination: 192.168.1.0/24 
    metric: 0
    next-hop-address: ''
    next-hop-interface: virbr0
    table-id: 254
  - destination: 2a01:4f8:192:1148::/64
    metric: 100
    next-hop-address: ''
    next-hop-interface: enp4s0
    table-id: 254
  - destination: ::/0
    metric: 100
    next-hop-address: fe80::1
    next-hop-interface: enp4s0
    table-id: 254
  - destination: fe80::/64
    metric: 100
    next-hop-address: ''
    next-hop-interface: enp4s0
    table-id: 254
  - destination: ff00::/8
    metric: 256
    next-hop-address: ''
    next-hop-interface: enp4s0
    table-id: 255
interfaces:
- name: ;vdsmdummy;
  type: linux-bridge
  state: down
  ipv4:
    enabled: false
  ipv6:
    enabled: false
  mac-address: DE:D3:A8:24:27:F6
  mtu: 1500
- name: br-int
  type: unknown
  state: down
  ipv4:
    enabled: false
  ipv6:
    enabled: false
  mac-address: 6E:37:94:63:E0:4B
  mtu: 1500
- name: enp4s0
  type: ethernet
  state: up
  ethernet:
    auto-negotiation: true
    duplex: full
    speed: 1000
  ipv4:
    address:
    - ip: 144.76.84.73
  prefix-length: 32
    dhcp: false
    enabled: true
  ipv6:
    address:
    - ip: 2a01:4f8:192:1148::2
  prefix-length: 64
    - ip: fe80::62a4:4cff:fee9:4ac
  prefix-length: 64
    auto-dns: true
    auto-gateway: true
    auto-routes: true
    autoconf: true
    dhcp: true
    enabled: true
  mac-address: 60:A4:4C:E9:04:AC
  mtu: 1500
- name: enp4s0.4000
  type: vlan
  state: up
  ipv4:
    dhcp: false
    enabled: false
  ipv6:
    enabled: false
  mac-address: 60:A4:4C:E9:04:AC
  mtu: 1500
  vlan:
    base-iface: enp4s0
    id: 4000
- name: lo
  type: unknown
  state: down
  ipv4:
    enabled: false
  ipv6:
    enabled: false
  mtu: 65536
- name: ovirtmgmt
  type: linux-bridge
  state: up
  bridge:
    options:
  group-forward-mask: 0
  mac-ageing-time: 300
  multicast-snooping: true
  stp:
    enabled: false
    forward-delay: 15
    hello-time: 2
    max-age: 20
    priority: 32768
    port:
    - name: enp4s0.4000
  stp-hairpin-mode: false
  stp-path-cost: 100
  stp-priority: 32
  ipv4:
    address:
    - ip: 172.27.1.1
  prefix-length: 24
    dhcp: false
    enabled: true
  ipv6:
    autoconf: false
    dhcp: false
    enabled: false
  mac-address: 60:A4:4C:E9:04:AC
  mtu: 1500
- name: ovs-system
  type: unknown

[ovirt-users] Re: Hosted engine install failure: ipv6.gateway: gateway cannot be set if there are no addresses configured

2020-09-03 Thread Ales Musil
On Thu, Sep 3, 2020 at 12:21 PM Sverker Abrahamsson 
wrote:

> Hi Ales,
> right now I have a manually created ovirtmgmt bridge (virbr0 and vnet0
> seems to be created during the failed attempt to deploy hosted engine):
>
> [root@h1-mgmt ~]# nmcli con show
> NAME  UUID  TYPE  DEVICE
> enp4s0af7ccb53-011b-4c36-998a-1878b4ae7100  ethernet  enp4s0
> Bridge ovirtmgmt  9a0b07c0-2983-fe97-ec7f-ad2b51c3a3f0  bridgeovirtmgmt
> virbr0aa593151-2c12-4cf7-985b-f105b3575d09  bridgevirbr0
> enp4s0.4000   ecc8064d-18c1-99b7-3fe4-9c5a593ece6f  vlan
> enp4s0.4000
> vnet0 a6db45bd-93c8-4c37-85fc-0c58ba3e9d00  tun   vnet0
> [root@h1-mgmt ~]# nmstatectl show
> ---
> dns-resolver:
>   config:
> search: []
> server:
> - 213.133.98.98
>   running:
> search: []
> server:
> - 213.133.98.98
> route-rules:
>   config: []
> routes:
>   config:
>   - destination: 0.0.0.0/0
> metric: -1
> next-hop-address: 144.76.84.65
> next-hop-interface: enp4s0
> table-id: 0
>   - destination: ::/0
> metric: -1
> next-hop-address: fe80::1
> next-hop-interface: enp4s0
> table-id: 0
>   running:
>   - destination: 0.0.0.0/0
> metric: 100
> next-hop-address: 144.76.84.65
> next-hop-interface: enp4s0
> table-id: 254
>   - destination: 144.76.84.65/32
> metric: 100
> next-hop-address: ''
> next-hop-interface: enp4s0
> table-id: 254
>   - destination: 172.27.1.0/24
> metric: 425
> next-hop-address: ''
> next-hop-interface: ovirtmgmt
> table-id: 254
>   - destination: 192.168.1.0/24
> metric: 0
> next-hop-address: ''
> next-hop-interface: virbr0
> table-id: 254
>   - destination: 2a01:4f8:192:1148::/64
> metric: 100
> next-hop-address: ''
> next-hop-interface: enp4s0
> table-id: 254
>   - destination: ::/0
> metric: 100
> next-hop-address: fe80::1
> next-hop-interface: enp4s0
> table-id: 254
>   - destination: fe80::/64
> metric: 100
> next-hop-address: ''
> next-hop-interface: enp4s0
> table-id: 254
>   - destination: ff00::/8
> metric: 256
> next-hop-address: ''
> next-hop-interface: enp4s0
> table-id: 255
> interfaces:
> - name: ;vdsmdummy;
>   type: linux-bridge
>   state: down
>   ipv4:
> enabled: false
>   ipv6:
> enabled: false
>   mac-address: DE:D3:A8:24:27:F6
>   mtu: 1500
> - name: br-int
>   type: unknown
>   state: down
>   ipv4:
> enabled: false
>   ipv6:
> enabled: false
>   mac-address: 6E:37:94:63:E0:4B
>   mtu: 1500
> - name: enp4s0
>   type: ethernet
>   state: up
>   ethernet:
> auto-negotiation: true
> duplex: full
> speed: 1000
>   ipv4:
> address:
> - ip: 144.76.84.73
>   prefix-length: 32
> dhcp: false
> enabled: true
>   ipv6:
> address:
> - ip: 2a01:4f8:192:1148::2
>   prefix-length: 64
> - ip: fe80::62a4:4cff:fee9:4ac
>   prefix-length: 64
> auto-dns: true
> auto-gateway: true
> auto-routes: true
> autoconf: true
> dhcp: true
> enabled: true
>   mac-address: 60:A4:4C:E9:04:AC
>   mtu: 1500
> - name: enp4s0.4000
>   type: vlan
>   state: up
>   ipv4:
> dhcp: false
> enabled: false
>   ipv6:
> enabled: false
>   mac-address: 60:A4:4C:E9:04:AC
>   mtu: 1500
>   vlan:
> base-iface: enp4s0
> id: 4000
> - name: lo
>   type: unknown
>   state: down
>   ipv4:
> enabled: false
>   ipv6:
> enabled: false
>   mtu: 65536
> - name: ovirtmgmt
>   type: linux-bridge
>   state: up
>   bridge:
> options:
>   group-forward-mask: 0
>   mac-ageing-time: 300
>   multicast-snooping: true
>   stp:
> enabled: false
> forward-delay: 15
> hello-time: 2
> max-age: 20
> priority: 32768
> port:
> - name: enp4s0.4000
>   stp-hairpin-mode: false
>   stp-path-cost: 100
>   stp-priority: 32
>   ipv4:
> address:
> - ip: 172.27.1.1
>   prefix-length: 24
> dhcp: false
> enabled: true
>   ipv6:
> autoconf: false
> dhcp: false
> enabled: false
>   mac-address: 60:A4:4C:E9:04:AC
>   mtu: 1500
> - name: ovs-system
>   type: unknown
>   state: down
>   ipv4:
> enabled: false
>   ipv6:
> enabled: false
>   mac-address: D2:D3:5B:BA:58:38
>   mtu: 1500
> - name: virbr0
>   type: linux-bridge
>   state: up
>   bridge:
> options:
>   group-forward-mask: 0
>   mac-ageing-time: 300
>   multicast-snooping: true
>   stp:
> enabled: true
> forward-delay: 2
> hello-time: 2
> max-age: 20
> priority: 32768
> port:
> - name: virbr0-nic
>   stp-hairpin-mode: false
>   stp-path-cost: 100
>   stp-priority: 32
> - name: vnet0
>   stp-hairpin-mode: false
>   stp-path-cost: 100
>   stp-priority: 32
>   ipv4:
> address:
> - ip: 192.168.1.1
>   prefix-length: 24
> dhcp

[ovirt-users] Re: Hosted engine install failure: ipv6.gateway: gateway cannot be set if there are no addresses configured

2020-09-03 Thread Sverker Abrahamsson via Users

Hi Ales,
right now I have a manually created ovirtmgmt bridge (virbr0 and vnet0 
seems to be created during the failed attempt to deploy hosted engine):


[root@h1-mgmt ~]# nmcli con show
NAME  UUID TYPE  DEVICE
enp4s0    af7ccb53-011b-4c36-998a-1878b4ae7100 ethernet  enp4s0
Bridge ovirtmgmt  9a0b07c0-2983-fe97-ec7f-ad2b51c3a3f0 bridge    ovirtmgmt
virbr0    aa593151-2c12-4cf7-985b-f105b3575d09 bridge    virbr0
enp4s0.4000   ecc8064d-18c1-99b7-3fe4-9c5a593ece6f vlan  enp4s0.4000
vnet0 a6db45bd-93c8-4c37-85fc-0c58ba3e9d00 tun   vnet0
[root@h1-mgmt ~]# nmstatectl show
---
dns-resolver:
  config:
    search: []
    server:
    - 213.133.98.98
  running:
    search: []
    server:
    - 213.133.98.98
route-rules:
  config: []
routes:
  config:
  - destination: 0.0.0.0/0
    metric: -1
    next-hop-address: 144.76.84.65
    next-hop-interface: enp4s0
    table-id: 0
  - destination: ::/0
    metric: -1
    next-hop-address: fe80::1
    next-hop-interface: enp4s0
    table-id: 0
  running:
  - destination: 0.0.0.0/0
    metric: 100
    next-hop-address: 144.76.84.65
    next-hop-interface: enp4s0
    table-id: 254
  - destination: 144.76.84.65/32
    metric: 100
    next-hop-address: ''
    next-hop-interface: enp4s0
    table-id: 254
  - destination: 172.27.1.0/24
    metric: 425
    next-hop-address: ''
    next-hop-interface: ovirtmgmt
    table-id: 254
  - destination: 192.168.1.0/24
    metric: 0
    next-hop-address: ''
    next-hop-interface: virbr0
    table-id: 254
  - destination: 2a01:4f8:192:1148::/64
    metric: 100
    next-hop-address: ''
    next-hop-interface: enp4s0
    table-id: 254
  - destination: ::/0
    metric: 100
    next-hop-address: fe80::1
    next-hop-interface: enp4s0
    table-id: 254
  - destination: fe80::/64
    metric: 100
    next-hop-address: ''
    next-hop-interface: enp4s0
    table-id: 254
  - destination: ff00::/8
    metric: 256
    next-hop-address: ''
    next-hop-interface: enp4s0
    table-id: 255
interfaces:
- name: ;vdsmdummy;
  type: linux-bridge
  state: down
  ipv4:
    enabled: false
  ipv6:
    enabled: false
  mac-address: DE:D3:A8:24:27:F6
  mtu: 1500
- name: br-int
  type: unknown
  state: down
  ipv4:
    enabled: false
  ipv6:
    enabled: false
  mac-address: 6E:37:94:63:E0:4B
  mtu: 1500
- name: enp4s0
  type: ethernet
  state: up
  ethernet:
    auto-negotiation: true
    duplex: full
    speed: 1000
  ipv4:
    address:
    - ip: 144.76.84.73
  prefix-length: 32
    dhcp: false
    enabled: true
  ipv6:
    address:
    - ip: 2a01:4f8:192:1148::2
  prefix-length: 64
    - ip: fe80::62a4:4cff:fee9:4ac
  prefix-length: 64
    auto-dns: true
    auto-gateway: true
    auto-routes: true
    autoconf: true
    dhcp: true
    enabled: true
  mac-address: 60:A4:4C:E9:04:AC
  mtu: 1500
- name: enp4s0.4000
  type: vlan
  state: up
  ipv4:
    dhcp: false
    enabled: false
  ipv6:
    enabled: false
  mac-address: 60:A4:4C:E9:04:AC
  mtu: 1500
  vlan:
    base-iface: enp4s0
    id: 4000
- name: lo
  type: unknown
  state: down
  ipv4:
    enabled: false
  ipv6:
    enabled: false
  mtu: 65536
- name: ovirtmgmt
  type: linux-bridge
  state: up
  bridge:
    options:
  group-forward-mask: 0
  mac-ageing-time: 300
  multicast-snooping: true
  stp:
    enabled: false
    forward-delay: 15
    hello-time: 2
    max-age: 20
    priority: 32768
    port:
    - name: enp4s0.4000
  stp-hairpin-mode: false
  stp-path-cost: 100
  stp-priority: 32
  ipv4:
    address:
    - ip: 172.27.1.1
  prefix-length: 24
    dhcp: false
    enabled: true
  ipv6:
    autoconf: false
    dhcp: false
    enabled: false
  mac-address: 60:A4:4C:E9:04:AC
  mtu: 1500
- name: ovs-system
  type: unknown
  state: down
  ipv4:
    enabled: false
  ipv6:
    enabled: false
  mac-address: D2:D3:5B:BA:58:38
  mtu: 1500
- name: virbr0
  type: linux-bridge
  state: up
  bridge:
    options:
  group-forward-mask: 0
  mac-ageing-time: 300
  multicast-snooping: true
  stp:
    enabled: true
    forward-delay: 2
    hello-time: 2
    max-age: 20
    priority: 32768
    port:
    - name: virbr0-nic
  stp-hairpin-mode: false
  stp-path-cost: 100
  stp-priority: 32
    - name: vnet0
  stp-hairpin-mode: false
  stp-path-cost: 100
  stp-priority: 32
  ipv4:
    address:
    - ip: 192.168.1.1
  prefix-length: 24
    dhcp: false
    enabled: true
  ipv6:
    autoconf: false
    dhcp: false
    enabled: false
  mac-address: 52:54:00:C0:A5:20
  mtu: 1500
- name: virbr0-nic
  type: unknown
  state: down
  ipv4:
    enabled: false
  ipv6:
    enabled: false
  mac-address: 52:54:00:C0:A5:20
  mtu: 1500
- name: vnet0
  type: unknown
  state: up
  ipv4:
    enabled: false
  ipv6:
    enabled: false
  mac-address: FE:16:3E:1B:21:0B
  mtu: 1500

Reverting the configuration back to not have the static bridge and a 
reboot I get this:


[

[ovirt-users] Re: Hosted engine install failure: ipv6.gateway: gateway cannot be set if there are no addresses configured

2020-09-03 Thread Ales Musil
On Thu, Sep 3, 2020 at 11:51 AM Sverker Abrahamsson via Users <
users@ovirt.org> wrote:

> Hi Dominik
> That is my issue, I don't get to where I can get the ovirtmgmt bridge
> established because vdsm insists on creating it. It used to be possible to
> create that bridge statically and vdsm would just skip it but seems to be
> broken now.
>
> If it would be possible to use OVN for the management network that would
> solve my issue and would be the preferable solution, but as you write that
> isn't possible which was what I suspected.
>
> Do you have any other suggestion on how to solve this issue? That I get
> the external interface untagged and the internal network tagged is not
> possible to change.
>
> /Sverker
>

Hello Sverker,

can you please share output from "nmcli con show" and "nmstatectl show"?

Thank you.
Regards,
Ales

> Den 2020-09-03 kl. 10:52, skrev Dominik Holler:
>
>
>
> On Wed, Sep 2, 2020 at 10:38 PM Sverker Abrahamsson via Users <
> users@ovirt.org> wrote:
>
>> Well, unforturnatly I don't have a choise since it is out of my control.
>> I only have one physical network port where the external traffic is
>> untagged and the internal vlan is tagged. If I could run with OVN
>>
>
> OVN is for VM traffic only, not usable for the management network.
>
>
>> instead I wouldn't need that tagged vlan, but I haven't been able to get
>> that to work neither.
>>
>>
> Please let us know if OVN does not work for VM traffic for you.
>
>
>> It's perfectly possible to have both tagged and untagged traffic on the
>> same switch port, issue is that vdsm tries to take control over the
>> network without being able to be flexible enough.. I'm attempting now to
>> have ovirtmgmt bridge created before, that used to be possible but
>> according to previous mails on the list it went broken somewhere at 4.x.
>>
>> /Sverker
>>
>> Den 2020-09-02 kl. 21:39, skrev Strahil Nikolov:
>> > Switchports can either be tagged or untagged.
>> > I'm not sure that your setup is supported at all.
>> >
>> > Best Regards,
>> > Strahil Nikolov
>> >
>> >
>> >
>> >
>> >
>> >
>> > В сряда, 2 септември 2020 г., 20:41:57 Гринуич+3, Sverker Abrahamsson
>> via Users  написа:
>> >
>> >
>> >
>> >
>> >
>> > Pretty formatting the "desired state" it seems that vdsm tries to remove
>> > the ip of my underlying interface, that is enp4s0:
>> >
>
> > {
>> >  'interfaces': [{
>> >  'name': 'enp4s0',
>> >  'state': 'up',
>> >  'mtu': 1500
>> >  }, {
>> >  'vlan': {
>> >  'id': 4000,
>> >  'base-iface': 'enp4s0'
>> >  },
>> >  'name': 'enp4s0.4000',
>> >  'type': 'vlan',
>> >  'state': 'up',
>> >  'mtu': 1500,
>> >  'ipv4': {
>> >  'enabled': False
>> >  },
>> >  'ipv6': {
>> >  'enabled': False
>> >  }
>> >  }, {
>> >  'name': 'ovirtmgmt',
>> >  'type': 'linux-bridge',
>> >  'state': 'up',
>> >  'mtu': 1500,
>> >  'bridge': {
>> >  'port': [{
>> >  'name': 'enp4s0.4000'
>> >  }
>> >  ],
>> >  'options': {
>> >  'stp': {
>> >  'enabled': False
>> >  }
>> >  }
>> >  },
>> >  'ipv4': {
>> >  'enabled': True,
>> >  'address': [{
>> >  'ip': '172.27.1.1',
>> >  'prefix-length': 24
>> >  }
>> >  ],
>> >  'dhcp': False
>> >  },
>> >  'ipv6': {
>> >  'enabled': False
>> >  }
>> >  }
>> >  ],
>> >  'dns-resolver': {
>> >  'config'
>> >  : {
>> >  'server': ['213.133.98.98']
>> >  }
>> >  }
>> > }
>> >
>>
>
> Thanks, this is helpful information.
> Can you please share the getCapabilities result sent from vdsm to Engine
> directly before the setupNetworks request,
> and the parameters of the setupNetworks request from Engine to vdsm?
> Both are in the vdsm.log during adding the host.
>
>
>> >
>> > This is my interfaces before vdsm attemtpts to change the config:
>> >
>> > enp4s0: flags=4163  mtu 1500
>> >  inet 144.76.84.73  netmask 255.255.255.255  broadcast 0.0.0.0
>> >  inet6 fe80::62a4:4cff:fee9:4ac  prefixlen 64  scopeid
>> 0x20
>> >  inet6 2a01:4f8:192:1148::2  prefixlen 64  scopeid 0x0
>> >  ether 60:a4:4c:e9:04:ac  txqueuelen 1000  (Ethernet)
>> >  RX packets 293442  bytes 385541799 (367.6 MiB)
>> >  RX errors 0  dropped 0  overruns 0  frame 0
>> >  TX packets 91095  bytes 31160348 (29.7 MiB)
>> >  TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>> >

[ovirt-users] Re: Hosted engine install failure: ipv6.gateway: gateway cannot be set if there are no addresses configured

2020-09-03 Thread Sverker Abrahamsson via Users

Hi Dominik
That is my issue, I don't get to where I can get the ovirtmgmt bridge 
established because vdsm insists on creating it. It used to be possible 
to create that bridge statically and vdsm would just skip it but seems 
to be broken now.


If it would be possible to use OVN for the management network that would 
solve my issue and would be the preferable solution, but as you write 
that isn't possible which was what I suspected.


Do you have any other suggestion on how to solve this issue? That I get 
the external interface untagged and the internal network tagged is not 
possible to change.


/Sverker

Den 2020-09-03 kl. 10:52, skrev Dominik Holler:



On Wed, Sep 2, 2020 at 10:38 PM Sverker Abrahamsson via Users 
mailto:users@ovirt.org>> wrote:


Well, unforturnatly I don't have a choise since it is out of my
control.
I only have one physical network port where the external traffic is
untagged and the internal vlan is tagged. If I could run with OVN


OVN is for VM traffic only, not usable for the management network.

instead I wouldn't need that tagged vlan, but I haven't been able
to get
that to work neither.


Please let us know if OVN does not work for VM traffic for you.

It's perfectly possible to have both tagged and untagged traffic
on the
same switch port, issue is that vdsm tries to take control over the
network without being able to be flexible enough.. I'm attempting
now to
have ovirtmgmt bridge created before, that used to be possible but
according to previous mails on the list it went broken somewhere
at 4.x.

/Sverker

Den 2020-09-02 kl. 21:39, skrev Strahil Nikolov:
> Switchports can either be tagged or untagged.
> I'm not sure that your setup is supported at all.
>
> Best Regards,
> Strahil Nikolov
>
>
>
>
>
>
> В сряда, 2 септември 2020 г., 20:41:57 Гринуич+3, Sverker
Abrahamsson via Users mailto:users@ovirt.org>>
написа:
>
>
>
>
>
> Pretty formatting the "desired state" it seems that vdsm tries
to remove
> the ip of my underlying interface, that is enp4s0:
> 


> {
>      'interfaces': [{
>              'name': 'enp4s0',
>              'state': 'up',
>              'mtu': 1500
>          }, {
>              'vlan': {
>                  'id': 4000,
>                  'base-iface': 'enp4s0'
>              },
>              'name': 'enp4s0.4000',
>              'type': 'vlan',
>              'state': 'up',
>              'mtu': 1500,
>              'ipv4': {
>                  'enabled': False
>              },
>              'ipv6': {
>                  'enabled': False
>              }
>          }, {
>              'name': 'ovirtmgmt',
>              'type': 'linux-bridge',
>              'state': 'up',
>              'mtu': 1500,
>              'bridge': {
>                  'port': [{
>                          'name': 'enp4s0.4000'
>                      }
>                  ],
>                  'options': {
>                      'stp': {
>                          'enabled': False
>                      }
>                  }
>              },
>              'ipv4': {
>                  'enabled': True,
>                  'address': [{
>                          'ip': '172.27.1.1',
>                          'prefix-length': 24
>                      }
>                  ],
>                  'dhcp': False
>              },
>              'ipv6': {
>                  'enabled': False
>              }
>          }
>      ],
>      'dns-resolver': {
>          'config'
>          : {
>              'server': ['213.133.98.98']
>          }
>      }
> }
>


Thanks, this is helpful information.
Can you please share the getCapabilities result sent from vdsm to 
Engine directly before the setupNetworks request,

and the parameters of the setupNetworks request from Engine to vdsm?
Both are in the vdsm.log during adding the host.

>
> This is my interfaces before vdsm attemtpts to change the config:
>
> enp4s0: flags=4163  mtu 1500
>      inet 144.76.84.73  netmask 255.255.255.255 broadcast
0.0.0.0
>      inet6 fe80::62a4:4cff:fee9:4ac  prefixlen 64 scopeid
0x20
>      inet6 2a01:4f8:192:1148::2  prefixlen 64 scopeid
0x0
>      ether 60:a4:4c:e9:04:ac  txqueuelen 1000 (Ethernet)
>      RX packets 293442  bytes 385541799 (367.6 MiB)
>      RX errors 0  dropped 0  overruns 0  frame 0
>      TX packets 91095  bytes 31160348 (29.7 MiB)
>      TX errors 0  dropped 0 overruns 0  carrier 0 collisions 0
>      device interrupt 17  memory 0xf7d0-f7d2
>
> enp4s0.4000: flags=4163  mtu 1500
  

[ovirt-users] Re: Hosted engine install failure: ipv6.gateway: gateway cannot be set if there are no addresses configured

2020-09-03 Thread Sverker Abrahamsson via Users

Hi Strahil,
there is nothing wrong with the switch other than that I don't have any 
control over it so the network setup is as it is. The issue is that vdsm 
breaks the network setup because it's not flexible enough.


/Sverker

Den 2020-09-03 kl. 00:47, skrev Strahil Nikolov:

What is you switch brand & model ?
Maybe someone more experienced in networking can help.


Best Regards,
Strahil Nikolov






В сряда, 2 септември 2020 г., 23:39:57 Гринуич+3, Sverker Abrahamsson via Users 
 написа:





Well, unforturnatly I don't have a choise since it is out of my control.
I only have one physical network port where the external traffic is
untagged and the internal vlan is tagged. If I could run with OVN
instead I wouldn't need that tagged vlan, but I haven't been able to get
that to work neither.

It's perfectly possible to have both tagged and untagged traffic on the
same switch port, issue is that vdsm tries to take control over the
network without being able to be flexible enough.. I'm attempting now to
have ovirtmgmt bridge created before, that used to be possible but
according to previous mails on the list it went broken somewhere at 4.x.

/Sverker

Den 2020-09-02 kl. 21:39, skrev Strahil Nikolov:

Switchports can either be tagged or untagged.
I'm not sure that your setup is supported at all.

Best Regards,
Strahil Nikolov






В сряда, 2 септември 2020 г., 20:41:57 Гринуич+3, Sverker Abrahamsson via Users 
 написа:





Pretty formatting the "desired state" it seems that vdsm tries to remove
the ip of my underlying interface, that is enp4s0:

{
       'interfaces': [{
               'name': 'enp4s0',
               'state': 'up',
               'mtu': 1500
           }, {
               'vlan': {
                   'id': 4000,
                   'base-iface': 'enp4s0'
               },
               'name': 'enp4s0.4000',
               'type': 'vlan',
               'state': 'up',
               'mtu': 1500,
               'ipv4': {
                   'enabled': False
               },
               'ipv6': {
                   'enabled': False
               }
           }, {
               'name': 'ovirtmgmt',
               'type': 'linux-bridge',
               'state': 'up',
               'mtu': 1500,
               'bridge': {
                   'port': [{
                           'name': 'enp4s0.4000'
                       }
                   ],
                   'options': {
                       'stp': {
                           'enabled': False
                       }
                   }
               },
               'ipv4': {
                   'enabled': True,
                   'address': [{
                           'ip': '172.27.1.1',
                           'prefix-length': 24
                       }
                   ],
                   'dhcp': False
               },
               'ipv6': {
                   'enabled': False
               }
           }
       ],
       'dns-resolver': {
           'config'
           : {
               'server': ['213.133.98.98']
           }
       }
}


This is my interfaces before vdsm attemtpts to change the config:

enp4s0: flags=4163  mtu 1500
       inet 144.76.84.73  netmask 255.255.255.255  broadcast 0.0.0.0
       inet6 fe80::62a4:4cff:fee9:4ac  prefixlen 64  scopeid 0x20
       inet6 2a01:4f8:192:1148::2  prefixlen 64  scopeid 0x0
       ether 60:a4:4c:e9:04:ac  txqueuelen 1000  (Ethernet)
       RX packets 293442  bytes 385541799 (367.6 MiB)
       RX errors 0  dropped 0  overruns 0  frame 0
       TX packets 91095  bytes 31160348 (29.7 MiB)
       TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
       device interrupt 17  memory 0xf7d0-f7d2

enp4s0.4000: flags=4163  mtu 1500
       inet 172.27.1.1  netmask 255.255.255.0  broadcast 172.27.1.255
       inet6 fe80::62a4:4cff:fee9:4ac  prefixlen 64  scopeid 0x20
       ether 60:a4:4c:e9:04:ac  txqueuelen 1000  (Ethernet)
       RX packets 0  bytes 0 (0.0 B)
       RX errors 0  dropped 0  overruns 0  frame 0
       TX packets 13  bytes 938 (938.0 B)
       TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

I.e. enp4s0 is the external interface that must not be changed, bridge
must be created on the vlan interface. I would prefer to create the
bridge manually and not through vdsm if that is possible.

/Sverker

Den 2020-09-02 kl. 19:14, skrev Sverker Abrahamsson via Users:

Hi,
I'm attempting to install hosted engine but getting this failure:

[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
"The host has been set in non_operational status, deployment errors:
code 505: Host h1-mgmt.limetransit.com installation failed. Failed to
configure management network on the host.,    code 1120: Failed to
configure management network on host h1-mgmt.limetransit.com due to
setup networks failure., code 9000: Failed to verify Power Management
configuration for Host h1-mg

[ovirt-users] Re: Hosted engine install failure: ipv6.gateway: gateway cannot be set if there are no addresses configured

2020-09-03 Thread Dominik Holler
On Wed, Sep 2, 2020 at 10:38 PM Sverker Abrahamsson via Users <
users@ovirt.org> wrote:

> Well, unforturnatly I don't have a choise since it is out of my control.
> I only have one physical network port where the external traffic is
> untagged and the internal vlan is tagged. If I could run with OVN
>

OVN is for VM traffic only, not usable for the management network.


> instead I wouldn't need that tagged vlan, but I haven't been able to get
> that to work neither.
>
>
Please let us know if OVN does not work for VM traffic for you.


> It's perfectly possible to have both tagged and untagged traffic on the
> same switch port, issue is that vdsm tries to take control over the
> network without being able to be flexible enough.. I'm attempting now to
> have ovirtmgmt bridge created before, that used to be possible but
> according to previous mails on the list it went broken somewhere at 4.x.
>
> /Sverker
>
> Den 2020-09-02 kl. 21:39, skrev Strahil Nikolov:
> > Switchports can either be tagged or untagged.
> > I'm not sure that your setup is supported at all.
> >
> > Best Regards,
> > Strahil Nikolov
> >
> >
> >
> >
> >
> >
> > В сряда, 2 септември 2020 г., 20:41:57 Гринуич+3, Sverker Abrahamsson
> via Users  написа:
> >
> >
> >
> >
> >
> > Pretty formatting the "desired state" it seems that vdsm tries to remove
> > the ip of my underlying interface, that is enp4s0:
> >

> {
> >  'interfaces': [{
> >  'name': 'enp4s0',
> >  'state': 'up',
> >  'mtu': 1500
> >  }, {
> >  'vlan': {
> >  'id': 4000,
> >  'base-iface': 'enp4s0'
> >  },
> >  'name': 'enp4s0.4000',
> >  'type': 'vlan',
> >  'state': 'up',
> >  'mtu': 1500,
> >  'ipv4': {
> >  'enabled': False
> >  },
> >  'ipv6': {
> >  'enabled': False
> >  }
> >  }, {
> >  'name': 'ovirtmgmt',
> >  'type': 'linux-bridge',
> >  'state': 'up',
> >  'mtu': 1500,
> >  'bridge': {
> >  'port': [{
> >  'name': 'enp4s0.4000'
> >  }
> >  ],
> >  'options': {
> >  'stp': {
> >  'enabled': False
> >  }
> >  }
> >  },
> >  'ipv4': {
> >  'enabled': True,
> >  'address': [{
> >  'ip': '172.27.1.1',
> >  'prefix-length': 24
> >  }
> >  ],
> >  'dhcp': False
> >  },
> >  'ipv6': {
> >  'enabled': False
> >  }
> >  }
> >  ],
> >  'dns-resolver': {
> >  'config'
> >  : {
> >  'server': ['213.133.98.98']
> >  }
> >  }
> > }
> >
>

Thanks, this is helpful information.
Can you please share the getCapabilities result sent from vdsm to Engine
directly before the setupNetworks request,
and the parameters of the setupNetworks request from Engine to vdsm?
Both are in the vdsm.log during adding the host.


> >
> > This is my interfaces before vdsm attemtpts to change the config:
> >
> > enp4s0: flags=4163  mtu 1500
> >  inet 144.76.84.73  netmask 255.255.255.255  broadcast 0.0.0.0
> >  inet6 fe80::62a4:4cff:fee9:4ac  prefixlen 64  scopeid 0x20
> >  inet6 2a01:4f8:192:1148::2  prefixlen 64  scopeid 0x0
> >  ether 60:a4:4c:e9:04:ac  txqueuelen 1000  (Ethernet)
> >  RX packets 293442  bytes 385541799 (367.6 MiB)
> >  RX errors 0  dropped 0  overruns 0  frame 0
> >  TX packets 91095  bytes 31160348 (29.7 MiB)
> >  TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
> >  device interrupt 17  memory 0xf7d0-f7d2
> >
> > enp4s0.4000: flags=4163  mtu 1500
> >  inet 172.27.1.1  netmask 255.255.255.0  broadcast 172.27.1.255
> >  inet6 fe80::62a4:4cff:fee9:4ac  prefixlen 64  scopeid 0x20
> >  ether 60:a4:4c:e9:04:ac  txqueuelen 1000  (Ethernet)
> >  RX packets 0  bytes 0 (0.0 B)
> >  RX errors 0  dropped 0  overruns 0  frame 0
> >  TX packets 13  bytes 938 (938.0 B)
> >  TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
> >
> > I.e. enp4s0 is the external interface that must not be changed, bridge
> > must be created on the vlan interface. I would prefer to create the
> > bridge manually and not through vdsm if that is possible.
> >
> > /Sverker
> >
> > Den 2020-09-02 kl. 19:14, skrev Sverker Abrahamsson via Users:
> >> Hi,
> >> I'm attempting to install hosted engine but getting this failure:
> >>
> >> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
> >> "The host has been set in non_operational status, de

[ovirt-users] Re: Hosted engine install failure: ipv6.gateway: gateway cannot be set if there are no addresses configured

2020-09-02 Thread Strahil Nikolov via Users
What is you switch brand & model ?
Maybe someone more experienced in networking can help.


Best Regards,
Strahil Nikolov






В сряда, 2 септември 2020 г., 23:39:57 Гринуич+3, Sverker Abrahamsson via Users 
 написа: 





Well, unforturnatly I don't have a choise since it is out of my control. 
I only have one physical network port where the external traffic is 
untagged and the internal vlan is tagged. If I could run with OVN 
instead I wouldn't need that tagged vlan, but I haven't been able to get 
that to work neither.

It's perfectly possible to have both tagged and untagged traffic on the 
same switch port, issue is that vdsm tries to take control over the 
network without being able to be flexible enough.. I'm attempting now to 
have ovirtmgmt bridge created before, that used to be possible but 
according to previous mails on the list it went broken somewhere at 4.x.

/Sverker

Den 2020-09-02 kl. 21:39, skrev Strahil Nikolov:
> Switchports can either be tagged or untagged.
> I'm not sure that your setup is supported at all.
>
> Best Regards,
> Strahil Nikolov
>
>
>
>
>
>
> В сряда, 2 септември 2020 г., 20:41:57 Гринуич+3, Sverker Abrahamsson via 
> Users  написа:
>
>
>
>
>
> Pretty formatting the "desired state" it seems that vdsm tries to remove
> the ip of my underlying interface, that is enp4s0:
>
> {
>      'interfaces': [{
>              'name': 'enp4s0',
>              'state': 'up',
>              'mtu': 1500
>          }, {
>              'vlan': {
>                  'id': 4000,
>                  'base-iface': 'enp4s0'
>              },
>              'name': 'enp4s0.4000',
>              'type': 'vlan',
>              'state': 'up',
>              'mtu': 1500,
>              'ipv4': {
>                  'enabled': False
>              },
>              'ipv6': {
>                  'enabled': False
>              }
>          }, {
>              'name': 'ovirtmgmt',
>              'type': 'linux-bridge',
>              'state': 'up',
>              'mtu': 1500,
>              'bridge': {
>                  'port': [{
>                          'name': 'enp4s0.4000'
>                      }
>                  ],
>                  'options': {
>                      'stp': {
>                          'enabled': False
>                      }
>                  }
>              },
>              'ipv4': {
>                  'enabled': True,
>                  'address': [{
>                          'ip': '172.27.1.1',
>                          'prefix-length': 24
>                      }
>                  ],
>                  'dhcp': False
>              },
>              'ipv6': {
>                  'enabled': False
>              }
>          }
>      ],
>      'dns-resolver': {
>          'config'
>          : {
>              'server': ['213.133.98.98']
>          }
>      }
> }
>
>
> This is my interfaces before vdsm attemtpts to change the config:
>
> enp4s0: flags=4163  mtu 1500
>      inet 144.76.84.73  netmask 255.255.255.255  broadcast 0.0.0.0
>      inet6 fe80::62a4:4cff:fee9:4ac  prefixlen 64  scopeid 0x20
>      inet6 2a01:4f8:192:1148::2  prefixlen 64  scopeid 0x0
>      ether 60:a4:4c:e9:04:ac  txqueuelen 1000  (Ethernet)
>      RX packets 293442  bytes 385541799 (367.6 MiB)
>      RX errors 0  dropped 0  overruns 0  frame 0
>      TX packets 91095  bytes 31160348 (29.7 MiB)
>      TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>      device interrupt 17  memory 0xf7d0-f7d2
>
> enp4s0.4000: flags=4163  mtu 1500
>      inet 172.27.1.1  netmask 255.255.255.0  broadcast 172.27.1.255
>      inet6 fe80::62a4:4cff:fee9:4ac  prefixlen 64  scopeid 0x20
>      ether 60:a4:4c:e9:04:ac  txqueuelen 1000  (Ethernet)
>      RX packets 0  bytes 0 (0.0 B)
>      RX errors 0  dropped 0  overruns 0  frame 0
>      TX packets 13  bytes 938 (938.0 B)
>      TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>
> I.e. enp4s0 is the external interface that must not be changed, bridge
> must be created on the vlan interface. I would prefer to create the
> bridge manually and not through vdsm if that is possible.
>
> /Sverker
>
> Den 2020-09-02 kl. 19:14, skrev Sverker Abrahamsson via Users:
>> Hi,
>> I'm attempting to install hosted engine but getting this failure:
>>
>> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
>> "The host has been set in non_operational status, deployment errors:
>> code 505: Host h1-mgmt.limetransit.com installation failed. Failed to
>> configure management network on the host.,    code 1120: Failed to
>> configure management network on host h1-mgmt.limetransit.com due to
>> setup networks failure., code 9000: Failed to verify Power Management
>> configuration for Host h1-mgmt.limetransit.com.,    code 10802: VDSM
>> h1-mgmt.limetransit.com command HostSetupNetworksVDS failed: Internal
>> JSON-RPC error: {'reason': 'Unexpected failure of libnm when running
>> 

[ovirt-users] Re: Hosted engine install failure: ipv6.gateway: gateway cannot be set if there are no addresses configured

2020-09-02 Thread Sverker Abrahamsson via Users
Well, unforturnatly I don't have a choise since it is out of my control. 
I only have one physical network port where the external traffic is 
untagged and the internal vlan is tagged. If I could run with OVN 
instead I wouldn't need that tagged vlan, but I haven't been able to get 
that to work neither.


It's perfectly possible to have both tagged and untagged traffic on the 
same switch port, issue is that vdsm tries to take control over the 
network without being able to be flexible enough.. I'm attempting now to 
have ovirtmgmt bridge created before, that used to be possible but 
according to previous mails on the list it went broken somewhere at 4.x.


/Sverker

Den 2020-09-02 kl. 21:39, skrev Strahil Nikolov:

Switchports can either be tagged or untagged.
I'm not sure that your setup is supported at all.

Best Regards,
Strahil Nikolov






В сряда, 2 септември 2020 г., 20:41:57 Гринуич+3, Sverker Abrahamsson via Users 
 написа:





Pretty formatting the "desired state" it seems that vdsm tries to remove
the ip of my underlying interface, that is enp4s0:

{
     'interfaces': [{
             'name': 'enp4s0',
             'state': 'up',
             'mtu': 1500
         }, {
             'vlan': {
                 'id': 4000,
                 'base-iface': 'enp4s0'
             },
             'name': 'enp4s0.4000',
             'type': 'vlan',
             'state': 'up',
             'mtu': 1500,
             'ipv4': {
                 'enabled': False
             },
             'ipv6': {
                 'enabled': False
             }
         }, {
             'name': 'ovirtmgmt',
             'type': 'linux-bridge',
             'state': 'up',
             'mtu': 1500,
             'bridge': {
                 'port': [{
                         'name': 'enp4s0.4000'
                     }
                 ],
                 'options': {
                     'stp': {
                         'enabled': False
                     }
                 }
             },
             'ipv4': {
                 'enabled': True,
                 'address': [{
                         'ip': '172.27.1.1',
                         'prefix-length': 24
                     }
                 ],
                 'dhcp': False
             },
             'ipv6': {
                 'enabled': False
             }
         }
     ],
     'dns-resolver': {
         'config'
         : {
             'server': ['213.133.98.98']
         }
     }
}


This is my interfaces before vdsm attemtpts to change the config:

enp4s0: flags=4163  mtu 1500
     inet 144.76.84.73  netmask 255.255.255.255  broadcast 0.0.0.0
     inet6 fe80::62a4:4cff:fee9:4ac  prefixlen 64  scopeid 0x20
     inet6 2a01:4f8:192:1148::2  prefixlen 64  scopeid 0x0
     ether 60:a4:4c:e9:04:ac  txqueuelen 1000  (Ethernet)
     RX packets 293442  bytes 385541799 (367.6 MiB)
     RX errors 0  dropped 0  overruns 0  frame 0
     TX packets 91095  bytes 31160348 (29.7 MiB)
     TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
     device interrupt 17  memory 0xf7d0-f7d2

enp4s0.4000: flags=4163  mtu 1500
     inet 172.27.1.1  netmask 255.255.255.0  broadcast 172.27.1.255
     inet6 fe80::62a4:4cff:fee9:4ac  prefixlen 64  scopeid 0x20
     ether 60:a4:4c:e9:04:ac  txqueuelen 1000  (Ethernet)
     RX packets 0  bytes 0 (0.0 B)
     RX errors 0  dropped 0  overruns 0  frame 0
     TX packets 13  bytes 938 (938.0 B)
     TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

I.e. enp4s0 is the external interface that must not be changed, bridge
must be created on the vlan interface. I would prefer to create the
bridge manually and not through vdsm if that is possible.

/Sverker

Den 2020-09-02 kl. 19:14, skrev Sverker Abrahamsson via Users:

Hi,
I'm attempting to install hosted engine but getting this failure:

[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
"The host has been set in non_operational status, deployment errors:
code 505: Host h1-mgmt.limetransit.com installation failed. Failed to
configure management network on the host.,    code 1120: Failed to
configure management network on host h1-mgmt.limetransit.com due to
setup networks failure., code 9000: Failed to verify Power Management
configuration for Host h1-mgmt.limetransit.com.,    code 10802: VDSM
h1-mgmt.limetransit.com command HostSetupNetworksVDS failed: Internal
JSON-RPC error: {'reason': 'Unexpected failure of libnm when running
the mainloop: run execution'},   fix accordingly and re-deploy."}

Looking in vdsm.log I find this which I believe is the root cause:

MainProcess|jsonrpc/0::DEBUG::2020-09-02
16:38:25,897::supervdsm_server::93::SuperVdsm.ServerCallback::(wrapper)
call setupNetworks with ({'ovirtmgmt': {'vlan': '4000', 'netmask':
'255.255.255.0', 'ipv6autoconf': False,
'nic': 'enp4s0', 'bridged': 'true', 'ipaddr': '172.27.1.1',
'defaultRoute': True, 'dhcpv6': False, 'S

[ovirt-users] Re: Hosted engine install failure: ipv6.gateway: gateway cannot be set if there are no addresses configured

2020-09-02 Thread Strahil Nikolov via Users
Switchports can either be tagged or untagged.
I'm not sure that your setup is supported at all.

Best Regards,
Strahil Nikolov






В сряда, 2 септември 2020 г., 20:41:57 Гринуич+3, Sverker Abrahamsson via Users 
 написа: 





Pretty formatting the "desired state" it seems that vdsm tries to remove 
the ip of my underlying interface, that is enp4s0:

{
    'interfaces': [{
            'name': 'enp4s0',
            'state': 'up',
            'mtu': 1500
        }, {
            'vlan': {
                'id': 4000,
                'base-iface': 'enp4s0'
            },
            'name': 'enp4s0.4000',
            'type': 'vlan',
            'state': 'up',
            'mtu': 1500,
            'ipv4': {
                'enabled': False
            },
            'ipv6': {
                'enabled': False
            }
        }, {
            'name': 'ovirtmgmt',
            'type': 'linux-bridge',
            'state': 'up',
            'mtu': 1500,
            'bridge': {
                'port': [{
                        'name': 'enp4s0.4000'
                    }
                ],
                'options': {
                    'stp': {
                        'enabled': False
                    }
                }
            },
            'ipv4': {
                'enabled': True,
                'address': [{
                        'ip': '172.27.1.1',
                        'prefix-length': 24
                    }
                ],
                'dhcp': False
            },
            'ipv6': {
                'enabled': False
            }
        }
    ],
    'dns-resolver': {
        'config'
        : {
            'server': ['213.133.98.98']
        }
    }
}


This is my interfaces before vdsm attemtpts to change the config:

enp4s0: flags=4163  mtu 1500
    inet 144.76.84.73  netmask 255.255.255.255  broadcast 0.0.0.0
    inet6 fe80::62a4:4cff:fee9:4ac  prefixlen 64  scopeid 0x20
    inet6 2a01:4f8:192:1148::2  prefixlen 64  scopeid 0x0
    ether 60:a4:4c:e9:04:ac  txqueuelen 1000  (Ethernet)
    RX packets 293442  bytes 385541799 (367.6 MiB)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 91095  bytes 31160348 (29.7 MiB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    device interrupt 17  memory 0xf7d0-f7d2

enp4s0.4000: flags=4163  mtu 1500
    inet 172.27.1.1  netmask 255.255.255.0  broadcast 172.27.1.255
    inet6 fe80::62a4:4cff:fee9:4ac  prefixlen 64  scopeid 0x20
    ether 60:a4:4c:e9:04:ac  txqueuelen 1000  (Ethernet)
    RX packets 0  bytes 0 (0.0 B)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 13  bytes 938 (938.0 B)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

I.e. enp4s0 is the external interface that must not be changed, bridge 
must be created on the vlan interface. I would prefer to create the 
bridge manually and not through vdsm if that is possible.

/Sverker

Den 2020-09-02 kl. 19:14, skrev Sverker Abrahamsson via Users:
> Hi,
> I'm attempting to install hosted engine but getting this failure:
>
> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": 
> "The host has been set in non_operational status, deployment errors:   
> code 505: Host h1-mgmt.limetransit.com installation failed. Failed to 
> configure management network on the host.,    code 1120: Failed to 
> configure management network on host h1-mgmt.limetransit.com due to 
> setup networks failure., code 9000: Failed to verify Power Management 
> configuration for Host h1-mgmt.limetransit.com.,    code 10802: VDSM 
> h1-mgmt.limetransit.com command HostSetupNetworksVDS failed: Internal 
> JSON-RPC error: {'reason': 'Unexpected failure of libnm when running 
> the mainloop: run execution'},   fix accordingly and re-deploy."}
>
> Looking in vdsm.log I find this which I believe is the root cause:
>
> MainProcess|jsonrpc/0::DEBUG::2020-09-02 
> 16:38:25,897::supervdsm_server::93::SuperVdsm.ServerCallback::(wrapper) 
> call setupNetworks with ({'ovirtmgmt': {'vlan': '4000', 'netmask': 
> '255.255.255.0', 'ipv6autoconf': False,
> 'nic': 'enp4s0', 'bridged': 'true', 'ipaddr': '172.27.1.1', 
> 'defaultRoute': True, 'dhcpv6': False, 'STP': 'no', 'mtu': 1500, 
> 'switch': 'legacy'}}, {}, {'connectivityTimeout': 120, 
> 'commitOnSuccess': True, 'connectivityCh
> eck': 'true'}) {}
> MainProcess|jsonrpc/0::INFO::2020-09-02 
> 16:38:25,897::api::220::root::(setupNetworks) Setting up network 
> according to configuration: networks:{'ovirtmgmt': {'vlan': '4000', 
> 'netmask': '255.255.255.0', 'ipv6autoconf': Fal
> se, 'nic': 'enp4s0', 'bridged': 'true', 'ipaddr': '172.27.1.1', 
> 'defaultRoute': True, 'dhcpv6': False, 'STP': 'no', 'mtu': 1500, 
> 'switch': 'legacy'}}, bondings:{}, options:{'connectivityTimeout': 
> 120, 'commitOnSuccess':
> True, 'connectivityCheck': 'true'}
> MainProcess|jsonrpc/0::DEBUG::2020-09-02 
> 16:38:25,902::cmdutils::130::root::(exec_cmd) /

[ovirt-users] Re: Hosted engine install failure: ipv6.gateway: gateway cannot be set if there are no addresses configured

2020-09-02 Thread Sverker Abrahamsson via Users
Pretty formatting the "desired state" it seems that vdsm tries to remove 
the ip of my underlying interface, that is enp4s0:


{
    'interfaces': [{
            'name': 'enp4s0',
            'state': 'up',
            'mtu': 1500
        }, {
            'vlan': {
                'id': 4000,
                'base-iface': 'enp4s0'
            },
            'name': 'enp4s0.4000',
            'type': 'vlan',
            'state': 'up',
            'mtu': 1500,
            'ipv4': {
                'enabled': False
            },
            'ipv6': {
                'enabled': False
            }
        }, {
            'name': 'ovirtmgmt',
            'type': 'linux-bridge',
            'state': 'up',
            'mtu': 1500,
            'bridge': {
                'port': [{
                        'name': 'enp4s0.4000'
                    }
                ],
                'options': {
                    'stp': {
                        'enabled': False
                    }
                }
            },
            'ipv4': {
                'enabled': True,
                'address': [{
                        'ip': '172.27.1.1',
                        'prefix-length': 24
                    }
                ],
                'dhcp': False
            },
            'ipv6': {
                'enabled': False
            }
        }
    ],
    'dns-resolver': {
        'config'
        : {
            'server': ['213.133.98.98']
        }
    }
}


This is my interfaces before vdsm attemtpts to change the config:

enp4s0: flags=4163  mtu 1500
    inet 144.76.84.73  netmask 255.255.255.255  broadcast 0.0.0.0
    inet6 fe80::62a4:4cff:fee9:4ac  prefixlen 64  scopeid 0x20
    inet6 2a01:4f8:192:1148::2  prefixlen 64  scopeid 0x0
    ether 60:a4:4c:e9:04:ac  txqueuelen 1000  (Ethernet)
    RX packets 293442  bytes 385541799 (367.6 MiB)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 91095  bytes 31160348 (29.7 MiB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    device interrupt 17  memory 0xf7d0-f7d2

enp4s0.4000: flags=4163  mtu 1500
    inet 172.27.1.1  netmask 255.255.255.0  broadcast 172.27.1.255
    inet6 fe80::62a4:4cff:fee9:4ac  prefixlen 64  scopeid 0x20
    ether 60:a4:4c:e9:04:ac  txqueuelen 1000  (Ethernet)
    RX packets 0  bytes 0 (0.0 B)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 13  bytes 938 (938.0 B)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

I.e. enp4s0 is the external interface that must not be changed, bridge 
must be created on the vlan interface. I would prefer to create the 
bridge manually and not through vdsm if that is possible.


/Sverker

Den 2020-09-02 kl. 19:14, skrev Sverker Abrahamsson via Users:

Hi,
I'm attempting to install hosted engine but getting this failure:

[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": 
"The host has been set in non_operational status, deployment errors:   
code 505: Host h1-mgmt.limetransit.com installation failed. Failed to 
configure management network on the host.,    code 1120: Failed to 
configure management network on host h1-mgmt.limetransit.com due to 
setup networks failure., code 9000: Failed to verify Power Management 
configuration for Host h1-mgmt.limetransit.com.,    code 10802: VDSM 
h1-mgmt.limetransit.com command HostSetupNetworksVDS failed: Internal 
JSON-RPC error: {'reason': 'Unexpected failure of libnm when running 
the mainloop: run execution'},   fix accordingly and re-deploy."}


Looking in vdsm.log I find this which I believe is the root cause:

MainProcess|jsonrpc/0::DEBUG::2020-09-02 
16:38:25,897::supervdsm_server::93::SuperVdsm.ServerCallback::(wrapper) 
call setupNetworks with ({'ovirtmgmt': {'vlan': '4000', 'netmask': 
'255.255.255.0', 'ipv6autoconf': False,
'nic': 'enp4s0', 'bridged': 'true', 'ipaddr': '172.27.1.1', 
'defaultRoute': True, 'dhcpv6': False, 'STP': 'no', 'mtu': 1500, 
'switch': 'legacy'}}, {}, {'connectivityTimeout': 120, 
'commitOnSuccess': True, 'connectivityCh

eck': 'true'}) {}
MainProcess|jsonrpc/0::INFO::2020-09-02 
16:38:25,897::api::220::root::(setupNetworks) Setting up network 
according to configuration: networks:{'ovirtmgmt': {'vlan': '4000', 
'netmask': '255.255.255.0', 'ipv6autoconf': Fal
se, 'nic': 'enp4s0', 'bridged': 'true', 'ipaddr': '172.27.1.1', 
'defaultRoute': True, 'dhcpv6': False, 'STP': 'no', 'mtu': 1500, 
'switch': 'legacy'}}, bondings:{}, options:{'connectivityTimeout': 
120, 'commitOnSuccess':

True, 'connectivityCheck': 'true'}
MainProcess|jsonrpc/0::DEBUG::2020-09-02 
16:38:25,902::cmdutils::130::root::(exec_cmd) /sbin/tc qdisc show (cwd 
None)
MainProcess|jsonrpc/0::DEBUG::2020-09-02 
16:38:25,906::cmdutils::138::root::(exec_cmd) SUCCESS:  = b''; 
 = 0
MainProcess|jsonrpc/0::DEBUG::2020-09-02 
16:38:25,945::vsctl::74::root::(commit) Executing commands: 
/usr/bin/ovs-vsctl --timeout=5 --oneline --form