Project

General

Profile

Bug #13314

jails cannot be managed

Added by David Milton over 4 years ago. Updated about 3 years ago.

Status:
Closed: Not To Be Fixed
Priority:
No priority
Assignee:
John Hixson
Category:
Middleware
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:

Supermicro X7DBN with 16G ECC ram and 6 x 3TB drives as zfs stripe/mirror pairs.

ChangeLog Required:
No

Description

Hello,

Something has happened to my configuration database and now whenever I click on Jails I get this error: {"message": "Error: no such column: jails_jailsconfiguration.jc_ipv4_dhcp", "events": [], "error": true}

This error in the database also prevents me from upgrading. I have a backup of the customization made to the jails so blowing them all away and recreating them is a viable but less desirable option.

I have backups of my configuration but when I try and use one I'm told "newer version than the current installed" in my backup than is "running".

The jails start but are not functioning correctly because the shared filesystems aren't being mounted any more.

How can I get back to a working system?

History

#1 Updated by David Milton over 4 years ago

  • File ixdiagnose.tgz added

#2 Updated by David Milton over 4 years ago

Another detail that may be of value. I tried to install "crash-plan" and then decided I didn't want it and deleted it. It was around the same time that the problems with my jails began. The last message from warden is successful installation but I did try to delete it from the GUI.

#3 Updated by David Milton over 4 years ago

  • Hardware Configuration updated (diff)

#4 Updated by David Milton over 4 years ago

I've managed to get back to the point where I can see/manage the jails. I cloned my initial working installation, applied the latest updates, and restored from a recent configuration. I do have the "broken" boot clone so I can go back to that for testing purposes should that be helpful. I also save the following jail related directories:
drwxr-xr-x 5 root wheel 5B Aug 7 15:26 .warden-files-cache/
drwxr-xr-x 2 root wheel 2B Aug 24 2014 .warden-template-centos-6.4/
drwxr-xr-x 2 root wheel 2B Dec 28 15:10 .warden-template-pluginjail/
drwxr-xr-x 2 root wheel 2B Dec 26 20:26 .warden-template-pluginjail-9.2-x64/
drwxr-xr-x 17 root wheel 21B Aug 21 18:32 .warden-template-standard/
drwxr-xr-x 2 root wheel 2B Dec 26 20:26 .warden-template-standard--x64/
drwxr-xr-x 17 root wheel 21B Aug 23 2014 .warden-template-standard-9.2-x64/

I am wondering about the centos-6.4 and standard--x64 in particular, I don't have a Linux jail and the double hyphen in the name seems odd/out of place. Can I delete these? Also, only two of them (tank/jails/.warden-template-standard and .warden-template-standard-9.2-x64) have corresponding zfs datasets. Can I clean up the others?
Is there a document explaining how these bits fit together?

#5 Updated by Jordan Hubbard over 4 years ago

  • Status changed from Unscreened to Closed: Not To Be Fixed

There really isn't any documentation since the existing jails mechanism and UI were basically the result of a 2 week bender involving everclear and orange juice (gotta get your vitamins) and the fact that jails work at all is largely by luck in 9.3. We've started completely from scratch in 10, throwing all of the existing jail management code away, and have basically put the current bits on absolute minimum (some would say no) life support. I suggest some manual jails cleanup on your box and holding out for just a couple more months!

#6 Avatar?id=14398&size=24x24 Updated by Kris Moore about 4 years ago

  • Seen in changed from Unspecified to N/A

#7 Updated by Dru Lavigne about 3 years ago

  • File deleted (ixdiagnose.tgz)

#8 Updated by Dru Lavigne about 3 years ago

  • Target version set to N/A
  • Private changed from Yes to No

Also available in: Atom PDF