Граф коммитов

972 Коммитов

Автор SHA1 Сообщение Дата
Shiv Verma 8b9d5a6c9e
Add release notes and increment version (#1039) 2020-03-19 11:44:20 -07:00
Shiv Verma 8eafcba3f7
Merging for next ADE release (#1019)
* Migrate crypt mount to crypttab[DualPass] (#929)
* fix U14 unmount oldroot sequence in SplitRootPartitionState (#980)
* add python-six prerequisite on CentOS 6.8 (#985)
* ADE test failure fixes (#1015)
* porting over disable resiliency (#1017)

Co-authored-by: Vishal Mishra <vimish@microsoft.com>
Co-authored-by: Eric Jarvi <ejarvi@users.noreply.github.com>
2020-02-13 17:41:24 -08:00
Vishal Mishra 3cd38f5746 Increment Version. 2019-12-20 15:47:36 -08:00
Vishal Mishra 5ea81a8b93 Do not output JSON to stdout[DualPass] (#962) 2019-12-20 15:47:36 -08:00
Vishal Mishra 02b0a69741 Migrate crypt mount to crypttab[DualPass] (#929)
* Migrate crypt mount to crypttab[DualPass]

* slightly change the RD migration logic

* add vscode lint settings

* copy over some tests from sp branch

* fix and enhance some tests

* fix tests a little more

* add tests for the migrate method and add some advanced file mocking

* increment version number

* fix an endline issue

* Fix add resource disk to crypttab
2019-12-20 15:47:36 -08:00
Eric Jarvi 4276f4645c ADE DP use 2.6 compatible dictionary syntax (#889)
* use 2.6 compatible dictionary syntax

* add space after comma
2019-09-23 12:45:09 -07:00
Eric Jarvi a91b9542bf improve error handling when no settings file present (#905) 2019-09-23 12:45:09 -07:00
Vishal Mishra 0083247d85 Fix Dual Pass test failures. (#898) 2019-09-23 12:45:09 -07:00
Eric Jarvi 64375ebe66 fix unsupported file system warning for dual pass extension (#887) 2019-09-23 12:45:09 -07:00
Eric Jarvi b4edc38199 add CentOS 7.7 and RHEL 7.7 (#885) 2019-09-23 12:45:09 -07:00
Eric Jarvi da0a5916f7 fix mapper_name typo 2019-08-16 11:46:15 -07:00
Eric Jarvi e388d37c13 ADE dual pass settings parsing (#861)
* updates to settings parsing

* string change

* fix syntax error

* remove unused restore_old_configs method
2019-08-16 11:46:15 -07:00
Vishal Mishra 9c0ae49933 Used Space Encryption for Ubuntu, CentOS and RHEL/CentOS LVM[DualPass] (#850) 2019-08-16 11:46:15 -07:00
Shiv Verma 201f7c0e80
porting over fix from single pass branch (#840) 2019-07-01 14:59:58 -07:00
Shiv Verma 03e9c95d99
Fix for the encryption status [DualPass] (#822)
Reconcile the logic used to select disks to encrypt and the logic used to report encryption state.
2019-06-24 18:22:44 -07:00
Shiv Verma 34f0e86483
Auto Unlock for ADE on new VMs [Dual Pass] (#831)
Add a parser crypttab
Add a post-reimage restore mechanism for crypttab
Add methods to judge which unlock mechanism to use (old azure_crypt_mount vs crypttab)
Unmount BEK VOLUME when it is needed to unmount RD (and then remount it again).
Lint handle.py a little
2019-06-24 15:53:07 -07:00
Shiv Verma be55134f4b
Resource Disk Reboot fix [Dual Pass] (#812)
* copy over resource disk changes from single pass
* copy over fixes from single pass branch
* fix tests
* increment minor version
2019-05-23 17:30:56 -07:00
Vishal Mishra 16916794a4
Used space encryption and CentOS 7.6 support[DualPass] (#803) 2019-05-17 11:14:13 -07:00
Vishal Mishra ea4125f0c7
Timeout apt-get update if it is taking more time than expected[DualPass] (#794) 2019-05-17 11:07:14 -07:00
Shiv Verma 6a5c70ff22
Add a repack after key remove (#796)
* add a repack after key remove

* address comments
2019-05-06 17:01:50 -07:00
Vishal Mishra 7157041433
Fix getFlag error on Ubuntu 16.04 (#784) 2019-04-16 16:05:55 -07:00
Vishal Mishra 99cd1f7b21
Check if OS encryption is supported for Distro,Version and Kernel combination. (#776) 2019-04-09 17:07:41 -07:00
Vishal Mishra 737fceb4c6
ADE DP March QoS (#775)
1. Fail OS encryption if memory less than 7 GB
2. Do apt-get update only when install fais
2019-04-01 11:42:38 -07:00
Eric Jarvi 765df95f37
ADE DP March QOS (#768)
Add checks for vfat module and AADClientID
2019-03-29 11:12:29 -07:00
Shiv Verma 69fc1875d5
Add support for Ubuntu 18 [DualPass] (#771)
* add support for ubuntu 18
2019-03-21 15:36:59 -07:00
Shiv Verma 8990cbc0ab
Stop using by-id paths for devices getting encrypted [DualPass] (#764)
* use persistent path instead of by-id path
* removing old unused methods
2019-03-14 10:32:57 -07:00
Vishal Mishra a163e3fb45 Automatically restart VM after dual pass encryption completes. (#756)
- adds auto reboot at the end of encryption, removing need of manual restart by the customer
2019-03-08 14:43:21 -08:00
Eric Jarvi 502e5f1e58
ADE DP Feb QOS - fix syntax error in ExtensionParameter.py (#754)
* fix _is_encrypt_command syntax errors
2019-02-27 17:04:48 -08:00
Shiv Verma e01e578f30
Add support for newer versions of rhel and centos (#753)
* add support for newer versions of rhel (7.6) and centos (7.5)
2019-02-27 16:44:25 -08:00
Shiv Verma 80c2748eb0
Fix Disk Util and Bek Disk Mounting in ADE(#711)
* fix disk util

* fix bek mount and add tests for check util

* remove printing of key vault response to the logs

* lint the bekutil class

* refactor out the osencrypt string

* fix bugs and lint changed files

* lint some source files

* increment version and fix error printing
2019-02-25 16:54:20 -08:00
Eric Jarvi ffc056c4f9
ADE DP Jan QOS (#731)
QOS telemetry based fixes 
* (install) fix timeout related install failures when restoring old configs
* (enable) fail fast using extension shim when python 2.7 is missing
* (enable) fail fast on incompatible LVM OS disk naming schemes
2019-02-05 21:57:51 -08:00
mayank88mahajan bc1ef8f7bb
Azure Disk Encryption: Bug fixs for Encryption status and Update encryption settings no boot scenario (#707)
* Fix encryption status bug and UpdateEncryptionSettings no boot bug

* Fix typo

* Add missing '

* Added log statement while regenerating initrd during Update enc settings flow

* Increment extension version number - 2-pass extension

* Fix bugs
2018-12-20 12:44:25 -08:00
Eric Jarvi 60194d2454
ADE DP QOS Improvements (#698)
* simplify adal preinstall logic

* fix ubuntu patching to use apt-get

* improve message for SUSE 11 when python-pip and adal are missing

* limit adal to cert auth path, use SCL on RHEL

* fix access token call in client cert case

* adal client cert path bug fixes
2018-11-21 16:26:52 -08:00
Shiv Verma 70c1d173cf
Remove KeyVault ID checks for Dual Pass extension as they are never used (#685)
* remove all checking code

* remove kek id check tests

* skip kv checks for disable operations
2018-11-09 13:49:36 -08:00
Shiv Verma 0404867236
Add input validation to the ADE-DP extension (#676) 2018-10-30 15:35:21 -07:00
Eric Jarvi 92591d6415
ADE DP QOS Improvements (#656)
* streamline install, remove ntfs references

* move longer running package install to daemon
2018-10-10 17:17:53 -07:00
Shiv Verma 1008b9347a Add ADE support for RHEL 7.5 and Centos 7.4 (#575)
* add centos 7.4 detection

* fix typo in update()

* add rhel 7.5

* increment version
2018-05-24 15:46:31 -07:00
Shiv Verma 4ba821aa8a Fix typo in 91ADE module (#582)
* fix typo in cryptroot-ask-ade

* increment version
2018-05-11 11:12:17 -07:00
Shiv Verma 4928480fe2
Fix ADE dracut race condition (#572)
* move away from ask password

* add retries and removed unnecessary crypttab entries

* add kver param

* add kver in the fresh vm path as well

* use ExecuteInBash instead of Execute for dracut cmd

* incerement version number

* remove version checks

* increment version

* add back the major version check
2018-05-02 12:22:45 -07:00
Shiv Verma a66cd080d5
ADE: Fix for the NCAT and LVM issues (#569)
* add nmap and lvm fixes to the update path

* remove install_extras from the update path

* make update path more robust
2018-04-20 11:11:38 -07:00
ahmadmsft 05146bfd73 Ahmad dracut rhel fix (#555)
* Remove 91lvm rename command

* Increment version
2018-04-06 17:43:39 -07:00
ahmadmsft 454457fc81 Ahmad dracut rhel fix (#553)
* Fix bug in CentOS update path
2018-04-03 15:36:24 -07:00
ahmadmsft 0ea19f1afa Ahmad dracut rhel fix (#550)
* add a new dracut module

* incremented version

* Fixing bug copying dracut module

* Add new files to config

* Bug fixes in python script

* Add 91ade support for RHEL LVM

* Increment Version

* Implement update codepath for 91ade
2018-03-29 16:21:10 -07:00
Eric Jarvi 46d78411f5
fix CheckUtil syntax (#538)
* fix CheckUtil syntax

* increment version number
2018-03-12 13:16:22 -07:00
ahmadmsft 27757d457c 91ADE implementation for Auto unlock (#523)
* add a new dracut module

* incremented version

* Fixing bug copying dracut module

* Add new files to config

* Bug fixes in paython script

* Add 91ade support for RHEL LVM

* Increment Version
2018-03-07 14:55:23 -08:00
Shiv Verma 7223ba9ba6
Merge branch 'master' into rdcrypt 2018-01-31 15:00:10 -08:00
Eric Jarvi 36b03bc8ca fine tuning of constants, paths, extensions 2018-01-29 16:31:15 -08:00
Eric Jarvi c0d8b79be1 merge 999308 RHEL updates 2018-01-16 16:15:53 -08:00
Eric Jarvi c46da34c22 add prechecks 2018-01-12 22:51:37 -08:00
Eric Jarvi 1a6bc8742d increment version number 2018-01-09 15:09:22 -08:00