跳至內容

How to force AWS Gateway Update

0

My gateway has a message of "A new software update is available. This may generate an automatic restart of your gateway."

However, when I click Apply Update Now, the green message pops up along the top, but the Gateway never updates.

Any idea why this happens?

已提問 4 年前檢視次數 1063 次

2 個答案
0
已接受的答案

I am assuming you are talking about Storage Gateway.

Use CLI to force an update:

Get the ARN

aws storagegateway list-gateways { "Gateways": [ { "GatewayId": "sgw-VVVVV", "GatewayARN": "arn:aws:storagegateway:us-east-1:XXXXX:gateway/sgw-VVVVV", "GatewayName": "HHHHHHH", "GatewayOperationalState": "ACTIVE", "GatewayType": "FILE_S3" }, { "GatewayId": "sgw-GGGGGG", "GatewayARN": "arn:aws:storagegateway:us-east-1:XXXXXX:gateway/sgw-GGGGGG", "GatewayName": "dskhdksj", "GatewayOperationalState": "ACTIVE", "GatewayType": "FILE_S3" } ] } With the ARN you could now force the update:

aws storagegateway update-gateway-software-now --gateway-arn arn:aws:storagegateway:us-west-1:XXXXX:gateway/sgw-HGHJGJ { "GatewayARN": "arn:aws:storagegateway:us-west-1:XXXXX:gateway/sgw-GHGHGH" } More info here: https://docs.aws.amazon.com/cli/latest/reference/storagegateway/update-gateway-software-now.html

AWS
專家

已回答 4 年前

0

I am having the same issue as the OP. Trying the AWS CLI command above gives the same result as clicking "Apply update now" in the console, I get a response but the update does not get applied.

The gateway shows as "Running" (with an exclamation mark signifying the available update) and an "OK" alarm state. It is currently at version 1.26.9 and the latest available update is 1.27.10.

Other than restarting the gateway appliance, is there anything else I can do via the console or CLI to prompt the update, or get more info on my it's not being applied? Cloudwatch logs are empty and the debug output from the CLI command doesn't help as the command is seen as being successful.

已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。