56 Commits
Author SHA1 Message Date
Dong Liu 96c32ae98f Increase http_post retry times for FreeBSD. 2016-03-07 14:49:39 +08:00
Dong Liu 71ca08dfa6 Internal version extension should not be chosen when autoupgrade is true, add test cases for autoupgrade. 2016-02-18 15:26:18 +08:00
Yue Zhang 623eacc41a Add more fields to event 2016-01-12 17:10:56 +08:00
Yue Zhang 5bfc685856 Refactor extension handler 2016-01-12 17:10:56 +08:00
Yue Zhang 2f5ec56850 Only allow root to access metadata protocol endpoint 2016-01-10 21:51:45 +08:00
Yue Zhang d58f7bd31b Handle xml event 2016-01-08 12:19:36 +08:00
Yue Zhang 16b28c84ab Improve unit test 2016-01-08 12:19:36 +08:00
Yue Zhang 66316359ab Rename text to ustr 2016-01-08 12:19:36 +08:00
Yue Zhang e875ac866f Remove globle variables 2016-01-08 12:19:35 +08:00
Yue Zhang f98faa1f0d Fix goalstate uri 2015-11-19 04:46:56 +08:00
Yue Zhang 7eb7b32806 Log umount/eject dvd failure as warning 2015-11-19 00:55:04 +08:00
Yue Zhang 168a886b89 Handle throttling 2015-11-19 00:55:04 +08:00
Yue Zhang bdd6c00c11 Fix extension handler status parsing 2015-11-19 00:55:04 +08:00
Yue Zhang c4191b33d8 Multiple fixes
1. Move conf_route out of DhcpResponse __init__
2. Add reinitialize to protocol class
2015-11-03 14:35:23 +08:00
Yue Zhang 974ac77866 Add some waiting to prevent throttling 2015-11-03 14:35:23 +08:00
Yue Zhang c94279bfac Refactor protocol detection code 2015-11-03 13:31:47 +08:00
Yue Zhang 2a27845aa5 Add ping to metadata server 2015-11-02 17:46:16 +08:00
Yue Zhang f29d399b16 Fix transport cert file name 2015-11-02 17:46:16 +08:00
Yue Zhang dd295681ab Remove comment from certificate 2015-11-02 17:46:15 +08:00
Yue Zhang 72fda164da Change privateSettings to protectedSettings 2015-11-02 17:46:15 +08:00
Yue Zhang 40ad4fc284 Add transport cert to headers when get extensions 2015-11-02 17:46:15 +08:00
Yue Zhang 27270823f2 Rename Windows Azure to Microsoft Azure 2015-10-23 14:55:05 +08:00
Yue Zhang f44d3320b5 Fix extension handler state handling
Quit retry when explicity failure happened
2015-09-12 21:01:49 +08:00
Yue Zhang a443bf6f04 Add sleep to prevent throttling 2015-09-12 13:24:12 +08:00
Yue Zhang 3d3cd3d751 Add message to handler status 2015-09-02 20:05:19 +08:00
Yue Zhang dbad921390 Escape special characters for health report 2015-09-02 20:05:19 +08:00
Yue Zhang d18cbd5c07 Handle ExtensionsConfig uri is empty 2015-09-02 20:05:19 +08:00
Yue Zhang 29c9b73b8d Update extension handler for metadata protocol 2015-08-31 14:10:14 +08:00
Yue Zhang c3915d238d Fix status report on XIO for py2py3 2015-08-27 23:01:39 +08:00
Yue Zhang 5b951403ef Handle utf-8 BOM for all sources of text 2015-08-07 02:37:38 +08:00
Yue Zhang f4b279dc2c Add code to eject dvd inside guest vm 2015-08-06 23:37:02 +08:00
Yue Zhang 6ace1354d0 Fix metadata protocol encoding 2015-08-06 23:37:02 +08:00
Yue Zhang bf47654179 Handle certificates uri is None 2015-08-05 18:01:34 +08:00
Yue Zhang 95e5e99f26 Support empty public settings 2015-08-05 17:40:24 +08:00
Yue Zhang 7f70af1f29 Support both python2 and python3 2015-08-02 06:28:41 +08:00
Yue Zhang 082bbb6ffc Support py3 2015-08-02 06:16:55 +08:00
Yue Zhang 1846145720 Fix unittest on python2.6 2015-08-02 06:07:55 +08:00
Yue Zhang de5cc463b4 Fix typo 2015-08-01 12:49:35 +08:00
Yue Zhang 2d65eb34d6 Support openssh public key format 2015-07-23 09:55:31 +08:00
Yue Zhang 60c2541db3 Multiple changes for new protocol
1. Update endpoint uri
2. Add content-type to put/post request
2015-07-23 01:11:43 +08:00
Yue Zhang 5f488a30d3 Update metadata protocol for instance metadata 2015-07-22 10:42:03 +08:00
Yue Zhang 753796ce5e Fix pylint warnings 2015-07-22 08:58:36 +08:00
Yue Zhang 52e3cb60e5 Fix pylint warnings 2015-07-22 07:55:32 +08:00
Yue Zhang 9f299a419f Improve log and cleanup code 2015-06-30 16:24:24 +08:00
Yue Zhang 7b8da0abf2 Fix uploading page blob for python 2.6 2015-06-30 00:40:17 +08:00
Yue Zhang 4b69733951 Add register-service option to setup.py 2015-06-29 14:50:37 +08:00
Yue Zhang 7371c9a21e Fix extension and provision status 2015-06-29 14:50:37 +08:00
Yue Zhang 979e316ed3 Update v2 protocol 2015-06-27 17:48:49 +08:00
Yue Zhang 8ed9073057 Add distro loader 2015-06-24 15:49:09 +08:00
Yue Zhang fd76f1de09 Multiple fixes for CoreOS 2015-06-16 11:29:58 +08:00