Commit Graph
1125 Commits
Author SHA1 Message Date
Stephen Zarkos d1413134a1 Update agent version string to 2.0.0 2013-09-20 15:27:29 -07:00
Stephen Zarkos e7e6318b63 Minor doc fix to waagent.conf 2013-09-20 15:27:21 -07:00
Stephen Zarkos 0c80003ad4 Update sample RPM spec file 2013-09-20 15:27:13 -07:00
Stephen Zarkos 9031d4c23e Update docs and changelog 2013-09-20 15:27:06 -07:00
Eric Gable 4a2a49aefb change file mode of waagent to 755 2013-09-20 15:10:33 -07:00
Eric Gable 5c5b6c2d01 Fix typo check_err to chk_err in TryUnloadAtapiix 2013-09-20 15:08:00 -07:00
Eric Gable f1b8d87c74 Add -t into ssh command to support sudo askpass Changed: ssh_command 2013-09-19 16:31:37 -07:00
Eric Gable 4d94f92aac reorg load_ata_piix to use Agent.Try/load/unload method.
simplify UbuntuDistro.getDhcpClientName()
2013-09-18 13:14:40 -07:00
Eric Gable 60bcf70cf8 Remove xtra chcon's Correct typos involving DHCP 2013-09-18 13:14:40 -07:00
Eric Gable 085fe98867 Working without user intervention. 2013-09-18 13:14:40 -07:00
Eric Gable db9f9ab991 Fix getDhcpClientName() 2013-09-18 13:14:40 -07:00
Eric Gable 983f62989c Improvements to update_agent_info. 2013-09-18 13:14:40 -07:00
Eric Gable 47fc6c20f6 Detect Ubuntu release number to customize dhclient differences 2013-09-18 13:14:40 -07:00
Eric Gable f08717c642 Add redhat distro Fix bug in IsSeLinuxSystem - set initial state of self.selinux to None. Stop 'getpid dhcpd' from causing errors on systems without dhcpd running. Fix sysntax errors in GetMyDistro() 2013-09-18 13:14:40 -07:00
Eric Gable 85e62e3935 Suppress expected error in RouteAdd() by setting chk_err=False for "/sbin/route add -net " 2013-09-18 13:14:40 -07:00
Eric Gable a3c53eebef Supress expected error in TryLoadAtapiix() by setting chk_err=False for lsmod 2013-09-18 13:14:40 -07:00
Eric Gable 1cbc7575b6 Bugfixes, argument changes. 2013-09-18 13:14:40 -07:00
Eric Gable dc613ebe9b Stable vm creation working. test-vm is created from stable vm using key from provisioned user.
TODO
deleted blobs still leftover.
2013-09-18 13:14:40 -07:00
Eric Gable 863b30b5fc unstable - incremental changes to support creation of stable vm. 2013-09-18 13:14:39 -07:00
Eric Gable 4b6391e651 Changes to support un-attended operation.
fsck data disk once if mount throws an error.
--create "once|always|never" - try to control when a new vhd is created - not quite working except for 'always'
--teardown "pass|fail|always" - when to teardown the vm and re-mount the data disk to copy logs
--prompt "no" - prevent 'press enter'

the local logs are now copied to locallog/<testname>_pass|_fail/
2013-09-18 13:14:39 -07:00
Eric Gable 2d6d9973e7 Update (wire)ProtocolVersion from '2011-12-31' to '2012-11-30' 2013-09-18 13:14:39 -07:00
Eric Gable c166eb2010 Add 'chroot /mnt/disk groupdel rdUserName' for Linux testing scenario. 2013-09-18 13:14:39 -07:00
Eric Gable 990c7ca94c Move creation of 'provisioned' file to after all provisioning operations are complete. 2013-09-18 13:14:39 -07:00
Eric Gable 6b4bd8629d Update Changelog README setup.py and rpm/walinuxagent.spec to latest in master. 2013-08-28 10:29:26 -07:00
Eric Gable a8ad77bda7 Adding distro and config directories for setup.py 2013-08-20 15:52:39 -07:00
Eric Gable c45730b0e0 Hand merge from merge request:
commit d11b6f7 1 parent b16902d
Author:  rjschwei authored 22 days ago

Add setup.py
2013-08-20 15:51:15 -07:00
Eric Gable c23ee93fc1 Update GuestAgentVersion string to 2.0 2013-08-19 11:20:03 -07:00
Eric Gable df55f3896a Operates for Ubuntu and freeBSD 2013-08-16 14:18:10 -07:00
Eric Gable 2be8eb56c6 Test candidate for python3 2to3
Successful provision in python2 and python3 in ubuntu12.10 and freebsd9/10
2013-08-16 14:18:10 -07:00
Eric Gable c943966b3e Initial working commit of azure_test.py 2013-08-16 14:18:10 -07:00
Eric Gable c39b971cab Merge code changes required for 2to3 in python3 from python3_future 2013-08-16 14:18:10 -07:00
Eric Gable 4780107e22 Hand merge freebsd branch 2013-08-16 14:18:10 -07:00
Eric Gable 48e5b27abf Create fake ancestor for merge from private-future 2013-08-16 14:15:26 -07:00
Eric Gable 75d53b53dd Fix 'unmount' typo in SearchForVMMStartup.
Changed:
SearchForVMMStartup
2013-08-06 15:53:23 -07:00
Stephen Zarkos 40ce534192 Minor changes to RPM spec file 2013-06-24 16:20:44 -07:00
Eric Gable 3f98669bd7 Merges from private-future. 2013-06-24 16:17:05 -07:00
Eric Gable a20e542c4e Initial commit of setup.py for rpm --buildroot 2013-06-24 16:14:42 -07:00
Eric Gable a6e89e13db Added call to "./setup.py --buildroot "%{buildroot}" for %install. This creates three
files under buildroot and adds them to the contorlled "%files" list

Changed:
%install
%files
2013-06-24 16:13:22 -07:00
Eric Gable 63bd935016 Support LoggerInit() and new class Logger 2013-06-11 14:27:38 -07:00
Eric Gable d9afbad342 Load waagent from parent directory. 2013-06-11 14:27:38 -07:00
Eric Gable 1646f1f828 Re-factor log facility into class Logger to allow custom paths.
Added
Class Logger()
LoggerInit()
Changed(moved):
Log
LogWithPrefix
LogIfVerbose
LogWithPrefixIfVerbose
Error
ErrorWithPrefix
Warn
NoLog
ThrottleLog
2013-06-11 14:27:38 -07:00
Eric Gable 720d8d3a9c Merge private-resdef bugfixes into public-future.
Changed:
Global VMM_STARTUP_SCRIPT_NAME
DoVmmStartup
SearchForVMMStartup
2013-06-07 15:28:01 -07:00
Eric Gable 993d7e28d2 Clone waagent and tests/test_waagent.py from branch future of WALinuxAgent-Private 2013-06-04 15:28:36 -07:00
Stephen Zarkos b004c9f0d4 Fix version number for master branch 2013-06-04 14:08:30 -07:00
Arnaud Patard dd7ce3fd44 Fix cdrom detection
waagent is trying to detect if there's a virtual cdrom by grepping
fdisk output, except that the output is different if we're not using
en locale. Use LC_ALL=C to make sure we'll have "correct" output

Signed-off-by: Arnaud Patard <apatard@hupstream.com>
2013-05-31 15:37:11 -07:00
Stephen Zarkos f4f76e85f2 WALinuxAgent-1.3.3 WALinuxAgent-1.3.3 2013-05-30 12:28:00 -07:00
Eric Gable 9ea55ab06b Cosmetic updates to README. 2013-05-24 15:14:34 -07:00
Eric Gable f58a350a3c Cosmetic changes - Do not log STDERR for userdel command in DeleteAccount().
Changed:
DeleteAccount()
2013-05-21 15:36:28 -07:00
Eric Gable a70d10c30b Remove 'as' keyword, change to Python <= 2.5 compatable syntax.
Changed:
DetectLinuxDistro()
2013-05-21 15:36:28 -07:00
Stephen Zarkos 2dcb4449fe Updated changelog 2013-05-21 14:43:26 -07:00