walinuxagent not found on Centos when cloud-init is started
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hello,
I'm trying to use cloud-init on Centos and Azure, but the the Azure agent has a different name (waagent instead of walinuxagent) from Ubuntu and it is hardcoded in the source code. Do you plan to make a condition for RHEL distro ?
Here is the python stack :
May 24 14:22:50 test cloud-init: 2016-05-24 14:22:50,899 - util.py[DEBUG]: agent command '['service', 'walinuxagent', 'start']' failed.
May 24 14:22:50 test cloud-init: Traceback (most recent call last):
May 24 14:22:50 test cloud-init: File "/usr/lib/
May 24 14:22:50 test cloud-init: invoke_
May 24 14:22:50 test cloud-init: File "/usr/lib/
May 24 14:22:50 test cloud-init: util.subp(cmd, shell=(not isinstance(cmd, list)))
May 24 14:22:51 test cloud-init: File "/usr/lib/
May 24 14:22:51 test cloud-init: cmd=args)
May 24 14:22:51 test cloud-init: ProcessExecutio
May 24 14:22:51 test cloud-init: Command: ['service', 'walinuxagent', 'start']
May 24 14:22:51 test cloud-init: Exit code: 6
May 24 14:22:51 test cloud-init: Reason: -
May 24 14:22:51 test cloud-init: Stdout: ''
May 24 14:22:51 test cloud-init: Stderr: 'Redirecting to /bin/systemctl start walinuxagent.
Thanks.
Best,
Antoine Rouaze
Sorry, I didn't notice that it can be override. I close the issue.