[Bug 1153344] Re: Postrotate script goes wrong

2013-03-13 Thread Yolanda Robla
Thanks for reporting this
Can you take a look at this post? 
http://ubuntuforums.org/showthread.php?t=1418987

** Changed in: mysql-5.5 (Ubuntu)
   Status: New = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.5 in Ubuntu.
https://bugs.launchpad.net/bugs/1153344

Title:
  Postrotate script goes wrong

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.5/+bug/1153344/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1153024] Re: just started system and logged on -- package mysql-server-5.5 5.5.29-0ubuntu0.12.04.2 failed to install/upgrade: subprocess installed post-installation script returned error exit sta

2013-03-13 Thread Yolanda Robla
Looking at the error logs, seems like a problem with your existing
databases, in the logs there are syntax errors. Can you try with a fresh
install?


** Changed in: mysql-5.5 (Ubuntu)
   Status: New = Invalid

** Changed in: mysql-5.5 (Ubuntu)
   Status: Invalid = Confirmed

** Changed in: mysql-5.5 (Ubuntu)
   Importance: Undecided = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.5 in Ubuntu.
https://bugs.launchpad.net/bugs/1153024

Title:
  just started system and logged on -- package mysql-server-5.5
  5.5.29-0ubuntu0.12.04.2 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.5/+bug/1153024/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1061244] Re: Fix net rpc share allowedusers to work with 2008r2

2013-03-13 Thread Miklos Juhasz
** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1061244

Title:
  Fix net rpc share allowedusers to work with 2008r2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1061244/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1154547] [NEW] [SRU] Ceph 0.48.3 point release update

2013-03-13 Thread James Page
Public bug reported:

As agreed with the technical board, Ceph now has a provisonal MRE for
Ceph in 12.10 onwards for upstream LTS point releases.

Ubuntu 12.10 currently has Ceph 0.48.2; upstream released 0.48.3 a month
or so ago.

Please upgrade.

** Affects: ceph (Ubuntu)
 Importance: Undecided
 Status: Invalid

** Affects: ceph (Ubuntu Quantal)
 Importance: Medium
 Assignee: James Page (james-page)
 Status: Triaged

** Also affects: ceph (Ubuntu Quantal)
   Importance: Undecided
   Status: New

** Changed in: ceph (Ubuntu)
   Status: New = Invalid

** Changed in: ceph (Ubuntu Quantal)
   Importance: Undecided = Medium

** Changed in: ceph (Ubuntu Quantal)
   Status: New = Triaged

** Changed in: ceph (Ubuntu Quantal)
 Assignee: (unassigned) = James Page (james-page)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/1154547

Title:
  [SRU] Ceph 0.48.3 point release update

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1154547/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 901180] Re: cannot apt-get remove vsftp after installing it

2013-03-13 Thread Basavaraj Chougala
Dear Sir,

Error is there in VSFTPD server , So I want to delete this Package and
it's  Config file,  script file, dependencies packages and Everything
related to VSFTPD Package.

for that, Which commands I have to run on Terminal in Ubuntu 12.04 ?


Please kindly Help me Sir..

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vsftpd in Ubuntu.
https://bugs.launchpad.net/bugs/901180

Title:
  cannot apt-get remove vsftp after installing it

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vsftpd/+bug/901180/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 567538] Re: [libsnmp-base] unnecessary dependency on gawk

2013-03-13 Thread Bug Watch Updater
** Changed in: net-snmp (Debian)
   Status: New = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to net-snmp in Ubuntu.
https://bugs.launchpad.net/bugs/567538

Title:
  [libsnmp-base] unnecessary dependency on gawk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/567538/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1150720] Re: There is now a dependency on paramiko v1.9.0

2013-03-13 Thread James Page
** Also affects: paramiko (Ubuntu Precise)
   Importance: Undecided
   Status: New

** Also affects: paramiko (Ubuntu Quantal)
   Importance: Undecided
   Status: New

** Changed in: paramiko (Ubuntu Quantal)
   Status: New = Triaged

** Changed in: paramiko (Ubuntu Precise)
   Status: New = Triaged

** Changed in: paramiko (Ubuntu Precise)
   Importance: Undecided = High

** Changed in: paramiko (Ubuntu Quantal)
   Importance: Undecided = High

** Also affects: cinder (Ubuntu)
   Importance: Undecided
   Status: New

** No longer affects: cinder (Ubuntu Precise)

** No longer affects: cinder (Ubuntu Quantal)

** Changed in: cinder (Ubuntu Raring)
   Status: New = Triaged

** Changed in: cinder (Ubuntu Raring)
   Importance: Undecided = High

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cinder in Ubuntu.
https://bugs.launchpad.net/bugs/1150720

Title:
  There is now a dependency on paramiko v1.9.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1150720/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1153077] Re: rabbitmq queue fills up and salary stops executing tasks when upload_dhcp_leases is done every minute (by default)

2013-03-13 Thread Mark Stillwell
As an update, the problem does not go away actually, it just takes
longer to develop. So, for some reason a task is getting hung or
something, causing all tasks behind it to not be executed and filling
the queue.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/1153077

Title:
  rabbitmq queue fills up and salary stops executing tasks when
  upload_dhcp_leases is done every minute (by default)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1153077/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 960500] Re: net-snmp-config shift error

2013-03-13 Thread Bug Watch Updater
** Changed in: net-snmp (Debian)
   Status: New = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to net-snmp in Ubuntu.
https://bugs.launchpad.net/bugs/960500

Title:
  net-snmp-config shift error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/960500/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1153626] Re: Multiple Interfaces and IPs not detected in AWS VPC

2013-03-13 Thread Michael Hale
Scott, thanks for the reply. This is not something I need at the moment,
but it does seem like a good way for me to perhaps learn more about
Ubuntu network configuration and udev rules. I did a bit of digging and
found the following files which seem relevant:

/lib/udev/write_net_rules
/lib/udev/rules.d/75-net-description.rules  
/lib/udev/rules.d/75-persistent-net-generator.rules
/etc/udev/rules.d/70-persistent-net.rules

Are there any other starting points I should be aware of?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1153626

Title:
  Multiple Interfaces and IPs not detected in AWS VPC

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1153626/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 916200] Re: missing kernel module ipmi_si module

2013-03-13 Thread Samantha Jian-Pielak
This issue occurs on 12.04.2, too. It's run on an OCP (Open Compute Project) v2 
system. 
$ lsmod |grep ipmi
ipmi_devintf   17708  0 
ipmi_msghandler45979  1 ipmi_devintf
$ sudo modprobe ipmi_si
FATAL: Error inserting ipmi_si 
(/lib/modules/3.5.0-25-generic/kernel/drivers/char/ipmi/ipmi_si.ko): No such 
device

[62158.420904] IPMI System Interface driver.
[62158.420989] ipmi_si: Adding default-specified kcs state machine
[62158.420995] ipmi_si: Trying default-specified kcs state machine at i/o 
address 0xca2, slave address 0x0, irq 0
[62158.421003] ipmi_si: Interface detection failed
[62158.422671] ipmi_si: Adding default-specified smic state machine
[62158.422679] ipmi_si: Trying default-specified smic state machine at i/o 
address 0xca9, slave address 0x0, irq 0
[62158.422686] ipmi_si: Interface detection failed
[62158.446639] ipmi_si: Adding default-specified bt state machine
[62158.446647] ipmi_si: Trying default-specified bt state machine at i/o 
address 0xe4, slave address 0x0, irq 0
[62158.446656] ipmi_si: Interface detection failed
[62158.446804] ipmi_si: Unable to find any System Interface(s)

$ modinfo ipmi_si
filename:   
/lib/modules/3.5.0-25-generic/kernel/drivers/char/ipmi/ipmi_si.ko
...

I will upload the apport info shortly.



** Also affects: opencompute
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ipmitool in Ubuntu.
https://bugs.launchpad.net/bugs/916200

Title:
  missing kernel module ipmi_si module

To manage notifications about this bug go to:
https://bugs.launchpad.net/opencompute/+bug/916200/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1154667] [NEW] When tftpd was converted to upstart, xinetd support was dropped

2013-03-13 Thread LaMont Jones
Public bug reported:

I need to run tftpd from xinetd, and that support was dropped when the
init script was converted to upstart.

Please restore the ability to run tftpd from xinetd.

** Affects: tftp-hpa (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tftp-hpa in Ubuntu.
https://bugs.launchpad.net/bugs/1154667

Title:
  When tftpd was converted to upstart, xinetd support was dropped

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tftp-hpa/+bug/1154667/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 916200] Re: missing kernel module ipmi_si module

2013-03-13 Thread Samantha Jian-Pielak
** Attachment added: ipmi-si-apport.log
   
https://bugs.launchpad.net/opencompute/+bug/916200/+attachment/3572326/+files/ipmi-si-apport.log

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ipmitool in Ubuntu.
https://bugs.launchpad.net/bugs/916200

Title:
  missing kernel module ipmi_si module

To manage notifications about this bug go to:
https://bugs.launchpad.net/opencompute/+bug/916200/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1133608] Re: Duplicate entry '9fe2ff9ee4384b1894a90878d3e92bab' on db_sync

2013-03-13 Thread Dolph Mathews
I believe the bug 1130424 exhibits different symptoms, so I don't think
this is a dupe.

I'm wondering if this was caused as a result of a race condition?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to keystone in Ubuntu.
https://bugs.launchpad.net/bugs/1133608

Title:
  Duplicate entry '9fe2ff9ee4384b1894a90878d3e92bab' on db_sync

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1133608/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1149847] thanks

2013-03-13 Thread Serge Hallyn
importance: medium


** Changed in: open-vm-tools (Ubuntu)
   Importance: Undecided = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to open-vm-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1149847

Title:
  Drag and drop between guest and host doesn't work when Ubuntu is
  installed in a VMware virtual machine

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-vm-tools/+bug/1149847/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1154392] sdf1

2013-03-13 Thread Serge Hallyn
Hi,

the dpkg upgrade log recorded:

* Starting backuppc...    Use of qw(...) as parentheses is deprecated 
at /usr/share/backuppc/lib/BackupPC/Storage/Text.pm line 302.
Use of qw(...) as parentheses is deprecated at 
/usr/share/backuppc/lib/BackupPC/Lib.pm line 1425.
2013-03-12 21:23:51 Can't create a test hardlink between a file in 
/opt/backups/backuppc/pc and /opt/backups/backuppc/cpool.  Either these are 
different file systems, or this file system doesn't support hardlinks, or these 
directories don't exist, or there is a permissions problem, or the file system 
is out of inodes or full.  Use df, df -i, and ls -ld to check each of these 
possibilities. Quitting...

Dmesg shows that /opt is an ext3 fs, which certainly should support
symbolic links.  Could you please show the results of

cd /opt/backups/backuppc
ls -ld
ls -laF
df -i
df

 status: incomplete
 importance: medium


** Changed in: backuppc (Ubuntu)
   Importance: Undecided = Medium

** Changed in: backuppc (Ubuntu)
   Status: New = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to backuppc in Ubuntu.
https://bugs.launchpad.net/bugs/1154392

Title:
  package backuppc 3.2.1-2ubuntu1.1 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/backuppc/+bug/1154392/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1154667] sorry

2013-03-13 Thread Serge Hallyn
Hi,

I'm sorry, but near as i can tell inetd support was actually removed in
the debian package in 2009, not in the upstart conversion.  If you'd
like it re-added, it would be better to do so through debian.

 status: wontfix


** Changed in: tftp-hpa (Ubuntu)
   Status: New = Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tftp-hpa in Ubuntu.
https://bugs.launchpad.net/bugs/1154667

Title:
  When tftpd was converted to upstart, xinetd support was dropped

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tftp-hpa/+bug/1154667/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1133608] Re: Duplicate entry '9fe2ff9ee4384b1894a90878d3e92bab' on db_sync

2013-03-13 Thread Adam Gandelman
Fairly certain this is a duplicate.  The traceback in the original
report is only half the story.  Using G3, a db_sync against a populated
database first ends with error AttributeError: 'NamedTuple' object has
no attribute 'project_id' which Bug #1130424 addresses.  Subsequent
db_sync's after failing once  ends with the IntegrityError originally
reported.  Applying the fix for 1130424 to G3 resolves the issue.

http://paste.ubuntu.com/5611688/

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to keystone in Ubuntu.
https://bugs.launchpad.net/bugs/1133608

Title:
  Duplicate entry '9fe2ff9ee4384b1894a90878d3e92bab' on db_sync

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1133608/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1154803] [NEW] Default constraints prevents the allocation of nodes if they are equal to the HW.

2013-03-13 Thread Andres Rodriguez
Public bug reported:

I have a cluster of machines where all the CPU's are 1, and the
following information is as follows:

Architecture: amd64/generic
CPU Count: 1
Memory: 8192 MB

Now, juju constraints, as specified by [1], default to 1 in the case of
CPU. Looking at the nodes, and being the constraints default to 1, it
leads you to believe that  nodes should be allocated to users given that
they do match the constraints 1 or more CPU's. However, when trying to
deploy a node, no node gets allocated.

Looking at the logs, it is because NodesNotAvailable: No matching node
is available. A little investigation lead me to realize that the
constraint above only filter Nodes that are *greater than* instead of
*equal or greater than*:

This is what happens:

1. juju bootstrap - works fine.

2. Obtain node constraints:
node@node:/var/log/maas$ juju get-constraints
[...]
{arch: amd64, cpu: 1.0, maas-name: zookeeper.hdl, maas-tags: null, mem: 512.0, 
provider-type: maas,
  ubuntu-series: null}

3. juju deploy ubuntu. Deployment seems to be successful.
2013-03-13 15:57:16,067 INFO Searching for charm cs:precise/ubuntu in charm 
store
2013-03-13 15:57:17,253 INFO Connecting to environment...
2013-03-13 15:57:18,804 INFO Connected to environment.
2013-03-13 15:57:19,302 INFO Charm deployed as service: 'ubuntu'
2013-03-13 15:57:19,303 INFO 'deploy' command finished successfully

4. After a successful deployment, there are *NO* allocated machines on the MAAS 
WebUI, however Juju does show the following:
juju status
[...]
  1:
instance-id: pending
[..]

Look at maas.log, it shows he following error:

[...]
NodesNotAvailable: No matching node is available.

5. Let's terminate to modify constraints.
juju destroy-service ubuntu  juju terminate-machine 1

6. We modify the constraints so that cpu=0.
node@node:/var/log/maas$ juju set-constraints cpu=0

7. WE obtain the constraints to check they are fine
node@node:/var/log/maas$ juju get-constraints
[...]
{arch: amd64, cpu: 0.0, maas-name: null, maas-tags: null, mem: 512.0, 
provider-type: maas,
  ubuntu-series: null}

8. Now, after setting the CPU constraint to 0, deploying a machines works just 
fine. 
juju deploy ubuntu - works just fine.

If you notice, it seems that the constraints should be satisfied by
being (=1 CPU), however, this is not the case. If there's only 1 cpu
and the constraint is set to CPU=1, no node will be allocated. This
might be the same case with memory.

** Affects: maas
 Importance: High
 Status: New

** Affects: maas (Ubuntu)
 Importance: Undecided
 Status: New

** Changed in: maas
   Importance: Undecided = High

** Also affects: maas (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/1154803

Title:
  Default constraints prevents the allocation of nodes if they are equal
  to the HW.

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1154803/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1153103] Re: Windows share copying problems from my ubuntu machine

2013-03-13 Thread Topazcat
This occurs when I copy any amount or size of files,  I  have tried
moving several folders of stuff and single things as well. Or even a
medium size load.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1153103

Title:
  Windows share copying problems from my ubuntu machine

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1153103/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1154805] [NEW] Juju/MAAS does not provide feedback when there are no available nodes are found

2013-03-13 Thread Andres Rodriguez
Public bug reported:

This bug was found when debugging for bug in [1].

The case being is that when we deploy a node via juju, and for whatever
reason no available MAAS node is found, juju seems to have successfully
deployed a service when it hasn't really.

1. Juju deploy shows that the service has been successfully deployed:

node@node:/var/log/maas$ juju deploy ubuntu
2013-03-13 15:57:16,067 INFO Searching for charm cs:precise/ubuntu in charm 
store
2013-03-13 15:57:17,253 INFO Connecting to environment...
2013-03-13 15:57:18,804 INFO Connected to environment.
2013-03-13 15:57:19,302 INFO Charm deployed as service: 'ubuntu'
2013-03-13 15:57:19,303 INFO 'deploy' command finished successfully

2. On a juju status, juju shows a node pending:
node@node:/var/log/maas$ juju status
2013-03-13 16:01:02,145 INFO Connecting to environment...
2013-03-13 16:01:03,659 INFO Connected to environment.
machines:
  0:
agent-state: running
dns-name: zookeeper.hdl
instance-id: /MAAS/api/1.0/nodes/node-90ab5638-8c01-11e2-bda5-52540083b879/
instance-state: unknown
  1:
instance-id: pending
services:
  ubuntu:
charm: cs:precise/ubuntu-0
relations: {}
units:
  ubuntu/1:
agent-state: pending
machine: 1
public-address: null

3. Hence, no node is allocated (hence the WebUI doesn't show the
allocated node). However, the maas.log does show the following error:

  File /usr/lib/python2.7/dist-packages/piston/resource.py, line 166, in 
__call__
result = self.error_handler(e, request, meth, em_format)
  File /usr/lib/python2.7/dist-packages/piston/resource.py, line 164, in 
__call__
result = meth(request, *args, **kwargs)
  File /usr/lib/python2.7/dist-packages/maasserver/api.py, line 308, in 
dispatch
return function(self, request, *args, **kwargs)
  File /usr/lib/python2.7/dist-packages/maasserver/api.py, line 945, in 
acquire
raise NodesNotAvailable(No matching node is available.)
NodesNotAvailable: No matching node is available.

This is unfortunate because for juju's eyes, a node was successfully
deployed/allocated, while for MAAS eye's it hasn't. However, juju should
show that no nodes are available and do not add a node that hasn't been
allocated.

[1]  https://bugs.launchpad.net/maas/+bug/1154803

** Affects: juju
 Importance: Undecided
 Status: New

** Affects: maas
 Importance: High
 Status: New

** Affects: maas (Ubuntu)
 Importance: Undecided
 Status: New

** Changed in: maas
   Importance: Undecided = Critical

** Changed in: maas
   Importance: Critical = High

** Also affects: maas (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: juju
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/1154805

Title:
  Juju/MAAS does not provide feedback when there are no available nodes
  are found

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju/+bug/1154805/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1154803] Re: Default constraints prevents the allocation of nodes if they are equal to the HW.

2013-03-13 Thread Andres Rodriguez
** Description changed:

  I have a cluster of machines where all the CPU's are 1, and the
  following information is as follows:
  
  Architecture: amd64/generic
  CPU Count: 1
  Memory: 8192 MB
  
  Now, juju constraints, as specified by [1], default to 1 in the case of
  CPU. Looking at the nodes, and being the constraints default to 1, it
  leads you to believe that  nodes should be allocated to users given that
  they do match the constraints 1 or more CPU's. However, when trying to
  deploy a node, no node gets allocated.
  
  Looking at the logs, it is because NodesNotAvailable: No matching node
  is available. A little investigation lead me to realize that the
  constraint above only filter Nodes that are *greater than* instead of
  *equal or greater than*:
  
  This is what happens:
  
  1. juju bootstrap - works fine.
  
  2. Obtain node constraints:
  node@node:/var/log/maas$ juju get-constraints
  [...]
  {arch: amd64, cpu: 1.0, maas-name: zookeeper.hdl, maas-tags: null, mem: 
512.0, provider-type: maas,
-   ubuntu-series: null}
+   ubuntu-series: null}
  
  3. juju deploy ubuntu. Deployment seems to be successful.
  2013-03-13 15:57:16,067 INFO Searching for charm cs:precise/ubuntu in charm 
store
  2013-03-13 15:57:17,253 INFO Connecting to environment...
  2013-03-13 15:57:18,804 INFO Connected to environment.
  2013-03-13 15:57:19,302 INFO Charm deployed as service: 'ubuntu'
  2013-03-13 15:57:19,303 INFO 'deploy' command finished successfully
  
  4. After a successful deployment, there are *NO* allocated machines on the 
MAAS WebUI, however Juju does show the following:
  juju status
  [...]
-   1:
- instance-id: pending
+   1:
+ instance-id: pending
  [..]
  
  Look at maas.log, it shows he following error:
  
  [...]
  NodesNotAvailable: No matching node is available.
  
  5. Let's terminate to modify constraints.
  juju destroy-service ubuntu  juju terminate-machine 1
  
  6. We modify the constraints so that cpu=0.
  node@node:/var/log/maas$ juju set-constraints cpu=0
  
  7. WE obtain the constraints to check they are fine
  node@node:/var/log/maas$ juju get-constraints
  [...]
  {arch: amd64, cpu: 0.0, maas-name: null, maas-tags: null, mem: 512.0, 
provider-type: maas,
-   ubuntu-series: null}
+   ubuntu-series: null}
  
- 8. Now, after setting the CPU constraint to 0, deploying a machines works 
just fine. 
+ 8. Now, after setting the CPU constraint to 0, deploying a machines works 
just fine.
  juju deploy ubuntu - works just fine.
  
  If you notice, it seems that the constraints should be satisfied by
  being (=1 CPU), however, this is not the case. If there's only 1 cpu
- and the constraint is set to CPU=1, no node will be allocated. This
- might be the same case with memory.
+ and the constraint is set to CPU=1.0, no node will be allocated (maybe
+ due to float/int comparison?). This might be the same case with memory
+ (I didn't check).

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/1154803

Title:
  Default constraints prevents the allocation of nodes if they are equal
  to the HW.

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1154803/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1154805] Re: Juju/MAAS does not provide feedback when there are no available nodes are found

2013-03-13 Thread Julian Edwards
Maas returns a 409 CONFLICT when there's no node available.  This is
purely a Juju problem.

** Changed in: maas
   Status: New = Invalid

** Changed in: maas (Ubuntu)
   Status: New = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/1154805

Title:
  Juju/MAAS does not provide feedback when there are no available nodes
  are found

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju/+bug/1154805/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1154803] Re: Constraints prevents the allocation of nodes if they are equal to the HW.

2013-03-13 Thread Andres Rodriguez
** Summary changed:

- Default constraints prevents the allocation of nodes if they are equal to the 
HW.
+ Constraints prevents the allocation of nodes if they are equal to the HW.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/1154803

Title:
  Constraints prevents the allocation of nodes if they are equal to the
  HW.

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1154803/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1154803] Re: Constraints prevents the allocation of nodes if they are equal to the HW.

2013-03-13 Thread Julian Edwards
** Changed in: maas
   Status: New = Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/1154803

Title:
  Constraints prevents the allocation of nodes if they are equal to the
  HW.

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1154803/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1133608] Re: Duplicate entry '9fe2ff9ee4384b1894a90878d3e92bab' on db_sync

2013-03-13 Thread Dolph Mathews
*** This bug is a duplicate of bug 1130424 ***
https://bugs.launchpad.net/bugs/1130424

Ah, thanks Adam! That explanation makes a lot of sense.

** This bug has been marked a duplicate of bug 1130424
   SQL migration 017 fails with non-empty database

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to keystone in Ubuntu.
https://bugs.launchpad.net/bugs/1133608

Title:
  Duplicate entry '9fe2ff9ee4384b1894a90878d3e92bab' on db_sync

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1133608/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs