MySQL doesn't deploy due to oversized dataset

Bug #1300899 reported by Jorge Castro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Expired
Undecided
Unassigned

Bug Description

At first this looks like bug #1247229 but I hit this on another machine.

2014-04-01 17:12:12 INFO juju-log dataset size in bytes: 13706985472

The default dataset-size is too huge, that's like 13 gigs. Setting it to a more reasonable setting fixes this. Maybe the default calculation is messed up or something. Perhaps default to a percentage of the unit?

Tags: audit
Revision history for this message
Jorge Castro (jorge) wrote :

This might be LXC specific if the host has a bunch of RAM.

Revision history for this message
Matt Bruzek (mbruzek) wrote :

I found a possible way to detect if you are running in LXC.

sudo cat /proc/1/environ
container=lxc

On my laptop the same command reports

$ sudo cat /proc/1/environ
HOME=/init=/sbin/initrecovery=TERM=linuxBOOT_IMAGE=/boot/vmlinuz-3.13.0-19-genericPATH=/sbin:/usr/sbin:/bin:/usr/binPWD=/rootmnt=/root

On the Power KVM machine wolfe-01 it reports:
sudo cat /proc/1/environ
HOME=/init=/sbin/initrecovery=TERM=linuxBOOT_IMAGE=/boot/vmlinux-3.13.0-19-genericPATH=/sbin:│/usr/sbin:/bin:/usr/binPWD=/rootmnt=/root

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 1300899] Re: MySQL doesn't deploy due to oversized dataset

Is this a bug in juju-core? It sounds like a bug in the MySQL charm.

On Tue, Apr 1, 2014 at 9:44 PM, Matt Bruzek <email address hidden>wrote:

> I found a possible way to detect if you are running in LXC.
>
> sudo cat /proc/1/environ
> container=lxc
>
> On my laptop the same command reports
>
> $ sudo cat /proc/1/environ
>
> HOME=/init=/sbin/initrecovery=TERM=linuxBOOT_IMAGE=/boot/vmlinuz-3.13.0-19-genericPATH=/sbin:/usr/sbin:/bin:/usr/binPWD=/rootmnt=/root
>
> On the Power KVM machine wolfe-01 it reports:
> sudo cat /proc/1/environ
>
> HOME=/init=/sbin/initrecovery=TERM=linuxBOOT_IMAGE=/boot/vmlinux-3.13.0-19-genericPATH=/sbin:│/usr/sbin:/bin:/usr/binPWD=/rootmnt=/root
>
> --
> You received this bug notification because you are subscribed to juju-
> core.
> https://bugs.launchpad.net/bugs/1300899
>
> Title:
> MySQL doesn't deploy due to oversized dataset
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju-core/+bug/1300899/+subscriptions
>

Changed in juju-core:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for juju-core because there has been no activity for 60 days.]

Changed in juju-core:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.