Comments (1)
Hi,
I executed the MS instructions.
- I installed python2,
- added 1270 Port to omiserver.conf
- used OMS extension and DSC installation
- registered VM
But I can't enable patching for this Virtual Machine in Update Management. I got error:
Hybrid runbook worker is not running. Update deployment is disabled in current_mof file: (/etc/opt/omi/conf/omsconfig/configuration/Current.mof).
I used this articles and tools:
Python2 installation: https://docs.microsoft.com/en-us/azure/azure-monitor/agents/agent-linux#python-requirement
Linux agent configuration: https://docs.microsoft.com/en-us/azure/azure-monitor/agents/agent-manage#linux-agent-3
OMS extension: https://docs.microsoft.com/en-gb/azure/virtual-machines/extensions/oms-linux?toc=/azure/azure-monitor/toc.json
DSC: yum install -y -q wget https://github.com/microsoft/PowerShell-DSC-for-Linux/releases/download/v1.2.1-0/dsc-1.2.1-0.ssl_110.x64.rpm || exit 1
For /var/opt/microsoft/omsconfig/omsconfig.log I'm getting many errors like:
2021/09/29 17:51:50: ERROR: null(0): EventId=1 Priority=ERROR Job 36EEE86D-5FBC-47C9-9419-0B9E709A3844 :
DSC Engine Error :
Error Message FindFirstFile Failed.
Error Code : 1
2021/09/29 17:53:44: ERROR: null(0): EventId=1 Priority=ERROR Job 36EEE86D-5FBC-47C9-9419-0B9E709A3844 :
DSC Engine Error :
Error Message FindFirstFile Failed.
Error Code : 1
2021/09/29 17:54:15: ERROR: null(0): EventId=1 Priority=ERROR Job 36EEE86D-5FBC-47C9-9419-0B9E709A3844 :
DSC Engine Error :
Error Message FindFirstFile Failed.
Error Code : 1
I found in logs "OMSAgent is multi-homed and resource is updating workspace .." for RHEL8.2 and RHEL7.8.
According MS documentation https://docs.microsoft.com/en-us/azure/automation/troubleshoot/update-agent-issues-linux#multihoming :
"Update Management doesn't support multihoming."
I see here that this variable uses existing workspace, that's why it causes multihoming..
It's strange because RHEL7.8 has the same information but we can enable Update Management.
from powershell-dsc-for-linux.
Related Issues (20)
- No Restriction to Root Group
- Module signature validation is enabled by default
- Clarify core C library version requirements.
- selinux prevents logroate on omsconfig logs
- prefer python3 over python2 HOT 4
- I can't generate a .mof file with DSC using Rocky8.4 HOT 1
- DSC Engine Error for RHEL8.2
- Question : Using nxService resource we can reload systemd services ?
- DSC Extension for linux. Error in the dsc.py
- nxFile doesn't create file if it's deleted HOT 1
- Getting error Could not find the type of DSC resource class MSFT_nxPackageResource. HOT 1
- DSC limited to 23KB even w/ partial conf
- dsc v1.2.4 does not run to completion when a SetScript (from nxScript) returns non-zero exit code
- Received "Two successive configuration applications from OMS Settings failed" error on linux server with OMS agent
- periodic dsc_host segfault HOT 1
- Support for Oracle Linux 8
- Kali command lines
- Git-DsCResource not working after updating pwsh to 7.4 HOT 1
- Linux NX module DSC issue HOT 1
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 powershell-dsc-for-linux.