← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1585193] Re: walinuxagent not found on Centos when cloud-init is started

 

Marking invalid per comment above.

** Changed in: cloud-init
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1585193

Title:
  walinuxagent not found on Centos when cloud-init is started

Status in cloud-init:
  Invalid

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/python2.7/site-packages/cloudinit/sources/DataSourceAzure.py", line 166, in get_data
  May 24 14:22:50 test cloud-init: invoke_agent(mycfg['agent_command'])
  May 24 14:22:50 test cloud-init: File "/usr/lib/python2.7/site-packages/cloudinit/sources/DataSourceAzure.py", line 400, in invoke_agent
  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/python2.7/site-packages/cloudinit/util.py", line 1539, in subp
  May 24 14:22:51 test cloud-init: cmd=args)
  May 24 14:22:51 test cloud-init: ProcessExecutionError: Unexpected error while running command.
  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.service\nFailed to start walinuxagent.service: Unit walinuxagent.service failed to load: No such file or directory.\n'

  Thanks.

  Best,
  Antoine Rouaze

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1585193/+subscriptions


References