Commit Graph
1125 Commits
Author SHA1 Message Date
eridai fd0aa07e0a Generate HandlerAggregatedStatus based on staus and heartbeat reported by handler. 2014-06-06 17:02:08 +08:00
eridai 58e70fb000 Merge pull request #35 from cvpcs/2.0
Changes to allow WALA to support Gentoo Linux
2014-05-26 11:23:51 +08:00
eridai 26c014d43f Fix waagent version 2014-05-26 10:28:55 +08:00
eridai c8edd6301b Update Changelog and version informration 2014-05-26 10:16:33 +08:00
eridai 47e34e3589 Update Changelog, waagent and Versioning WALinuxAgent-2.0.5 2014-05-19 13:33:29 +08:00
Eric Gable e26812424c (Eric Dai)
Fix bug in timestamp for ReportHandlerStatus.
Make status reports occur regularly to support portal display of extension status.
2014-05-15 13:05:51 -07:00
Eric Gable 8f0a0ca415 Merge pull request #36 from nanasess/fix-typo
Fix typo.
2014-05-14 10:39:55 -07:00
Kentaro Ohkouchi 9c81ed4702 Fix typo. 2014-05-14 17:49:54 +09:00
Eric Gable b0cc921eac Guard from exception thrown using p.plugin_log when it is empty. 2014-05-13 16:15:46 -07:00
Stephen Zarkos 3316902de8 Revert "Skip plugin processing if ExtensionsConfig plugins tags is <Plugins/>."
This reverts commit 3cfaef178c.
2014-05-13 14:58:26 -07:00
Eric Gable 78466fdff4 Make exception logging to be LogIfVerbose for ExtensionsConfig.xml parse error. 2014-05-12 14:55:30 -07:00
Eric Gable 3cfaef178c Skip plugin processing if ExtensionsConfig plugins tags is <Plugins/>. 2014-05-12 14:06:29 -07:00
Stephen A. Zarkos a3e4c3c1d7 Update Changelog 2014-05-08 08:36:26 -07:00
Eric Gable bed50a64a0 Make upgrade process corretly use the previous_handler name calling SetHandlerState on previous handler. 2014-05-07 16:12:32 -07:00
Eric Gable 58e228920e Make HandlerEnviroment.json log path to use the new plugin_log dir.
Remove IsInternal.
Remove all_plugins_log.
2014-05-07 13:16:54 -07:00
Austen Dicken 11d8faa232 Change the ATAPI module requirements in Gentoo
The code that handles ATAPI CD-ROM loading should probably be a bit
more fault-taulorant so that kernels with built-in ata_piix drivers
still can be provisioned, but for now just change Gentoo's distro
support to use modular ata_piix drivers like the other distros.
2014-05-07 00:00:38 -05:00
Austen Dicken 5229003782 Merge branch '2.0' of https://github.com/Azure/WALinuxAgent into 2.0
Conflicts:
	waagent
2014-05-06 22:59:18 -05:00
Eric Gable d99219a95a Support for global and local CommandExecution.log for extensions. 2014-05-06 20:27:23 -07:00
Austen Dicken 15c2dda0c7 Add Gentoo Linux concrete distro class
Adds support for the Gentoo Linux distribution (http://gentoo.org)
to the Windows Azure Linux Agent. There currently does not exist a
Gentoo Portage package for WALA, so the install mechanism is the
same as the manual steps in the README.
2014-05-06 21:55:34 -05:00
Austen Dicken e168855b35 Allow distros to modify how interfaces are restarted
Some distros may not utilize "ifup/ifdown" scripts to restart
their network interfaces. This patch just adds another method to
the abstract distro class to allow that default behavior to be
overridden.
2014-05-06 21:54:13 -05:00
Eric Gable 380b56fd0d Merge pull request #34 from szarkos/freebsd
Multiple FreeBSD fixes
2014-05-06 15:30:30 -07:00
Stephen Zarkos 523e8a34d3 FreeBSD: Strip non-XML data from ovf-env.xml file 2014-05-06 14:27:28 -07:00
Stephen Zarkos e4de19e696 Merge branch 'freebsd' of https://github.com/szarkos/WALinuxAgent into freebsd
# By Stephen A. Zarkos
# Via Stephen A. Zarkos
* 'freebsd' of https://github.com/szarkos/WALinuxAgent:
  Force ascii encoding for FreeBSD ovf-env.xml file
  FreeBSD: bail out when provisioning as DISK
2014-05-06 13:07:05 -07:00
Stephen Zarkos 83b2300b26 Merge remote-tracking branch 'upstream/2.0' into freebsd
* upstream/2.0:
  Suppress spurious logging for non-JSON handlers.
  Clarify loop expression
  Fix launchCommand() timeout loop
  Check exit code in launchCommand()
  GetHandlerState: default to 'NotInstalled'
  Add state handling to handler processing
  Clarify loop expression
  Fix launchCommand() timeout loop
  Check exit code in launchCommand()
  SLES12 fix for wickedd-dhcp4
  GetHandlerState: default to 'NotInstalled'
  Add state handling to handler processing
2014-05-06 13:06:36 -07:00
Stephen A. Zarkos 789bbc8855 Force ascii encoding for FreeBSD ovf-env.xml file 2014-05-02 18:54:45 -07:00
Eric Gable 51d6d734c7 Merge pull request #33 from szarkos/XMLExtensionError
Suppress spurious logging for non-JSON handlers
2014-05-02 14:35:26 -07:00
Stephen A. Zarkos 3270866255 Merge remote-tracking branch 'upstream/2.0' into XMLExtensionError 2014-05-02 09:47:37 -07:00
Stephen A. Zarkos 547d21c6f7 Suppress spurious logging for non-JSON handlers. 2014-05-02 09:44:55 -07:00
Stephen Zarkos 71a5569d2b Clarify loop expression 2014-05-02 09:06:04 -07:00
Stephen Zarkos 5fb990f3aa Fix launchCommand() timeout loop
- Fix timeout loop for new exit code checking
- Misc. logging fixes
2014-05-02 09:06:02 -07:00
Stephen Zarkos 3fcecf86ac Check exit code in launchCommand() 2014-05-02 09:05:59 -07:00
Stephen Zarkos f161aebe55 GetHandlerState: default to 'NotInstalled'
- Return 'NotInstalled' rather than None if GetFileContents() returns
None
2014-05-02 09:05:54 -07:00
Stephen Zarkos 1383b9cb90 Add state handling to handler processing
- Use <plugin_dir>/config/HandlerState to manage plugin state
2014-05-02 09:05:52 -07:00
Stephen A. Zarkos d7df229d2d FreeBSD: bail out when provisioning as DISK 2014-05-02 09:01:17 -07:00
Eric Gable 539a4dbf83 Merge pull request #32 from szarkos/getexitcode
Check exit code in launchCommand()
2014-05-01 14:15:24 -07:00
Stephen Zarkos 28fd093d83 Clarify loop expression 2014-05-01 14:02:07 -07:00
Stephen Zarkos 7c9efe4308 Multiple FreeBSD fixes
- Fixup ovf-env.xml file broken by customdata
- Fix new DistInfo() function for FreeBSD
- Squelch a few (ignorable) errors in the log
2014-05-01 13:50:44 -07:00
Stephen Zarkos adeb0e2d55 Merge remote-tracking branch 'upstream/2.0' into getexitcode
* upstream/2.0:
  SLES12 fix for wickedd-dhcp4
  GetHandlerState: default to 'NotInstalled'
  Add state handling to handler processing
2014-04-30 16:28:40 -07:00
Stephen Zarkos 36af197b74 Fix launchCommand() timeout loop
- Fix timeout loop for new exit code checking
- Misc. logging fixes
2014-04-30 16:27:39 -07:00
Eric Gable 7b39b8845f Merge pull request #31 from szarkos/statemachine
Add state handling to handler processing
2014-04-30 14:48:44 -07:00
Stephen Zarkos 3e03738327 Check exit code in launchCommand() 2014-04-30 14:00:21 -07:00
Stephen Zarkos e5b57b076e SLES12 fix for wickedd-dhcp4
- set dhcp_client_name correctly for SLES12
- temporarily turn off the wickedd-dhcp4 service to enable our DHCP
client to obtain wire server endpoint address
2014-04-30 12:22:12 -07:00
Stephen Zarkos 582ecf9cc0 Merge remote-tracking branch 'upstream/2.0' into statemachine
* upstream/2.0:
  SLES12 fix for wickedd-dhcp4
2014-04-29 13:04:01 -07:00
Eric Gable 66ff84d4cd Merge pull request #30 from szarkos/SLES12-Wickedd
SLES12 fix for wickedd-dhcp4
2014-04-29 10:00:36 -07:00
Stephen Zarkos f1f78c896f SLES12 fix for wickedd-dhcp4
- set dhcp_client_name correctly for SLES12
- temporarily turn off the wickedd-dhcp4 service to enable our DHCP
client to obtain wire server endpoint address
2014-04-28 15:29:22 -07:00
Stephen Zarkos 10d4d9c50a GetHandlerState: default to 'NotInstalled'
- Return 'NotInstalled' rather than None if GetFileContents() returns
None
2014-04-28 14:20:16 -07:00
Stephen Zarkos 59d13f79d5 Add state handling to handler processing
- Use <plugin_dir>/config/HandlerState to manage plugin state
2014-04-28 14:12:26 -07:00
Eric Gable e0c36a652a Prevent execution of non JSON handlers.
Prevent crash when handler public protected configuration is not present.
2014-04-25 15:51:51 -07:00
Eric Gable 47b10064a5 Merge pull request #27 from szarkos/abstract_platform
Abstract platform.dist() / linux_distribution()
Nice!
2014-04-25 12:34:10 -07:00
Eric Gable 24d4c53645 Merge pull request #26 from Azure/iss1377083
Iss1377083
Great Work!
2014-04-25 12:33:19 -07:00