Comments (12)
Looks like this is a known bug: nmcli commands fail with: Error: Failed to modify connection: No such method 'Update2' .
Unfortunately, the solution is only available to Red Hat subscribers.
from ansible-ocm12c.
However, the latest version (2.5) of the NMCLI Module Examples lists the following modules to be installed:
- name: install needed network manager libs
yum:
name: '{{ item }}'
state: installed
with_items:
- NetworkManager-glib
- libnm-qt-devel.x86_64
- nm-connection-editor.x86_64
- libsemanage-python
- policycoreutils-python
The last four (4) listed are all new.
from ansible-ocm12c.
Except this fails with:
TASK [oracle_gi : install needed network manager libs] *************************
failed: [redfern1.yaocm.id.au] (item=[u'NetworkManager-glib', u'libnm-qt-devel.x86_64', u'nm-connection-editor.x86_64', u'libsemanage-python', u'policycoreutils-python']) => {"changed": false, "item": ["NetworkManager-glib", "libnm-qt-devel.x86_64", "nm-connection-editor.x86_64", "libsemanage-python", "policycoreutils-python"], "msg": "No package matching 'libnm-qt-devel.x86_64' found available, installed or updated", "rc": 126, "results": ["No package matching 'libnm-qt-devel.x86_64' found available, installed or updated"]}
from ansible-ocm12c.
Confirmed this by running as root
on REDFERN1
:
yum install libnm-qt-devel.x86_64
Loaded plugins: ulninfo
No package libnm-qt-devel.x86_64 available.
from ansible-ocm12c.
RPM resource libnm-qt-devel(x86-64) shows 10 RPM -- all for Fedora.
from ansible-ocm12c.
Removed RPM for list. All other RPMs were installed OK.
Still failed with same error:
TASK [oracle_gi : install needed network manager libs] *************************
changed: [redfern1.yaocm.id.au] => (item=[u'NetworkManager-glib', u'nm-connection-editor.x86_64', u'libsemanage-python', u'policycoreutils-python'])
TASK [oracle_gi : Configure Public LAN Interface] ******************************
fatal: [redfern1.yaocm.id.au]: FAILED! => {"changed": false, "msg": "Error: Failed to modify connection 'eth0': No such method 'Update2'\n", "name": "eth0", "rc": 1}
from ansible-ocm12c.
Commit 5b240d2 has latest version of networks.yml
, but is not imported.
from ansible-ocm12c.
restart NetworkManager
from ansible-ocm12c.
Still the same error:
TASK [oracle_gi : Configure Public LAN Interface] **********************************************************************************************************************************************************
fatal: [redfern1.yaocm.id.au]: FAILED! => {"changed": false, "msg": "Error: Failed to modify connection 'eth0': No such method 'Update2'\n", "name": "eth0", "rc": 1}
from ansible-ocm12c.
Hmm. I had the same issue after updating to 7u5. The fix was to restart networkmanager service. Maybe you should update the packages again, then try.
from ansible-ocm12c.
Recoded networks.yml
to use the nmcli
command instead of the nmcli
module.
Resolved through commit 460c6d9 .
from ansible-ocm12c.
Have create issue #63 to undo this workaround. Testing indicates that this issue no longer exists in Ansible 2.9.2.
from ansible-ocm12c.
Related Issues (20)
- AUBURN: Intermittent SUDO failures on CLIFTON HOT 1
- CLIFTON: Missing variable, 'oracle_client' HOT 1
- CLIFTON: Run configToolAllCommands fails with "[Errno 8] Exec format error" HOT 3
- BOTANY: No space on device for physical standby build HOT 2
- CLIFTON: No need to check for database settings on client HOT 1
- PADSTOW: Unknown SYSCTL keys when setting number of Huge Pages HOT 2
- PADSTOW: Script module returns "IndexError: list index out of range" HOT 2
- PADSTOW: Excessive swapping seen during database creation HOT 7
- PADSTOW: Warnings from setting hugepages HOT 3
- PADSTOW: ORA-4031 Errors During Database Creation HOT 1
- Install TFA as part of Oracle Stand Alone and Clusters HOT 2
- PADSTOW: Errors during Database Creation HOT 2
- PADSTOW: Database Instance is Shut Down after DB Creation HOT 1
- CLIFTON: Oracle user missing
- PADSTOW: Insufficient space for backup of primary database HOT 1
- BOTANY: Creation of Standby Failed HOT 2
- BOTANY: Standby database is not being rebuilt after being dropped. HOT 1
- BOTANY: No Standby Redo Logs Found
- Update README files
- BOTANY: Misleading Step Name
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-ocm12c.