Commit Graph

  • 7c9efe4308 Multiple FreeBSD fixes Stephen Zarkos 2014-05-01 13:50:44 -07:00
  • adeb0e2d55 Merge remote-tracking branch 'upstream/2.0' into getexitcode Stephen Zarkos 2014-04-30 16:28:40 -07:00
  • 36af197b74 Fix launchCommand() timeout loop Stephen Zarkos 2014-04-30 16:27:39 -07:00
  • 7b39b8845f Merge pull request #31 from szarkos/statemachine Eric Gable 2014-04-30 14:48:44 -07:00
  • 3e03738327 Check exit code in launchCommand() Stephen Zarkos 2014-04-30 14:00:21 -07:00
  • e5b57b076e SLES12 fix for wickedd-dhcp4 Stephen Zarkos 2014-04-28 15:29:22 -07:00
  • 582ecf9cc0 Merge remote-tracking branch 'upstream/2.0' into statemachine Stephen Zarkos 2014-04-29 13:04:01 -07:00
  • 66ff84d4cd Merge pull request #30 from szarkos/SLES12-Wickedd Eric Gable 2014-04-29 10:00:36 -07:00
  • f1f78c896f SLES12 fix for wickedd-dhcp4 Stephen Zarkos 2014-04-28 15:29:22 -07:00
  • 10d4d9c50a GetHandlerState: default to 'NotInstalled' Stephen Zarkos 2014-04-28 14:20:16 -07:00
  • 59d13f79d5 Add state handling to handler processing Stephen Zarkos 2014-04-28 14:12:26 -07:00
  • e0c36a652a Prevent execution of non JSON handlers. Prevent crash when handler public protected configuration is not present. Eric Gable 2014-04-25 15:51:51 -07:00
  • 47b10064a5 Merge pull request #27 from szarkos/abstract_platform Eric Gable 2014-04-25 12:34:10 -07:00
  • 24d4c53645 Merge pull request #26 from Azure/iss1377083 Eric Gable 2014-04-25 12:33:19 -07:00
  • 7b70996073 Update implementation of restartSshService for some distros. Replace service reload to service condrestart for debian+ubuntu and restart for other distros. eridai 2014-04-24 17:36:37 +08:00
  • ca4ed38bb4 DistInfo(): remove leading/trailing whitespace Stephen A. Zarkos 2014-04-23 21:28:59 -07:00
  • b682b2a9c7 Abstract platform.dist() / linux_distribution() Stephen A. Zarkos 2014-04-23 20:36:22 -07:00
  • 99e8fe6998 Add exception wrappers to volitile parsing in ExtensionsConfg Remove old plugin directory after explicit 'uninstall' issued. Eric Gable 2014-04-22 16:14:05 -07:00
  • 3cea3a2f17 Add support for extension handler state 'uninstall' Now make all files under extension handler zip to be executable by root Eric Gable 2014-04-16 17:57:19 -07:00
  • 76c81eac86 Narrow plugin list to prevent wrong <Plugin> xml tags from being used. Store manifest in ExtensionsConfig.Plugins xml attribute 'manifestdata' for use in CheckHeartbeat launchCommand now uses dirpath=os.path.dirname(mfile) and subprocess.Popen(dirpath+'/'+cmd+arg,shell=True,cwd=dirpath) Eric Gable 2014-04-15 17:38:46 -07:00
  • 84f86bab3b Merge pull request #25 from szarkos/ReportRoleProperties Eric Gable 2014-04-15 15:58:33 -07:00
  • 7c58398e26 Call ReportRoleProperties() in Run() Stephen Zarkos 2014-04-15 15:01:15 -07:00
  • d445beb321 Update changelog Stephen Zarkos 2014-04-15 12:48:36 -07:00
  • cb2c85156c Fix bug determining correct budle uri. Fix bug in command pid status Wrap HandlerEnvironment.json contents with [ ]. prepend ./ to basename of command for execution. Eric Gable 2014-04-11 19:54:27 -07:00
  • 1a91af3215 Merge branch '2.0' of https://github.com/WindowsAzure/WALinuxAgent into 2.0 eridai 2014-04-11 11:09:39 +08:00
  • aed40f0c05 Fix crash in ExtensionsConfig.launchCommand() when HandlerManifest.json contains {[...]} Fix crash in ExtensionsConfig.launchCommand() when parsing an invalid handler command path. Eric Gable 2014-04-10 14:45:09 -07:00
  • 1e84e6c03a Merge pull request #24 from ShanghaiTeam/2.0 Stephen A. Zarkos 2014-04-07 15:55:17 -07:00
  • 4d44aaa2a1 Update changelog and version information Stephen Zarkos 2014-04-07 15:54:08 -07:00
  • 0520a708a9 Filter <Plugin> tags inside the <PluginSettings> from main loop in ExtensionsConfig.Parse() Don't clobber dom when parsing manifest. WALinuxAgent-2.0.4 Eric Gable 2014-04-03 13:54:42 -07:00
  • 865b87d194 Merge upstream Eric Gable 2014-04-03 10:48:23 -07:00
  • 101e40d056 Fix message.encode syntax. Eric Gable 2014-04-03 10:40:32 -07:00
  • 10d7deebda Update changelog and versioning for 2.0.4 Stephen Zarkos 2014-04-02 12:29:48 -07:00
  • f1fa8cfbb0 Bugfix for LogToFile, LogToCon, force encoding to ascii. Eric Gable 2014-04-01 21:38:46 -07:00
  • 472b2e2963 Chnages to ExtensionsConfig for public/protected config values Eric Gable 2014-03-31 14:41:04 -07:00
  • 72dd28d8aa Merge branch '2.0' of https://github.com/WindowsAzure/WALinuxAgent into 2.0 Eric Gable 2014-03-26 11:53:55 -07:00
  • f18abd304b ExtensionsConfig add 'name' property to HandlerEnvironment.json Eric Gable 2014-03-26 11:52:49 -07:00
  • 3a40adaf4e Derive centosDistro from redhatDistro yuezh 2014-03-14 16:56:38 +08:00
  • 730d8000fd Fix static hostname on RHEL7 Beta yuezh 2014-03-13 14:20:02 +08:00
  • fa6f7695a4 Update RPM spec to create /var/lib/waagent Stephen Zarkos 2014-03-25 13:28:39 -07:00
  • b934ca3d16 Set SCSI timeout for resource and data disk eridai 2014-03-24 12:42:54 +08:00
  • 100ccd3e82 Changelog and minor doc updates Stephen Zarkos 2014-03-20 13:16:42 -07:00
  • 5bcb0205fe Call handler scripts directly Eric Gable 2014-03-18 17:29:31 -07:00
  • 794a3c633b Move the Linux distro specific methods(initScsiDiskTimeout, setScsiDiskTimeout, setBlockDeviceTimeout) to AbsractDistro and override these methods for FreeBSD. eridai 2014-03-18 17:10:48 +08:00
  • 42c46a5f5b Debugging ExtensionsConfig. Eric Gable 2014-03-17 16:23:36 -07:00
  • b5895d5a91 Move ExtensionsConfig.parse() to the health report loop in Agent.Run() Support the full range of Handler commands. Eric Gable 2014-03-13 16:16:42 -07:00
  • da4e981544 Create the status and config dirs after manifest is read. Eric Gable 2014-03-06 12:38:18 -08:00
  • 3c4ae20224 Experimental json extension handler replaces xml extension in ExtensionsConfig. GetMacAddress() - if ifname is empty keep trying. FreeBSDDistro - Handle potential custom data by increasing length of dd from 1 (2048 byte) block to 33. Eric Gable 2014-03-05 17:51:03 -08:00
  • fd03cf54d3 Merge plugin branch Eric Gable 2014-02-19 15:19:30 -08:00
  • b7f8091b2a Fix bug in json logic Eric Gable 2014-02-19 14:44:21 -08:00
  • 05b043a2e2 Updates for json plugin handlers. Eric Gable 2014-02-19 14:04:01 -08:00
  • 31c050c793 Update Python requirement in README archive/1.4 Stephen A. Zarkos 2014-02-18 18:22:41 -08:00
  • 658088b0cc Fix python version requirements in README Stephen A. Zarkos 2014-02-18 17:50:56 -08:00
  • 1bd1855241 Minor README updates Stephen Zarkos 2014-02-14 13:46:40 -08:00
  • 593c485c5b Minor doc cleanup Stephen Zarkos 2014-02-14 13:41:55 -08:00
  • ff5d41f849 Updated version string and changelog Stephen Zarkos 2014-02-14 13:28:33 -08:00
  • 8194f12549 Add updates for FreeBSDDistro Eric Gable 2014-02-12 12:09:06 -08:00
  • 407388fce7 Remove unneeded processing from HostingEnvironmentConfig.Process Eric Gable 2014-02-12 11:56:45 -08:00
  • 1ed7765319 Write out the base64 config data to zip_dir so the resource extension plugin can process it. Eric Gable 2014-02-10 15:15:44 -08:00
  • 6af746d99d Adding ResourceExtensions (Plugins). Eric Gable 2014-02-05 15:57:28 -08:00
  • 55e62008a9 Add FedoraDistro Eric Gable 2014-01-24 16:00:56 -08:00
  • c1122a31c1 WALinuxAgent-2.0.3 WALinuxAgent-2.0.3 Stephen A. Zarkos 2014-01-17 10:08:22 -08:00
  • 8839d2cb91 Update RPM spec file Stephen Zarkos 2014-01-16 16:22:53 -08:00
  • 1805a0d715 Update Changelog Stephen Zarkos 2014-01-16 16:21:38 -08:00
  • 0e8ecc4b54 Add exception awareness to GetFileContents, SetFileContents, AppendFileContents. Return None and complain to log if exception occurs. Eric Gable 2014-01-16 15:52:08 -08:00
  • acd8db0198 Send host-name patch. Do not put send host-name "new-hostname" in dhclient.conf if the hostname value is <hostname> or gethostname(); . Also remove unused method group setHostname() from all distro classes. Remove duplicate call to EnvMonitor(object).MyDistro.publishHostname(self.HostName) which is now called from WaAgent.UpdateAndPublishHostName(self.HostName). Eric Gable 2014-01-13 14:13:37 -08:00
  • 60b5156682 WALinuxAgent-1.4.1 WALinuxAgent-1.4.1 Stephen Zarkos 2014-01-09 16:23:19 -08:00
  • d8291075a9 Update changelog and rpm spec file Stephen Zarkos 2014-01-09 16:22:01 -08:00
  • 375f1ede38 Do not change 'send host-name' in dhclient.conf if "send host-name gethostname();" or "send host-name <hostname>" is present. Eric Gable 2014-01-07 15:42:29 -08:00
  • 3de8edf3f3 WALinuxAgent-2.0.3-PRE Stephen A. Zarkos 2013-12-19 16:14:58 -08:00
  • 44d44ebf67 Revert "debianDistro - Only add 'send-hostname' to dhclient.conf if not already enabled." Stephen A. Zarkos 2013-12-19 16:13:55 -08:00
  • f5365bec4e debianDistro - Only add 'send-hostname' to dhclient.conf if not already enabled. Eric Gable 2013-12-19 15:28:45 -08:00
  • e47ea21c5a Use raw_input() instead of input() in Deprovision with prompt. Eric Gable 2013-12-19 14:44:10 -08:00
  • edc35f3fb3 WALinuxAgent 2.0.2 WALinuxAgent-2.0.2 Stephen Zarkos 2013-12-18 15:10:04 -08:00
  • 24ae488113 Update Changelog and RPM spec for 2.0.2 Stephen Zarkos 2013-12-18 15:09:09 -08:00
  • 3ae02591e5 Merge branch '2.0' of https://github.com/WindowsAzure/WALinuxAgent into 2.0 Eric Gable 2013-12-16 13:30:57 -08:00
  • 6d94b41236 Fix Hostname/EnvMonitor. Add call of UpdateAndPublishHostName to installAgentServiceScriptFiles. Remove loops containing GetInterfaceName() which now returns a single string identifying the first active non-LO interface. Eric Gable 2013-12-16 10:26:32 -08:00
  • b9ff64d194 Update Changelog Stephen Zarkos 2013-12-13 13:38:25 -08:00
  • f872d517f3 Revert and use Suse systemV for Suse Only! Eric Gable 2013-12-11 15:33:04 -08:00
  • 15a508e765 Replace waagent embedded systemV init scripts with new version from distros/suse/waagent.systemV Eric Gable 2013-12-11 14:26:02 -08:00
  • da1bf7a8f0 Specialize file mode of /etc/shadow. Eric Gable 2013-12-06 15:42:11 -08:00
  • 33fbf4d6f6 publishHostname should use self.hostname_file_path instead of 'etc/hostname'. Eric Gable 2013-12-06 13:35:00 -08:00
  • dc0ac49e60 Fix - 'Root password deleted message' not logged " Stephen Zarkos 2013-12-04 15:17:52 -08:00
  • 18aab0713f Handle potential OSError exception thrown when errors occur launching external scripts. Eric Gable 2013-11-27 12:57:37 -08:00
  • b84dcccb57 Merge 1.4_expected_state. Eric Gable 2013-11-27 12:45:16 -08:00
  • c1e715a3b1 Update Changelog Stephen Zarkos 2013-11-26 15:08:03 -08:00
  • 7829c35208 Fix WALinuxAgent version Stephen Zarkos 2013-11-26 15:06:34 -08:00
  • ae82aa91db Minor update in Readme Stephen Zarkos 2013-11-26 15:03:59 -08:00
  • c5cde37c8a Small fix to README Stephen Zarkos 2013-11-26 12:05:03 -08:00
  • c9bc5655a5 Merge branch '2.0_expected_state' of https://github.com/WindowsAzure/WALinuxAgent into 2.0_expected_state Eric Gable 2013-11-25 14:27:22 -08:00
  • 9d824a3048 Remove reference to Shutdown in Role.StateConsumer. Eric Gable 2013-11-25 14:25:47 -08:00
  • 3298e7502d Remove reference to Shutdown in Role.StateConsumer. Eric Gable 2013-11-25 14:25:15 -08:00
  • 69296dce29 Remove reference to Shutdown in Role.StateConsumer. Remove code processing GoalState.ExpectedState 'Stopped' and code that sends 'Shutdown' to StateConsumer script. Eric Gable 2013-11-25 14:24:14 -08:00
  • 7c64da3f26 Remove comment relating to expected state shutdown in GoalState. Eric Gable 2013-11-25 14:15:38 -08:00
  • 5d9e184310 Update Changelog Stephen Zarkos 2013-11-22 11:09:11 -08:00
  • 549df4eb0d Remove remaining references to "Shutdown" Stephen Zarkos 2013-11-22 11:07:16 -08:00
  • fb1dcb8b67 Remove reference to Shutdown in Role.StateConsumer. Remove code processing GoalState.ExpectedState 'Stopped' and code that sends 'Shutdown' to StateConsumer script. Changed: embedded waagent.conf Agent.Run() Eric Gable 2013-11-21 16:27:33 -08:00
  • 014a4f8d27 Remove reference to Shutdown in Role.StateConsumer. Eric Gable 2013-11-21 16:24:43 -08:00
  • 698be4326d Remove reference to Shutdown in Role.StateConsumer. Eric Gable 2013-11-21 16:23:09 -08:00
  • 7e94cdee05 Update changelog Stephen A. Zarkos 2013-11-19 11:26:28 -08:00
  • 1e63fe7120 Disable swap setup by default Stephen A. Zarkos 2013-11-19 11:23:07 -08:00