I had to replace the DNS server in my network so I want to update the DNS 
address on each host so in oVirt web interface I go to Compute > Host > 
Hostname > Network Interfaces > Setup Host Networks

Right there I click on the edit button of the vlan for networking, check out 
(host ip address is static), DNS configuration, check DNS configuration, Type 
DNS ip address and click ok to save change. I got message: Error while 
executing action HostSetupNetworks: Unexpected Exception.

Into engile.log found message "Operation not permitted" related to this action 
despite that was executed with my user account (wint admin privileges) and same 
message was returned using admin@internal user.
2021-01-20 11:35:31,579-05 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand] 
(default task-482931) [b9a19834-3f15-42da-af2c-55e292dfedea] START, 
HostSetupNetworksVDSCommand(HostName = hyp10.eboss, 
HostSetupNetworksVdsCommandParameters:{hostId='39c05625-7b59-4a38-a5a9-5d556ae1fe18',
 vds='Host[hyp10.eboss,39c05625-7b59-4a38-a5a9-5d556ae1fe18]', 
rollbackOnFailure='true', commitOnSuccess='true', connectivityTimeout='120', 
networks='[HostNetwork:{defaultRoute='true', bonding='false', 
networkName='tgcs182vlan', vdsmName='tgcs182vlan', nicName='eno1', vlan='null', 
vmNetwork='true', stp='false', properties='[]', ipv4BootProtocol='STATIC_IP', 
ipv4Address='10.89.182.10', ipv4Netmask='255.255.255.0', 
ipv4Gateway='10.89.182.1', ipv6BootProtocol='AUTOCONF', ipv6Address='null', 
ipv6Prefix='null', ipv6Gateway='null', 
nameServers='[NameServer:{address='10.89.182.204'}, 
NameServer:{address='10.89.176.71'}]'}]', removedNetworks='[]', bonds='[]', 
removedBonds='[]', clusterSw
 itchType='OVS', managementNetworkChanged='false'}), log id: 23059843
2021-01-20 11:35:31,582-05 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand] 
(default task-482931) [b9a19834-3f15-42da-af2c-55e292dfedea] FINISH, 
HostSetupNetworksVDSCommand, return: , log id: 23059843
2021-01-20 11:35:35,665-05 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand] 
(default task-482931) [b9a19834-3f15-42da-af2c-55e292dfedea] Unexpected return 
value: Status [code=-32603, message=Internal JSON-RPC error: {'reason': '[Errno 
1] Operation not permitted'}]
2021-01-20 11:35:35,665-05 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand] 
(default task-482931) [b9a19834-3f15-42da-af2c-55e292dfedea] Failed in 
'HostSetupNetworksVDS' method
2021-01-20 11:35:35,666-05 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand] 
(default task-482931) [b9a19834-3f15-42da-af2c-55e292dfedea] Unexpected return 
value: Status [code=-32603, message=Internal JSON-RPC error: {'reason': '[Errno 
1] Operation not permitted'}]
2021-01-20 11:35:35,673-05 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default 
task-482931) [b9a19834-3f15-42da-af2c-55e292dfedea] EVENT_ID: 
VDS_BROKER_COMMAND_FAILURE(10,802), VDSM hyp10.eboss command 
HostSetupNetworksVDS failed: Internal JSON-RPC error: {'reason': '[Errno 1] 
Operation not permitted'}
2021-01-20 11:35:35,673-05 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand] 
(default task-482931) [b9a19834-3f15-42da-af2c-55e292dfedea] Error: 
VDSGenericException: VDSErrorException: Failed to HostSetupNetworksVDS, error = 
Internal JSON-RPC error: {'reason': '[Errno 1] Operation not permitted'}, code 
= -32603
2021-01-20 11:35:35,673-05 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand] 
(default task-482931) [b9a19834-3f15-42da-af2c-55e292dfedea] Command 
'HostSetupNetworksVDSCommand(HostName = hyp10.eboss, 
HostSetupNetworksVdsCommandParameters:{hostId='39c05625-7b59-4a38-a5a9-5d556ae1fe18',
 vds='Host[hyp10.eboss,39c05625-7b59-4a38-a5a9-5d556ae1fe18]', 
rollbackOnFailure='true', commitOnSuccess='true', connectivityTimeout='120', 
networks='[HostNetwork:{defaultRoute='true', bonding='false', 
networkName='tgcs182vlan', vdsmName='tgcs182vlan', nicName='eno1', vlan='null', 
vmNetwork='true', stp='false', properties='[]', ipv4BootProtocol='STATIC_IP', 
ipv4Address='10.89.182.10', ipv4Netmask='255.255.255.0', 
ipv4Gateway='10.89.182.1', ipv6BootProtocol='AUTOCONF', ipv6Address='null', 
ipv6Prefix='null', ipv6Gateway='null', 
nameServers='[NameServer:{address='10.89.182.204'}, 
NameServer:{address='10.89.176.71'}]'}]', removedNetworks='[]', bonds='[]', 
removedBonds='[]', cluster
 SwitchType='OVS', managementNetworkChanged='false'})' execution failed: 
VDSGenericException: VDSErrorException: Failed to HostSetupNetworksVDS, error = 
Internal JSON-RPC error: {'reason': '[Errno 1] Operation not permitted'}, code 
= -32603
2021-01-20 11:35:35,673-05 INFO  
[org.ovirt.engine.core.bll.network.host.HostSetupNetworksCommand] (default 
task-482931) [b9a19834-3f15-42da-af2c-55e292dfedea] Host setup networks 
finished. Lock released. Monitoring can run now for host 'hyp10.eboss' from 
data-center 'tgcs-gdl-dc1-public'
2021-01-20 11:35:35,673-05 ERROR 
[org.ovirt.engine.core.bll.network.host.HostSetupNetworksCommand] (default 
task-482931) [b9a19834-3f15-42da-af2c-55e292dfedea] Command 
'org.ovirt.engine.core.bll.network.host.HostSetupNetworksCommand' failed: 
EngineException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: 
VDSGenericException: VDSErrorException: Failed to HostSetupNetworksVDS, error = 
Internal JSON-RPC error: {'reason': '[Errno 1] Operation not permitted'}, code 
= -32603 (Failed with error unexpected and code 16)
2021-01-20 11:35:35,677-05 INFO  
[org.ovirt.engine.core.bll.network.host.HostSetupNetworksCommand] (default 
task-482931) [b9a19834-3f15-42da-af2c-55e292dfedea] Lock freed to object 
'EngineLock:{exclusiveLocks='[HOST_NETWORK39c05625-7b59-4a38-a5a9-5d556ae1fe18=HOST_NETWORK]',
 sharedLocks=''}'

This error message happens even in master as in nodes hosts.
Any idea how can I solve it?

Thanks in advance
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/2RMVHIMBJ64LZILD4HDEP4WVAWTCMEHZ/

Reply via email to