Solved Upgrading from V16 to v18 (GCloud)

Status
Not open for further replies.

walsermedia

Customer
Basic Certified
Joined
Mar 14, 2020
Messages
13
Reaction score
2
When trying to upgrade from v16 to v18 some problems occur. it's a glcoud hosted instance:

Code:
Aug  9 17:03:51 XX google_guest_agent[703]: 2021/08/09 17:03:51 logging client: rpc error: code = Unauthenticated desc = transport: metadata: GCE metadata "instance/service-accounts/default/token?scopes=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Flogging.write" not defined
Aug  9 17:05:01 XX CRON[11162]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Aug  9 17:05:04 XX OSConfigAgent[18660]: 2021-08-09T17:05:04.7698+02:00 OSConfigAgent Warning: Error waiting for task (attempt 1 of 10): error fetching Instance IDToken: error getting token from metadata: metadata: GCE metadata "instance/service-accounts/default/identity?audience=osconfig.googleapis.com&format=full" not defined
Aug  9 17:05:05 XX OSConfigAgent[18660]: 2021-08-09T17:05:05.7732+02:00 OSConfigAgent Warning: Error waiting for task (attempt 2 of 10): error fetching Instance IDToken: error getting token from metadata: metadata: GCE metadata "instance/service-accounts/default/identity?audience=osconfig.googleapis.com&format=full" not defined
Aug  9 17:05:10 XX OSConfigAgent[18660]: 2021-08-09T17:05:10.7750+02:00 OSConfigAgent Warning: Error waiting for task (attempt 3 of 10): error fetching Instance IDToken: error getting token from metadata: metadata: GCE metadata "instance/service-accounts/default/identity?audience=osconfig.googleapis.com&format=full" not defined
Aug  9 17:05:20 XX OSConfigAgent[18660]: 2021-08-09T17:05:20.7769+02:00 OSConfigAgent Warning: Error waiting for task (attempt 4 of 10): error fetching Instance IDToken: error getting token from metadata: metadata: GCE metadata "instance/service-accounts/default/identity?audience=osconfig.googleapis.com&format=full" not defined
Aug  9 17:05:39 XX OSConfigAgent[18660]: 2021-08-09T17:05:39.7785+02:00 OSConfigAgent Warning: Error waiting for task (attempt 5 of 10): error fetching Instance IDToken: error getting token from metadata: metadata: GCE metadata "instance/service-accounts/default/identity?audience=osconfig.googleapis.com&format=full" not defined
Aug  9 17:06:06 XX OSConfigAgent[18660]: 2021-08-09T17:06:06.7809+02:00 OSConfigAgent Warning: Error waiting for task (attempt 6 of 10): error fetching Instance IDToken: error getting token from metadata: metadata: GCE metadata "instance/service-accounts/default/identity?audience=osconfig.googleapis.com&format=full" not defined
Aug  9 17:06:42 XX OSConfigAgent[18660]: 2021-08-09T17:06:42.2564+02:00 OSConfigAgent Error policies.go:49: Error running LookupEffectiveGuestPolicies: error getting token from metadata: metadata: GCE metadata "instance/service-accounts/default/identity?audience=osconfig.googleapis.com&format=full" not defined
Aug  9 17:06:44 XX OSConfigAgent[18660]: 2021-08-09T17:06:44.3715+02:00 OSConfigAgent Error inventory.go:76: Error reporting inventory checksum: error getting token from metadata: metadata: GCE metadata "instance/service-accounts/default/identity?audience=osconfig.googleapis.com&format=full" not defined
Aug  9 17:06:46 XX OSConfigAgent[18660]: 2021-08-09T17:06:46.7825+02:00 OSConfigAgent Warning: Error waiting for task (attempt 7 of 10): error fetching Instance IDToken: error getting token from metadata: metadata: GCE metadata "instance/service-accounts/default/identity?audience=osconfig.googleapis.com&format=full" not defined
Aug  9 17:07:39 XX OSConfigAgent[18660]: 2021-08-09T17:07:39.7846+02:00 OSConfigAgent Warning: Error waiting for task (attempt 8 of 10): error fetching Instance IDToken: error getting token from metadata: metadata: GCE metadata "instance/service-accounts/default/identity?audience=osconfig.googleapis.com&format=full" not defined
Aug  9 17:08:47 XX OSConfigAgent[18660]: 2021-08-09T17:08:47.7864+02:00 OSConfigAgent Warning: Error waiting for task (attempt 9 of 10): error fetching Instance IDToken: error getting token from metadata: metadata: GCE metadata "instance/service-accounts/default/identity?audience=osconfig.googleapis.com&format=full" not defined
 
Last edited:
Just to get a bit more information first:

1. Do you also receive an email regarding the failed upgrade?

2. Do you still have access to the 3CX Management Console? Do any errors pop-up there?

3. What happens when you attempt the upgrade, does it log you out from the Management Console and then nothing happens?

4. How was this instance deployed was it via the PBX Express, Google Marketplace, etc?
 
@ChrisC_3CX
1. Yes, I receive an email about the failed upgrade.
2. Yes, access is still possible. No pop-ups or errors (only an entry in the event log:
Your 3CX Debian OS failed to update)
3. It logs me out from the management console, that's it.
4. I deployed this instance today (reinstall) via in the customer portal, this should be the pbx express it think.
 
Just to update, there was an unrecognized source list in one of the files in /etc/apt/sources.list.d/, that's why it was failing.
 
  • Like
Reactions: ChrisC_3CX
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,081
Members
164,899
Latest member
mazet