Package: waagent
Version: 2.2.2-2~bpo8+1
Severity: important

Dear Maintainer,

I have installed VM of Debian 8 in Microsoft Azure. On clean system service 
walinuxagent works well.
But after I applied some customization needed for me (install packages, 
customize sshd service, enabling LDAP authentication and so on) walinuxagent is 
dead and I could not start it.
I put some additional information (version of agent, service status and last 
loglines befor dead of service).

2017/06/27 07:03:52 - is time of the last reboot of VM.
If I try to execute 'systemctl start walinuxagent' the comand is hanging and 
nothing happens.


# waagent -version
WALinuxAgent-2.2.2 running on debian 8.8
Python: 3.4.2
Goal state agent: 2.2.2
# systemctl status walinuxagent
● walinuxagent.service - Microsft Azure Linux Agent
   Loaded: loaded (/lib/systemd/system/walinuxagent.service; enabled)
      Active: inactive (dead)
          # tail -n 50 /var/log/waagent.log
          2017/06/27 07:03:48.606613 VERBOSE Get extension handler config
          2017/06/27 07:03:48.615327 VERBOSE HTTP connection [GET] 
[/machine/?comp=goalstate] [None] [{'x-ms-version': '2012-11-30', 
'x-ms-agent-name': 'WALinuxAgent'}]
          2017/06/27 07:03:48.635686 VERBOSE HTTP response status: [200]
          2017/06/27 07:03:48.644167 VERBOSE Load GoalState.xml
          2017/06/27 07:03:48.652640 VERBOSE Handle extensions updates for 
incarnation 2debug2: channel 0: window 999039 sent adjust 49537

          2017/06/27 07:03:48.660811 VERBOSE No extension handler config found
          2017/06/27 07:03:48.668279 VERBOSE Report vm agent status
          2017/06/27 07:03:48.674970 VERBOSE Prepare status blob
          2017/06/27 07:03:48.681192 VERBOSE Put page blob
          2017/06/27 07:03:48.687158 VERBOSE HTTP connection [PUT] 
[/$system/debian-lsn.eb5affa7-5e37-41ce-b51f-8ae3d0172ef5.status?sv=2016-05-31&sr=b&sk=system-1&sig=Mp7VzVlDVqSG6l3wkilhuFHrqcfBZIUmvoCSQnRo%2fvw%3d&se=9999-01-01T00%3a00%3a00Z&sp=rw]
 [] [{'x-ms-date': '2017-06-27T07:03:48Z', 'x-ms-blob-content-length': '512', 
'Content-Length': '0', 'x-ms-blob-type': 'PageBlob', 'x-ms-version': 
'2014-02-14'}]
          2017/06/27 07:03:48.734625 VERBOSE HTTP response status: [201]
          2017/06/27 07:03:48.741050 VERBOSE Upload page blob
          2017/06/27 07:03:48.748296 VERBOSE HTTP connection [PUT] 
[/$system/debian-lsn.eb5affa7-5e37-41ce-b51f-8ae3d0172ef5.status?sv=2016-05-31&sr=b&sk=system-1&sig=Mp7VzVlDVqSG6l3wkilhuFHrqcfBZIUmvoCSQnRo%2fvw%3d&se=9999-01-01T00%3a00%3a00Z&sp=rw&comp=page]
 [<memory at 0x7f5a308cb818>] [{'x-ms-date': '2017-06-27T07:03:48Z', 
'x-ms-version': '2014-02-14', 'Content-Length': '512', 'x-ms-range': 
'bytes=0-511', 'x-ms-page-write': 'update'}]
          2017/06/27 07:03:48.854198 VERBOSE HTTP response status: [201]
          2017/06/27 07:03:48.861351 VERBOSE Completed vm agent status report
          2017/06/27 07:03:48.869276 VERBOSE Instantiating Agent 
WALinuxAgent-2.2.13 from disk
          2017/06/27 07:03:48.878059 VERBOSE Agent WALinuxAgent-2.2.13 error 
state: Last Failure: 0.0, Total Failures: 0, Fatal: False
          2017/06/27 07:03:48.889744 VERBOSE Ensuring Agent WALinuxAgent-2.2.13 
is downloaded
          2017/06/27 07:03:48.898466 VERBOSE Agent WALinuxAgent-2.2.13 was 
previously downloaded - skipping download
          2017/06/27 07:03:48.929040 VERBOSE Agent WALinuxAgent-2.2.13 loaded 
manifest from /var/lib/waagent/WALinuxAgent-2.2.13/HandlerManifest.json
          2017/06/27 07:03:48.947522 VERBOSE Successfully loaded Agent 
WALinuxAgent-2.2.13 HandlerManifest.json: {'handlerManifest': 
{'installCommand': '', 'rebootAfterInstall': False, 'reportHeartbeat': False, 
'updateCommand': '', 'uninstallCommand': '', 'enableCommand': 'python -u 
bin/WALinuxAgent-2.2.13-py2.7.egg -run-exthandlers', 'disableCommand': ''}, 
'name': 'WALinuxAgent', 'version': 1.0}
          2017/06/27 07:03:48.989882 VERBOSE Instantiating Agent 
WALinuxAgent-2.2.10 from disk
          2017/06/27 07:03:48.999073 VERBOSE Agent WALinuxAgent-2.2.10 error 
state: Last Failure: 0.0, Total Failures: 0, Fatal: False
          2017/06/27 07:03:49.012795 VERBOSE Ensuring Agent WALinuxAgent-2.2.10 
is downloaded
          2017/06/27 07:03:49.021698 VERBOSE Agent WALinuxAgent-2.2.10 was 
previously downloaded - skipping download
          2017/06/27 07:03:49.032724 VERBOSE Agent WALinuxAgent-2.2.10 loaded 
manifest from /var/lib/waagent/WALinuxAgent-2.2.10/HandlerManifest.json
          2017/06/27 07:03:49.047067 VERBOSE Successfully loaded Agent 
WALinuxAgent-2.2.10 HandlerManifest.json: {'handlerManifest': 
{'installCommand': '', 'rebootAfterInstall': False, 'reportHeartbeat': False, 
'updateCommand': '', 'uninstallCommand': '', 'enableCommand': 'python -u 
bin/WALinuxAgent-2.2.10-py2.7.egg -run-exthandlers', 'disableCommand': ''}, 
'name': 'WALinuxAgent', 'version': 1.0}
          2017/06/27 07:03:49.099969 VERBOSE Instantiating Agent 
WALinuxAgent-2.2.8 from disk
          2017/06/27 07:03:49.109363 VERBOSE Agent WALinuxAgent-2.2.8 error 
state: Last Failure: 0.0, Total Failures: 0, Fatal: False
          2017/06/27 07:03:49.123399 VERBOSE Ensuring Agent WALinuxAgent-2.2.8 
is downloaded
          2017/06/27 07:03:49.132005 VERBOSE Agent WALinuxAgent-2.2.8 was 
previously downloaded - skipping download
          2017/06/27 07:03:49.142434 VERBOSE Agent WALinuxAgent-2.2.8 loaded 
manifest from /var/lib/waagent/WALinuxAgent-2.2.8/HandlerManifest.json
          2017/06/27 07:03:49.157363 VERBOSE Successfully loaded Agent 
WALinuxAgent-2.2.8 HandlerManifest.json: {'handlerManifest': {'installCommand': 
'', 'rebootAfterInstall': False, 'reportHeartbeat': False, 'updateCommand': '', 
'uninstallCommand': '', 'enableCommand': 'python -u 
bin/WALinuxAgent-2.2.8-py2.7.egg -run-exthandlers', 'disableCommand': ''}, 
'name': 'WALinuxAgent', 'version': 1.0}
          2017/06/27 07:03:49.198388 VERBOSE Instantiating Agent 
WALinuxAgent-2.2.12 from disk
          2017/06/27 07:03:49.206740 VERBOSE Agent WALinuxAgent-2.2.12 error 
state: Last Failure: 0.0, Total Failures: 0, Fatal: False
          2017/06/27 07:03:49.218252 VERBOSE Ensuring Agent WALinuxAgent-2.2.12 
is downloaded
          2017/06/27 07:03:49.226621 VERBOSE Agent WALinuxAgent-2.2.12 was 
previously downloaded - skipping download
          2017/06/27 07:03:49.237101 VERBOSE Agent WALinuxAgent-2.2.12 loaded 
manifest from /var/lib/waagent/WALinuxAgent-2.2.12/HandlerManifest.json
          2017/06/27 07:03:49.283615 VERBOSE Successfully loaded Agent 
WALinuxAgent-2.2.12 HandlerManifest.json: {'handlerManifest': 
{'installCommand': '', 'rebootAfterInstall': False, 'reportHeartbeat': False, 
'updateCommand': '', 'uninstallCommand': '', 'enableCommand': 'python -u 
bin/WALinuxAgent-2.2.12-py2.7.egg -run-exthandlers', 'disableCommand': ''}, 
'name': 'WALinuxAgent', 'version': 1.0}
          2017/06/27 07:03:52.146459 INFO Agent WALinuxAgent-2.2.2 forwarding 
signal 15 to WALinuxAgent-2.2.13
          2017/06/27 07:05:31.852936 INFO Activate resource disk
          2017/06/27 07:05:31.864036 VERBOSE run cmd 'mount'
          2017/06/27 07:05:31.887789 INFO Examining partition table
          2017/06/27 07:05:31.905662 VERBOSE run cmd 'blkid -o value -s PTTYPE 
/dev/sdb'
          2017/06/27 07:05:32.011733 INFO GPT not detected, determining 
filesystem
          2017/06/27 07:05:32.050760 VERBOSE run cmd 'blkid -o value -s TYPE 
/dev/sdb1'
          2017/06/27 07:05:32.154005 INFO Mount resource disk [mount /dev/sdb1 
/mnt/resource]
          2017/06/27 07:05:32.223783 VERBOSE run cmd 'mount /dev/sdb1 
/mnt/resource'
          2017/06/27 07:05:01.183831 INFO Resource disk /dev/sdb is mounted at 
/mnt/resource with ext4
          2017/06/27 07:05:19.121403 INFO Provisioning already completed, 
skipping.








-- System Information:
Debian Release: 8.8
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages waagent depends on:
ii  bind9-host [host]      1:9.9.5.dfsg-9+deb8u11
ii  ca-certificates        20141019+deb8u3
ii  eject                  2.1.5+deb1+cvs20081104-13.1+deb8u1
ii  host                   1:9.9.5.dfsg-9+deb8u11
ii  init-system-helpers    1.22
ii  iptables               1.4.21-2+b1
ii  net-tools              1.60-26+b1
ii  openssh-server         1:6.7p1-5+deb8u3
ii  openssl                1.0.1t-1+deb8u6
ii  parted                 3.2-7
ii  python3-pkg-resources  5.5.1-1
pn  python3:any            <none>
ii  sudo                   1.8.10p3-1+deb8u4

waagent recommends no packages.

waagent suggests no packages.

-- Configuration Files:
/etc/waagent.conf changed:
Provisioning.Enabled=y
Provisioning.DeleteRootPassword=y
Provisioning.RegenerateSshHostKeyPair=y
Provisioning.SshHostKeyPairType=rsa
Provisioning.MonitorHostName=y
Provisioning.DecodeCustomData=n
Provisioning.ExecuteCustomData=n
Provisioning.AllowResetSysUser=n
ResourceDisk.Format=y
ResourceDisk.Filesystem=ext4
ResourceDisk.MountPoint=/mnt/resource
ResourceDisk.EnableSwap=n
ResourceDisk.SwapSizeMB=0
ResourceDisk.MountOptions=None
Logs.Verbose=y
OS.RootDeviceScsiTimeout=300
OS.OpensslPath=None


-- no debconf information

Reply via email to