15 Commits

Author SHA1 Message Date
Hans Krijger 1da8e32266 ensure the proxy port is an integer; logging improvements 2016-09-27 15:30:53 -07:00
Yoon Hong 5576dea216 Replace unnecessary shell out logics with python based ones (#232) 2016-09-16 20:02:43 -04:00
Hans Krijger b31f2f4517 indenting fix (#407) 2016-09-02 16:10:31 -07:00
Hans Krijger 91d64b5fb9 ensure all calls to call_storage_service use http proxy; pep8 fixes and cleanup (#399) 2016-09-01 16:45:25 -07:00
Hans Krijger f81238cbfb ensure null bytes are not present in shlex input 2016-08-31 15:25:13 -07:00
Brendan Dixon 1f49b244e9 Prevent cycling agent
Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2016-07-08 18:20:50 -07:00
Brendan Dixon 2c44b88946 Corrected extension version selection and stdout/stderr redirection
Corrects extension version selection (issue #238).
Corrects hanlding of stdout / stderr (issue #260).

Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2016-06-23 14:52:40 -07:00
brendandixon 23b2c2eefe Corrected FlexibleVersion comparison of prerelease tags (#252)
Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2016-06-21 15:06:14 -07:00
brendandixon 2799c3b615 Agent Self-Update Feature (#244)
The Agent will monitor for more recent versions and update itself
(without impacting the installed version). If the new Agent fails
(in a very bad way or consistently), the code rolls back to the prior
version.

Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2016-06-21 12:18:06 -07:00
Hans Krijger 4b35d88a83 Host plugin channel (#250)
* formatting fixes, update error text, remove unused imports

* modify error logic to use host plugin upload as a fallback

* initial commit for host plugin work

* adds the vmAgentLog api

* code review feedback
2016-06-21 11:29:11 -07:00
Mingye Wang 3c5a9e73d9 fix for #127. try to use posix.fallocate and fallocate before falling back to dd; adds unit tests for basic functionality and shellutil.quote (#215) 2016-06-07 11:38:15 -07:00
Hans Krijger 89cb898ac3 check for existence before chmod/chown/chcon (#206)
code review feedback
2016-06-06 11:48:21 -07:00
Yue Zhang da9ebe0a3d Separate provision agent and guest agent
Ensured correct return
Temporarily disable autoupdate

Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2016-06-01 15:27:32 -07:00
brendandixon e55d8dee0e Revert "Separate provision agent and guest agent" 2016-05-31 11:24:23 -07:00
Yue Zhang efff9d6e0e Separate provision agent and guest agent 2016-05-31 11:15:10 -07:00