Skip to content

Commit

Permalink
Update HGAP minimum required version for FastTrack (Azure#2549)
Browse files Browse the repository at this point in the history
Co-authored-by: narrieta <narrieta>
  • Loading branch information
narrieta authored Apr 13, 2022
1 parent a5bb869 commit 50eaac1
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 12 deletions.
5 changes: 2 additions & 3 deletions azurelinuxagent/common/protocol/hostplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,9 +547,8 @@ def format_message(msg):
logger.info(message)
add_event(op=WALAEventOperation.HostPlugin, message=message, is_success=True)

# Don't support HostGAPlugin versions older than 123
# TODO: update the minimum version to 1.0.8.123 before release
if vm_settings.host_ga_plugin_version < FlexibleVersion("1.0.8.117"):
# Don't support HostGAPlugin versions older than 124
if vm_settings.host_ga_plugin_version < FlexibleVersion("1.0.8.124"):
raise_not_supported()

self._supports_vm_settings = True
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"hostGAPluginVersion": "1.0.8.123",
"hostGAPluginVersion": "1.0.8.124",
"vmSettingsSchemaVersion": "0.0",
"activityId": "a33f6f53-43d6-4625-b322-1a39651a00c9",
"correlationId": "9a47a2a2-e740-4bfc-b11b-4f2f7cfe7d2e",
Expand Down
2 changes: 1 addition & 1 deletion tests/data/hostgaplugin/vm_settings-empty_depends_on.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"hostGAPluginVersion": "1.0.8.123",
"hostGAPluginVersion": "1.0.8.124",
"vmSettingsSchemaVersion": "0.0",
"activityId": "2e7f8b5d-f637-4721-b757-cb190d49b4e9",
"correlationId": "1bef4c48-044e-4225-8f42-1d1eac1eb158",
Expand Down
2 changes: 1 addition & 1 deletion tests/data/hostgaplugin/vm_settings-invalid_blob_type.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"hostGAPluginVersion": "1.0.8.123",
"hostGAPluginVersion": "1.0.8.124",
"vmSettingsSchemaVersion": "0.0",
"activityId": "2e7f8b5d-f637-4721-b757-cb190d49b4e9",
"correlationId": "1bef4c48-044e-4225-8f42-1d1eac1eb158",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"hostGAPluginVersion": "1.0.8.123",
"hostGAPluginVersion": "1.0.8.124",
"vmSettingsSchemaVersion": "0.0",
"activityId": "89d50bf1-fa55-4257-8af3-3db0c9f81ab4",
"correlationId": "c143f8f0-a66b-4881-8c06-1efd278b0b02",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"hostGAPluginVersion": "1.0.8.123",
"hostGAPluginVersion": "1.0.8.124",
"vmSettingsSchemaVersion": "0.0",
"activityId": "a33f6f53-43d6-4625-b322-1a39651a00c9",
"correlationId": "9a47a2a2-e740-4bfc-b11b-4f2f7cfe7d2e",
Expand Down
2 changes: 1 addition & 1 deletion tests/data/hostgaplugin/vm_settings-out-of-sync.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"hostGAPluginVersion": "1.0.8.123",
"hostGAPluginVersion": "1.0.8.124",
"vmSettingsSchemaVersion": "0.0",
"activityId": "AAAAAAA-BBBB-CCCC-DDDD-EEEEEEEEEEEE",
"correlationId": "EEEEEEEE-DDDD-CCCC-BBBB-AAAAAAAAAAAA",
Expand Down
2 changes: 1 addition & 1 deletion tests/data/hostgaplugin/vm_settings-parse_error.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"hostGAPluginVersion": "1.0.8.123",
"hostGAPluginVersion": "1.0.8.124",
"vmSettingsSchemaVersion": THIS_IS_A_SYNTAX_ERROR,
"activityId": "a33f6f53-43d6-4625-b322-1a39651a00c9",
"correlationId": "9a47a2a2-e740-4bfc-b11b-4f2f7cfe7d2e",
Expand Down
2 changes: 1 addition & 1 deletion tests/data/hostgaplugin/vm_settings-requested_version.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"hostGAPluginVersion": "1.0.8.123",
"hostGAPluginVersion": "1.0.8.124",
"vmSettingsSchemaVersion": "0.0",
"activityId": "a33f6f53-43d6-4625-b322-1a39651a00c9",
"correlationId": "9a47a2a2-e740-4bfc-b11b-4f2f7cfe7d2e",
Expand Down
2 changes: 1 addition & 1 deletion tests/data/hostgaplugin/vm_settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"hostGAPluginVersion": "1.0.8.123",
"hostGAPluginVersion": "1.0.8.124",
"vmSettingsSchemaVersion": "0.0",
"activityId": "a33f6f53-43d6-4625-b322-1a39651a00c9",
"correlationId": "9a47a2a2-e740-4bfc-b11b-4f2f7cfe7d2e",
Expand Down

0 comments on commit 50eaac1

Please sign in to comment.