Salta al contenuto

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?

posta 4 anni fa1,1K visualizzazioni

2 Risposte
0
Risposta accettata

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
ESPERTO

con risposta 4 anni fa

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.

con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.