Project

General

Profile

Bug #53613

Catch exception on cloud sync credentials decrypt during migration

Added by Andy Boatman almost 3 years ago. Updated almost 3 years ago.

Status:
Done
Priority:
No priority
Assignee:
William Grzybowski
Category:
Middleware
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

I tried updating to 11.2-RC1 from 11.1-U6 yesterday, but it failed miserably with multiple errors starting with Middlewared not starting after 4 minutes. So, I tried a clean install of 11.2 and restore my config from 11.1. 11.2 installs successfully, and everything looks good. The config seems to be parsing, but after a reboot, no changes are applied. I thought maybe there is something in my config that's corrupted, so to check I reload 11.1, restore my config, and everything is as it should be. So, I guess there is something in my config that 11.2 specifically doesn't like. I tried upgrading one more time so I can get the logs. I'll attach middlewared.log and /var/log/messages now, since they seem to be the most relevant. I have the whole log folder, if anything else is needed.


Related issues

Copied to FreeNAS - Bug #54375: Catch exception on cloud sync credentials decrypt during migrationDone
Copied to FreeNAS - Bug #54402: Catch exception on cloud sync credentials decrypt during migrationClosed

Associated revisions

Revision ac9d450f (diff)
Added by William Grzybowski almost 3 years ago

fix(migration): catch exception on cloud sync credentials decrypt Ticket: #53613

Revision bace7a7b (diff)
Added by William Grzybowski almost 3 years ago

fix(migration): catch exception on cloud sync credentials decrypt Ticket: #53613

Revision f0acebe7 (diff)
Added by William Grzybowski almost 3 years ago

fix(migration): catch exception on cloud sync credentials decrypt Ticket: #53613 (cherry picked from commit bace7a7b3eddc641bbe1dd0e09beebd5d1003896)

History

#1 Updated by Dru Lavigne almost 3 years ago

  • Assignee changed from Release Council to William Grzybowski
  • Private changed from No to Yes

#2 Updated by William Grzybowski almost 3 years ago

  • Status changed from Unscreened to Blocked
  • Reason for Blocked set to Need additional information from Author

How are you uploading your config? new UI? Can you also try in legacy UI?

Please also attach Save Debug (System - Advanced) and if possible the configuration database.

#3 Updated by Andy Boatman almost 3 years ago

  • File freenas-FreeNAS-11.1-U6 (caffd76fa)-20181023200315.db added

William Grzybowski wrote:

How are you uploading your config? new UI? Can you also try in legacy UI?

Please also attach Save Debug (System - Advanced) and if possible the configuration database.

I am uploading the config from the new UI. I'll give it a try from the legacy UI tonight.

Do I need to attach the debug from 11.2 after it breaks, or running 11.1? I've attached the config I'm uploading.

#4 Updated by William Grzybowski almost 3 years ago

Andy Boatman wrote:

William Grzybowski wrote:

How are you uploading your config? new UI? Can you also try in legacy UI?

Please also attach Save Debug (System - Advanced) and if possible the configuration database.

I am uploading the config from the new UI. I'll give it a try from the legacy UI tonight.

Do I need to attach the debug from 11.2 after it breaks, or running 11.1? I've attached the config I'm uploading.

From 11.2 after it breaks.

Do you have a /data/update.failed file after the failure? If so attach that it please.

Thanks

#5 Updated by Andy Boatman almost 3 years ago

William Grzybowski wrote:

Do you have a /data/update.failed file after the failure? If so attach that it please.

Thanks

I don't, but I'll get a copy when it breaks again.

#6 Updated by Bug Clerk almost 3 years ago

  • Status changed from Blocked to In Progress

#7 Updated by Bug Clerk almost 3 years ago

  • Status changed from In Progress to Ready for Testing

#8 Updated by Bug Clerk almost 3 years ago

  • Target version changed from Backlog to 11.3

#9 Updated by Dru Lavigne almost 3 years ago

  • File deleted (middlewared.log.txt)

#10 Updated by Bug Clerk almost 3 years ago

  • Copied to Bug #54375: Catch exception on cloud sync credentials decrypt during migration added

#11 Updated by Dru Lavigne almost 3 years ago

  • File deleted (messages)

#12 Updated by Dru Lavigne almost 3 years ago

  • File deleted (freenas-FreeNAS-11.1-U6 (caffd76fa)-20181023200315.db)

#13 Updated by Dru Lavigne almost 3 years ago

  • Subject changed from Upgrade from 11.1-U6 to 11.2-RC1 fails; config from 11.1-U6 won't restore to fresh 11.2-RC1 install to Catch exception on cloud sync credentials decrypt during migration
  • Private changed from Yes to No
  • Reason for Blocked deleted (Need additional information from Author)
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#14 Updated by Bug Clerk almost 3 years ago

  • Copied to Bug #54402: Catch exception on cloud sync credentials decrypt during migration added

#15 Updated by Dru Lavigne almost 3 years ago

  • Status changed from Ready for Testing to Done
  • Target version changed from 11.3 to Master - FreeNAS Nightlies
  • Needs QA changed from Yes to No

Also available in: Atom PDF