[Bug 1382632] Re: Insecure key file permissions

2014-10-29 Thread Greg Lutostanski
** Tags added: oil

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

Title:
  Insecure key file permissions

To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/1382632/+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 1386429] [NEW] openstack-dashboard 2014.2-0ubuntu1~cloud0 from cloud:trusty-updates/juno fails install (exit status 1)

2014-10-27 Thread Greg Lutostanski
Public bug reported:

openstack-dashboard 2014.2-0ubuntu1~cloud0 from cloud:trusty-
updates/juno fails install (exit status 1)

full stack trace:
2014-10-27 20:40:42 INFO install Setting up openstack-dashboard 
(1:2014.2-0ubuntu1~cloud0) ...
2014-10-27 20:40:43 INFO install Adding system user `horizon' (UID 106) ...
2014-10-27 20:40:43 INFO install Adding new user `horizon' (UID 106) with group 
`horizon' ...
2014-10-27 20:40:43 INFO install Not creating home directory 
`/usr/share/openstack-dashboard/'.
2014-10-27 20:40:43 INFO install Collecting and compressing static assets...
2014-10-27 20:40:45 INFO install Traceback (most recent call last):
2014-10-27 20:40:45 INFO install   File manage.py, line 25, in module
2014-10-27 20:40:45 INFO install execute_from_command_line(sys.argv)
2014-10-27 20:40:45 INFO install   File 
/usr/lib/python2.7/dist-packages/django/core/management/__init__.py, line 
399, in execute_from_command_line
2014-10-27 20:40:45 INFO install utility.execute()
2014-10-27 20:40:45 INFO install   File 
/usr/lib/python2.7/dist-packages/django/core/management/__init__.py, line 
392, in execute
2014-10-27 20:40:45 INFO install 
self.fetch_command(subcommand).run_from_argv(self.argv)
2014-10-27 20:40:45 INFO install   File 
/usr/lib/python2.7/dist-packages/django/core/management/__init__.py, line 
261, in fetch_command
2014-10-27 20:40:45 INFO install commands = get_commands()
2014-10-27 20:40:45 INFO install   File 
/usr/lib/python2.7/dist-packages/django/core/management/__init__.py, line 
107, in get_commands
2014-10-27 20:40:45 INFO install apps = settings.INSTALLED_APPS
2014-10-27 20:40:45 INFO install   File 
/usr/lib/python2.7/dist-packages/django/conf/__init__.py, line 54, in 
__getattr__
2014-10-27 20:40:45 INFO install self._setup(name)
2014-10-27 20:40:45 INFO install   File 
/usr/lib/python2.7/dist-packages/django/conf/__init__.py, line 49, in _setup
2014-10-27 20:40:45 INFO install self._wrapped = Settings(settings_module)
2014-10-27 20:40:45 INFO install   File 
/usr/lib/python2.7/dist-packages/django/conf/__init__.py, line 128, in 
__init__
2014-10-27 20:40:45 INFO install mod = 
importlib.import_module(self.SETTINGS_MODULE)
2014-10-27 20:40:45 INFO install   File 
/usr/lib/python2.7/dist-packages/django/utils/importlib.py, line 40, in 
import_module
2014-10-27 20:40:45 INFO install __import__(name)
2014-10-27 20:40:45 INFO install   File 
/usr/share/openstack-dashboard/openstack_dashboard/settings.py, line 316, in 
module
2014-10-27 20:40:45 INFO install from local.local_settings import *  # noqa
2014-10-27 20:40:45 INFO install   File 
/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py, 
line 98, in module
2014-10-27 20:40:45 INFO install SECRET_KEY = 
secret_key.generate_or_read_from_file('/var/lib/openstack-dashboard/secret_key')
2014-10-27 20:40:45 INFO install   File 
/usr/lib/python2.7/dist-packages/horizon/utils/secret_key.py, line 61, in 
generate_or_read_from_file
2014-10-27 20:40:45 INFO install raise FilePermissionError(Insecure key 
file permissions!)
2014-10-27 20:40:45 INFO install horizon.utils.secret_key.FilePermissionError: 
Insecure key file permissions!
2014-10-27 20:40:45 INFO install dpkg: error processing package 
openstack-dashboard (--configure):
2014-10-27 20:40:45 INFO install  subprocess installed post-installation script 
returned error exit status 1

Looks like /var/lib/openstack-dashboard/secret_key is created without the 
correct permissions
using charm lp:~openstack-charmers/charms/trusty/openstack-dashboard/next to 
deploy currently -- doesnt seem as if that charm is writing anything to those 
locations before apt-get install, but I could be wrong.

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


** Tags: oil

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

Title:
  openstack-dashboard 2014.2-0ubuntu1~cloud0 from cloud:trusty-
  updates/juno fails install (exit status 1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1386429/+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 1386429] Re: openstack-dashboard 2014.2-0ubuntu1~cloud0 from cloud:trusty-updates/juno fails install (exit status 1)

2014-10-27 Thread Greg Lutostanski
Looks like it installed fine on a clean trusty lxc with cloud:trusty-
updates/juno -- so moving it this bug to the charm.

** Package changed: horizon (Ubuntu) = openstack-dashboard (Juju Charms
Collection)

** Summary changed:

- openstack-dashboard 2014.2-0ubuntu1~cloud0 from cloud:trusty-updates/juno 
fails install (exit status 1)
+ cloud:trusty-updates/juno fails apt-get install openstack-dashboard -- bad 
/var/lib/openstack-dashboard/secret permissions

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

Title:
  cloud:trusty-updates/juno fails apt-get install openstack-dashboard --
  bad /var/lib/openstack-dashboard/secret permissions

To manage notifications about this bug go to:
https://bugs.launchpad.net/charms/+source/openstack-dashboard/+bug/1386429/+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


[Blueprint servercloud-u-maas] Server team specific MAAS work for Utopic

2014-10-07 Thread Greg Lutostanski
Blueprint changed by Greg Lutostanski:

Work items changed:
  Work items:
- SRU version 1.5.4 of MAAS into Trusty: INPROGRESS
- MIR amtterm: TODO
- Add maas-samba as optional dep: TODO
+ SRU version 1.5.4 of MAAS into Trusty: DONE
+ Remove celery deps from 1.7 in Utopic: DONE
  Testing for maas-region and maas-cluster charm: TODO
- Re-write maas-enlist in python: TODO
+ Re-write maas-enlist in python: POSTPONED

-- 
Server team specific MAAS work for Utopic
https://blueprints.launchpad.net/ubuntu/+spec/servercloud-u-maas

-- 
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 1373580] Re: Glen m700 cartridge list as ARM64/generic after enlist

2014-09-30 Thread Greg Lutostanski
** Description changed:

- enlist the chassis with Glenn m700 cartridges of moonshot with 1.5.4
- MAAS in proposed using the command below sudo maas admin node-group
- probe-and-enlist-mscm 24b0fe1a-1e59-47d6-b446-d0711ee0c81c
- host=172.16.1.102 username=Administrator password=password
+ [Impact]
+  * Include changes to allow support for m700 moonshot cartridges (hardware 
enablement)
+ 
+ [Testcase]
+  * Install maas and probe, enlist, commission a m700 machine
+ 
+ [Regression Potential]
+  * Minimal, changes update default moonshot cartridge arch and include 
specific arch for m700.
+ 
+ 
+ enlist the chassis with Glenn m700 cartridges of moonshot with 1.5.4 MAAS in 
proposed using the command below sudo maas admin node-group 
probe-and-enlist-mscm 24b0fe1a-1e59-47d6-b446-d0711ee0c81c host=172.16.1.102 
username=Administrator password=password
  
  After enlistment m700 AMD cartridge list is ARM64/generic architecture
  while it should be AMD64/generic. I would suggest change the default to
  AMD64/generic so that any unknown cartridge will be used as
  AMD64/generic.

** Summary changed:

- Glen m700 cartridge list as ARM64/generic after enlist
+ [SRU] Glen m700 cartridge list as ARM64/generic after enlist

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

** Changed in: maas (Ubuntu)
Milestone: None = trusty-updates

-- 
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/1373580

Title:
  [SRU] Glen m700 cartridge list as ARM64/generic after enlist

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1373580/+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 1350103] Re: No support for armhf/keystone architecture

2014-09-22 Thread Greg Lutostanski
** Description changed:

- No support for armhf/keystone architecture for ProLiant m800 Server
- Cartridges from HP.
+ [Impact]
+  * Add hardware enablement for armhf/keystone.
+ 
+ [Testcase]
+  * Enlist/Commission armhf/keystone hardware and make sure install proceeds 
correctly.
+ 
+ [Regression Potential]
+  * Minimal
+ 
+ 
+ No support for armhf/keystone architecture for ProLiant m800 Server 
Cartridges from HP.

-- 
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/1350103

Title:
  No support for armhf/keystone architecture

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1350103/+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 1350103] Re: No support for armhf/keystone architecture

2014-09-15 Thread Greg Lutostanski
** Also affects: maas (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: maas (Ubuntu)
Milestone: None = trusty-updates

** Changed in: maas (Ubuntu)
 Assignee: (unassigned) = Greg Lutostanski (lutostag)

** Changed in: maas (Ubuntu)
   Importance: Undecided = High

-- 
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/1350103

Title:
  No support for armhf/keystone architecture

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1350103/+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 1315154] Re: [SRU] doesn't support booting ppc64el hardware

2014-09-02 Thread Greg Lutostanski
** Changed in: maas (Ubuntu Trusty)
   Status: Fix Released = Fix Committed

-- 
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/1315154

Title:
  [SRU] doesn't support booting ppc64el hardware

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1315154/+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 1337437] Re: [SRU] maas needs utopic support

2014-09-02 Thread Greg Lutostanski
** Changed in: maas (Ubuntu Trusty)
   Status: New = Fix Committed

** Changed in: maas (Ubuntu Trusty)
   Importance: Undecided = Medium

** Changed in: maas (Ubuntu Trusty)
Milestone: None = trusty-updates

** Changed in: maas (Ubuntu Trusty)
 Assignee: (unassigned) = Greg Lutostanski (lutostag)

-- 
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/1337437

Title:
  [SRU] maas needs utopic support

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1337437/+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 1325759] Re: start_up uses database lock outside of transaction

2014-09-02 Thread Greg Lutostanski
** Changed in: maas (Ubuntu Trusty)
   Status: New = Fix Committed

** Changed in: maas (Ubuntu Trusty)
   Importance: Undecided = Critical

** Changed in: maas (Ubuntu Trusty)
 Assignee: (unassigned) = Greg Lutostanski (lutostag)

** Changed in: maas (Ubuntu Trusty)
Milestone: None = trusty-updates

-- 
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/1325759

Title:
  start_up uses database lock outside of transaction

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1325759/+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 1325640] Re: [SRU] test_prepare_holds_startup_lock() still fails spuriously

2014-09-02 Thread Greg Lutostanski
** Changed in: maas (Ubuntu Trusty)
   Status: New = Fix Committed

** Changed in: maas (Ubuntu Trusty)
   Importance: Undecided = High

** Changed in: maas (Ubuntu Trusty)
 Assignee: (unassigned) = Greg Lutostanski (lutostag)

** Changed in: maas (Ubuntu Trusty)
Milestone: None = trusty-updates

-- 
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/1325640

Title:
  [SRU] test_prepare_holds_startup_lock() still fails spuriously

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1325640/+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 1315154] Re: [SRU] doesn't support booting ppc64el hardware

2014-09-02 Thread Greg Lutostanski
** Changed in: maas (Ubuntu Trusty)
Milestone: None = trusty-updates

** Changed in: maas (Ubuntu Trusty)
   Importance: Undecided = High

** Changed in: maas (Ubuntu Trusty)
 Assignee: (unassigned) = Greg Lutostanski (lutostag)

-- 
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/1315154

Title:
  [SRU] doesn't support booting ppc64el hardware

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1315154/+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 1190986] Re: [SRU] ERROR Nonce already used

2014-09-02 Thread Greg Lutostanski
** Changed in: maas (Ubuntu Trusty)
   Importance: Undecided = High

** Changed in: maas (Ubuntu Trusty)
   Status: New = Fix Committed

** Changed in: maas (Ubuntu Trusty)
Milestone: None = trusty-updates

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

Title:
  [SRU] ERROR Nonce already used

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-core/+bug/1190986/+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 1352273] Re: [SRU] ImportError: No module named pexpect when setting up maas-region-controller

2014-09-02 Thread Greg Lutostanski
** Changed in: maas (Ubuntu Trusty)
   Status: New = Fix Committed

** Changed in: maas (Ubuntu Trusty)
   Importance: Undecided = Critical

** Changed in: maas (Ubuntu Trusty)
 Assignee: (unassigned) = Greg Lutostanski (lutostag)

** Changed in: maas (Ubuntu Trusty)
Milestone: None = trusty-updates

-- 
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/1352273

Title:
  [SRU] ImportError: No module named pexpect when setting up maas-
  region-controller

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1352273/+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 1350235] Re: [SRU] Package fails to install when the default route is through an aliased/tagged interface

2014-09-02 Thread Greg Lutostanski
** Changed in: maas (Ubuntu Trusty)
   Status: New = Fix Committed

** Changed in: maas (Ubuntu Trusty)
   Importance: Undecided = Critical

** Changed in: maas (Ubuntu Trusty)
 Assignee: (unassigned) = Greg Lutostanski (lutostag)

** Changed in: maas (Ubuntu Trusty)
Milestone: None = trusty-updates

-- 
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/1350235

Title:
  [SRU] Package fails to install when the default route is through an
  aliased/tagged interface

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1350235/+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 1338851] Re: [SRU] Add MAAS arm64/xgene support

2014-09-02 Thread Greg Lutostanski
** Changed in: maas (Ubuntu Trusty)
   Status: New = Fix Committed

** Changed in: maas (Ubuntu Trusty)
   Importance: Undecided = High

** Changed in: maas (Ubuntu Trusty)
 Assignee: (unassigned) = Greg Lutostanski (lutostag)

** Changed in: maas (Ubuntu Trusty)
Milestone: None = trusty-updates

-- 
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/1338851

Title:
  [SRU] Add MAAS arm64/xgene support

To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/1338851/+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 1331982] Re: [SRU] API documentation for nodegroup op=details missing parameter

2014-09-02 Thread Greg Lutostanski
** Changed in: maas (Ubuntu Trusty)
   Status: New = Fix Committed

** Changed in: maas (Ubuntu Trusty)
   Importance: Undecided = Low

** Changed in: maas (Ubuntu Trusty)
 Assignee: (unassigned) = Greg Lutostanski (lutostag)

** Changed in: maas (Ubuntu Trusty)
Milestone: None = trusty-updates

-- 
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/1331982

Title:
  [SRU] API documentation for nodegroup op=details missing parameter

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1331982/+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 1342302] Re: [SRU] pserv dies after upgrade to beta5~ppa1 (release cut for the boot images fix)

2014-09-02 Thread Greg Lutostanski
** Changed in: maas (Ubuntu Trusty)
   Status: New = Fix Committed

** Changed in: maas (Ubuntu Trusty)
   Importance: Undecided = Critical

** Changed in: maas (Ubuntu Trusty)
 Assignee: (unassigned) = Greg Lutostanski (lutostag)

** Changed in: maas (Ubuntu Trusty)
Milestone: None = trusty-updates

-- 
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/1342302

Title:
  [SRU] pserv dies after upgrade to beta5~ppa1 (release cut for the boot
  images fix)

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1342302/+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 1334401] Re: [SRU] Missing dependency on python-paramiko

2014-09-02 Thread Greg Lutostanski
** Changed in: maas (Ubuntu Trusty)
   Status: New = Fix Committed

** Changed in: maas (Ubuntu Trusty)
   Importance: Undecided = Critical

** Changed in: maas (Ubuntu Trusty)
 Assignee: (unassigned) = Greg Lutostanski (lutostag)

** Changed in: maas (Ubuntu Trusty)
Milestone: None = trusty-updates

-- 
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/1334401

Title:
  [SRU] Missing dependency on python-paramiko

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1334401/+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 1315154] Re: [SRU] doesn't support booting ppc64el hardware

2014-09-01 Thread Greg Lutostanski
** Summary changed:

- doesn't support booting ppc64el hardware
+ [SRU] doesn't support booting ppc64el hardware

-- 
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/1315154

Title:
  [SRU] doesn't support booting ppc64el hardware

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1315154/+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 1325640] Re: test_prepare_holds_startup_lock() still fails spuriously

2014-09-01 Thread Greg Lutostanski
** Description changed:

+ [Impact]
+  * Previously Django's aggressive connection closing policy would prevent 
session-level locks from being maintained.
+ 
+ [Testcase]
+  * Run included tests
+ 
+ [Regression Potential]
+  * Minimal, potentially an issue as it deals with releasing a lock (it could 
throw an exception) but most is just fixing up testcases.
+ 
  See bug 1308069.

** Summary changed:

- test_prepare_holds_startup_lock() still fails spuriously
+ [SRU] test_prepare_holds_startup_lock() still fails spuriously

-- 
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/1325640

Title:
  [SRU] test_prepare_holds_startup_lock() still fails spuriously

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1325640/+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 1325759] Re: start_up uses database lock outside of transaction

2014-09-01 Thread Greg Lutostanski
** Description changed:

+ [Impact]
+  * When using new locking code, this is used to prevent an error on maas 
server startup when asking for a lock when not in a transaction
+ 
+ [Testcase]
+  * Run included tests in test_start_up.py
+ 
+ [Regression Potential]
+  * Minimal
+ 
  mod_wsgi (pid=26521): Exception occurred processing WSGI script 
'/usr/share/maas/wsgi.py'.
  Traceback (most recent call last):
-   File /usr/share/maas/wsgi.py, line 32, in module
- start_up()
-   File /usr/lib/python2.7/dist-packages/maasserver/start_up.py, line 54, in 
start_up
- with locks.startup:
-   File /usr/lib/python2.7/dist-packages/maasserver/utils/dblocks.py, line 
77, in __enter__
- raise DatabaseLockAttemptOutsideTransaction(self)
+   File /usr/share/maas/wsgi.py, line 32, in module
+ start_up()
+   File /usr/lib/python2.7/dist-packages/maasserver/start_up.py, line 54, in 
start_up
+ with locks.startup:
+   File /usr/lib/python2.7/dist-packages/maasserver/utils/dblocks.py, line 
77, in __enter__
+ raise DatabaseLockAttemptOutsideTransaction(self)
  DatabaseLockAttemptOutsideTransaction: DatabaseLock classid=20120116 objid=1
  mod_wsgi (pid=26522): Target WSGI script '/usr/share/maas/wsgi.py' cannot be 
loaded as Python module.
  mod_wsgi (pid=26522): Exception occurred processing WSGI script 
'/usr/share/maas/wsgi.py'.
  Traceback (most recent call last):
-   File /usr/share/maas/wsgi.py, line 32, in module
- start_up()
-   File /usr/lib/python2.7/dist-packages/maasserver/start_up.py, line 54, in 
start_up
- with locks.startup:
-   File /usr/lib/python2.7/dist-packages/maasserver/utils/dblocks.py, line 
77, in __enter__
- raise DatabaseLockAttemptOutsideTransaction(self)
+   File /usr/share/maas/wsgi.py, line 32, in module
+ start_up()
+   File /usr/lib/python2.7/dist-packages/maasserver/start_up.py, line 54, in 
start_up
+ with locks.startup:
+   File /usr/lib/python2.7/dist-packages/maasserver/utils/dblocks.py, line 
77, in __enter__
+ raise DatabaseLockAttemptOutsideTransaction(self)
  DatabaseLockAttemptOutsideTransaction: DatabaseLock classid=20120116 objid=1

-- 
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/1325759

Title:
  start_up uses database lock outside of transaction

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1325759/+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 1334401] Re: [SRU] Missing dependency on python-paramiko

2014-09-01 Thread Greg Lutostanski
** Summary changed:

- Missing dependency on python-paramiko
+ [SRU] Missing dependency on python-paramiko

** Description changed:

- As seen here: http://d-jenkins.ubuntu-ci:8080/view/MAAS/job/utopic-adt-
- maas/131/console, maas package can't be installed on utopic due to a
- missing dependency on python-paramiko
+ [Impact]
+  * Add missing dependency for install
  
+ [Testcase]
+  * install maas-dns (will fail if 1.6.0)
+  * or using provisioning on mscm hardware (will fail if =1.5.4) -- when fix 
not included
+ 
+ [Regression Potential]
+  * Minimal, included in main for all supported releases.
+ 
+ 
+ As seen here: 
http://d-jenkins.ubuntu-ci:8080/view/MAAS/job/utopic-adt-maas/131/console, maas 
package can't be installed on utopic due to a missing dependency on 
python-paramiko
  
  Setting up maas-dns (1.6+bzr2367+2475+283-0ubuntu1) ...
  Traceback (most recent call last):
-   File /usr/bin/django-admin, line 5, in module
- management.execute_from_command_line()
-   File /usr/lib/python2.7/dist-packages/django/core/management/__init__.py, 
line 399, in execute_from_command_line
- utility.execute()
-   File /usr/lib/python2.7/dist-packages/django/core/management/__init__.py, 
line 392, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
-   File /usr/lib/python2.7/dist-packages/django/core/management/base.py, 
line 242, in run_from_argv
- self.execute(*args, **options.__dict__)
-   File /usr/lib/python2.7/dist-packages/django/core/management/base.py, 
line 284, in execute
- self.validate()
-   File /usr/lib/python2.7/dist-packages/django/core/management/base.py, 
line 310, in validate
- num_errors = get_validation_errors(s, app)
-   File 
/usr/lib/python2.7/dist-packages/django/core/management/validation.py, line 
34, in get_validation_errors
- for (app_name, error) in get_app_errors().items():
-   File /usr/lib/python2.7/dist-packages/django/db/models/loading.py, line 
196, in get_app_errors
- self._populate()
-   File /usr/lib/python2.7/dist-packages/django/db/models/loading.py, line 
78, in _populate
- self.load_app(app_name)
-   File /usr/lib/python2.7/dist-packages/django/db/models/loading.py, line 
99, in load_app
- models = import_module('%s.models' % app_name)
-   File /usr/lib/python2.7/dist-packages/django/utils/importlib.py, line 40, 
in import_module
- __import__(name)
-   File /usr/lib/python2.7/dist-packages/maasserver/models/__init__.py, line 
47, in module
- from maasserver.models.bootimage import BootImage
-   File /usr/lib/python2.7/dist-packages/maasserver/models/bootimage.py, 
line 27, in module
- from maasserver.models.nodegroup import NodeGroup
-   File /usr/lib/python2.7/dist-packages/maasserver/models/nodegroup.py, 
line 37, in module
- from maasserver.refresh_worker import refresh_worker
-   File /usr/lib/python2.7/dist-packages/maasserver/refresh_worker.py, line 
21, in module
- from provisioningserver.tasks import refresh_secrets
-   File /usr/lib/python2.7/dist-packages/provisioningserver/tasks.py, line 
56, in module
- from provisioningserver.drivers.hardware.mscm import probe_and_enlist_mscm
-   File 
/usr/lib/python2.7/dist-packages/provisioningserver/drivers/hardware/mscm.py, 
line 26, in module
- from paramiko import (
+   File /usr/bin/django-admin, line 5, in module
+ management.execute_from_command_line()
+   File /usr/lib/python2.7/dist-packages/django/core/management/__init__.py, 
line 399, in execute_from_command_line
+ utility.execute()
+   File /usr/lib/python2.7/dist-packages/django/core/management/__init__.py, 
line 392, in execute
+ self.fetch_command(subcommand).run_from_argv(self.argv)
+   File /usr/lib/python2.7/dist-packages/django/core/management/base.py, 
line 242, in run_from_argv
+ self.execute(*args, **options.__dict__)
+   File /usr/lib/python2.7/dist-packages/django/core/management/base.py, 
line 284, in execute
+ self.validate()
+   File /usr/lib/python2.7/dist-packages/django/core/management/base.py, 
line 310, in validate
+ num_errors = get_validation_errors(s, app)
+   File 
/usr/lib/python2.7/dist-packages/django/core/management/validation.py, line 
34, in get_validation_errors
+ for (app_name, error) in get_app_errors().items():
+   File /usr/lib/python2.7/dist-packages/django/db/models/loading.py, line 
196, in get_app_errors
+ self._populate()
+   File /usr/lib/python2.7/dist-packages/django/db/models/loading.py, line 
78, in _populate
+ self.load_app(app_name)
+   File /usr/lib/python2.7/dist-packages/django/db/models/loading.py, line 
99, in load_app
+ models = import_module('%s.models' % app_name)
+   File /usr/lib/python2.7/dist-packages/django/utils/importlib.py, line 40, 
in import_module
+ __import__(name)
+   File /usr/lib/python2.7/dist-packages/maasserver/models/__init__.py, line 
47, in module
+ from maasserver.models.bootimage import BootImage
+   File 

[Bug 1352273] Re: [SRU] ImportError: No module named pexpect when setting up maas-region-controller

2014-09-01 Thread Greg Lutostanski
** Summary changed:

- ImportError: No module named pexpect when setting up maas-region-controller
+ [SRU] ImportError: No module named pexpect when setting up 
maas-region-controller

** Description changed:

+ [Impact]
+  * Install required deps for maas-provisioningserver (move from 
maas-region-controller) so it installs in correct order.
+ 
+ [Testcase]
+  * Install python-maas-provisioningserver without error (will throw No module 
named pexpect if not including fix)
+ 
+ [Regression Potential]
+  * Almost none
+ 
  Hi,
  
  We're upgrading our MAAS infrastructure from precise+MAAS 1.4 to
  trusty+MAAS 1.5. During a do-release-upgrade, we're seeing the following
  traceback when setting up maas-region-controller:
  
-  in load_app
- models = import_module('%s.models' % app_name)
-   File /usr/lib/python2.7/dist-packages/django/utils/importlib.py, line 40, 
in import_module
- __import__(name)
-   File /usr/lib/python2.7/dist-packages/maasserver/models/__init__.py, line 
44, in module
- from maasserver.models.bootimage import BootImage
-   File /usr/lib/python2.7/dist-packages/maasserver/models/bootimage.py, 
line 26, in module
- from maasserver.models.nodegroup import NodeGroup
-   File /usr/lib/python2.7/dist-packages/maasserver/models/nodegroup.py, 
line 35, in module
- from maasserver.refresh_worker import refresh_worker
-   File /usr/lib/python2.7/dist-packages/maasserver/refresh_worker.py, line 
21, in module
- from provisioningserver.tasks import refresh_secrets
-   File /usr/lib/python2.7/dist-packages/provisioningserver/tasks.py, line 
49, in module
- from provisioningserver.custom_hardware.virsh import 
probe_virsh_and_enlist
-   File 
/usr/lib/python2.7/dist-packages/provisioningserver/custom_hardware/virsh.py, 
line 18, in module
- import pexpect
+  in load_app
+ models = import_module('%s.models' % app_name)
+   File /usr/lib/python2.7/dist-packages/django/utils/importlib.py, line 40, 
in import_module
+ __import__(name)
+   File /usr/lib/python2.7/dist-packages/maasserver/models/__init__.py, line 
44, in module
+ from maasserver.models.bootimage import BootImage
+   File /usr/lib/python2.7/dist-packages/maasserver/models/bootimage.py, 
line 26, in module
+ from maasserver.models.nodegroup import NodeGroup
+   File /usr/lib/python2.7/dist-packages/maasserver/models/nodegroup.py, 
line 35, in module
+ from maasserver.refresh_worker import refresh_worker
+   File /usr/lib/python2.7/dist-packages/maasserver/refresh_worker.py, line 
21, in module
+ from provisioningserver.tasks import refresh_secrets
+   File /usr/lib/python2.7/dist-packages/provisioningserver/tasks.py, line 
49, in module
+ from provisioningserver.custom_hardware.virsh import 
probe_virsh_and_enlist
+   File 
/usr/lib/python2.7/dist-packages/provisioningserver/custom_hardware/virsh.py, 
line 18, in module
+ import pexpect
  ImportError: No module named pexpect
  
- 
- The python-pexpect package isn't installed because we have 
APT::Install-Recommends set to false.
+ The python-pexpect package isn't installed because we have APT
+ ::Install-Recommends set to false.
  
  iF  maas-region-controller  
1.5.2+bzr2282-0ubuntu0.2  all  MAAS server complete 
region controller
  ii  maas-region-controller-min  
1.5.2+bzr2282-0ubuntu0.2  all  MAAS Server minimum 
region controller
  
- 
  Regards,
  
  Haw

-- 
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/1352273

Title:
  [SRU] ImportError: No module named pexpect when setting up maas-
  region-controller

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1352273/+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 1190986] Re: ERROR Nonce already used

2014-08-29 Thread Greg Lutostanski
** Description changed:

+ 
+ SRU for secondary fix (branch lp:~julian-edwards/maas/nonce-fix-bug-1190986)
+ [Impact]
+  * Minimize possibility of hitting a nonce collision by using a longer nonce 
(uuid4) in both python-maas-client and commissioning scripts.
+ 
+ [Testcase]
+  * Do some api calls and make sure that the piston_nonce postgres table is 
using the larger uuid nonce for the calls
+ 
+ [Regression Potential]
+  * Minimal; replace random string of length 8 with uuidgen.
+ 
+ 
  The error below happens sometimes. (~5% of all requests fail)
  
  System: Ubuntu 12.04.2
  MAAS-version: 1.2+bzr1373+dfsg-0ubuntu1~12.04.1
  Juju-version: 0.7+bzr628+bzr631~precise1
  
  $ juju status
  2013-06-14 13:59:36,213 INFO Connecting to environment...
  2013-06-14 13:59:36,295 ERROR Cannot connect to environment: Nonce already 
used: 55941407
  Traceback (most recent call last):
-   File /usr/lib/python2.7/dist-packages/juju/providers/common/connect.py, 
line 43, in run
- client = yield self._internal_connect(share)
-   File /usr/lib/python2.7/dist-packages/twisted/internet/defer.py, line 
1037, in _inlineCallbacks
- result = result.throwExceptionIntoGenerator(g)
-   File /usr/lib/python2.7/dist-packages/twisted/python/failure.py, line 
382, in throwExceptionIntoGenerator
- return g.throw(self.type, self.value, self.tb)
-   File /usr/lib/python2.7/dist-packages/juju/providers/common/connect.py, 
line 59, in _internal_connect
- candidates = yield self._provider.get_zookeeper_machines()
-   File /usr/lib/python2.7/dist-packages/twisted/internet/defer.py, line 
1037, in _inlineCallbacks
- result = result.throwExceptionIntoGenerator(g)
-   File /usr/lib/python2.7/dist-packages/twisted/python/failure.py, line 
382, in throwExceptionIntoGenerator
- return g.throw(self.type, self.value, self.tb)
-   File 
/usr/lib/python2.7/dist-packages/juju/providers/common/findzookeepers.py, 
line 32, in find_zookeepers
- machine = yield provider.get_machine(instance_id)
-   File /usr/lib/python2.7/dist-packages/twisted/internet/defer.py, line 
1037, in _inlineCallbacks
- result = result.throwExceptionIntoGenerator(g)
-   File /usr/lib/python2.7/dist-packages/twisted/python/failure.py, line 
382, in throwExceptionIntoGenerator
- return g.throw(self.type, self.value, self.tb)
-   File /usr/lib/python2.7/dist-packages/juju/providers/maas/provider.py, 
line 125, in get_machines
- instances = yield self.maas_client.get_nodes(instance_ids)
-   File /usr/lib/python2.7/dist-packages/twisted/internet/defer.py, line 
545, in _runCallbacks
- current.result = callback(current.result, *args, **kw)
-   File /usr/lib/python2.7/dist-packages/juju/providers/maas/maas.py, line 
95, in _process_error
- raise ProviderError(error.response)
+   File /usr/lib/python2.7/dist-packages/juju/providers/common/connect.py, 
line 43, in run
+ client = yield self._internal_connect(share)
+   File /usr/lib/python2.7/dist-packages/twisted/internet/defer.py, line 
1037, in _inlineCallbacks
+ result = result.throwExceptionIntoGenerator(g)
+   File /usr/lib/python2.7/dist-packages/twisted/python/failure.py, line 
382, in throwExceptionIntoGenerator
+ return g.throw(self.type, self.value, self.tb)
+   File /usr/lib/python2.7/dist-packages/juju/providers/common/connect.py, 
line 59, in _internal_connect
+ candidates = yield self._provider.get_zookeeper_machines()
+   File /usr/lib/python2.7/dist-packages/twisted/internet/defer.py, line 
1037, in _inlineCallbacks
+ result = result.throwExceptionIntoGenerator(g)
+   File /usr/lib/python2.7/dist-packages/twisted/python/failure.py, line 
382, in throwExceptionIntoGenerator
+ return g.throw(self.type, self.value, self.tb)
+   File 
/usr/lib/python2.7/dist-packages/juju/providers/common/findzookeepers.py, 
line 32, in find_zookeepers
+ machine = yield provider.get_machine(instance_id)
+   File /usr/lib/python2.7/dist-packages/twisted/internet/defer.py, line 
1037, in _inlineCallbacks
+ result = result.throwExceptionIntoGenerator(g)
+   File /usr/lib/python2.7/dist-packages/twisted/python/failure.py, line 
382, in throwExceptionIntoGenerator
+ return g.throw(self.type, self.value, self.tb)
+   File /usr/lib/python2.7/dist-packages/juju/providers/maas/provider.py, 
line 125, in get_machines
+ instances = yield self.maas_client.get_nodes(instance_ids)
+   File /usr/lib/python2.7/dist-packages/twisted/internet/defer.py, line 
545, in _runCallbacks
+ current.result = callback(current.result, *args, **kw)
+   File /usr/lib/python2.7/dist-packages/juju/providers/maas/maas.py, line 
95, in _process_error
+ raise ProviderError(error.response)
  ProviderError: Nonce already used: 55941407
  2013-06-14 13:59:36,297 ERROR Nonce already used: 55941407
  
  I think the problem is caused by the MAAS-database table piston_nonce
  In my system this table contains a hughe amount of tokens that are never 
deleted:
  maasdb=# SELECT count(id) FROM 

[Bug 1337437] Re: maas needs utopic support

2014-08-29 Thread Greg Lutostanski
** Description changed:

- It looks like maas needs support added for utopic.  Could you also
- consider implementing this so that it is configurable in a config file?
- It would be much better than needing a hard-coded update each release.
+ [Impact]
+  * Remove no longer supported distro releases and add utopic to list of 
releases. (Will only actually be able to be installable if simplestream has 
utopic entries)
+ 
+ [Testcase]
+  * Install utopic onto a maas node
+ 
+ [Regression Potential]
+  * Minimal; change to new releases and add pretty strings for it
+ 
+ 
+ It looks like maas needs support added for utopic.  Could you also consider 
implementing this so that it is configurable in a config file?  It would be 
much better than needing a hard-coded update each release.
  
  Here's the diff showing code needed in maasserver/enum.py (thanks
  roaksoax):
  
  === modified file 'maasserver/enum.py'
  --- maasserver/enum.py2014-07-03 16:54:15 +
  +++ maasserver/enum.py2014-07-03 16:56:20 +
  @@ -100,6 +100,8 @@
-  saucy = 'saucy'
-  #:
-  trusty = 'trusty'
+  saucy = 'saucy'
+  #:
+  trusty = 'trusty'
  +#:
  +utopic = 'utopic'
-  
-  DISTRO_SERIES_CHOICES = (
-  (DISTRO_SERIES.default, 'Default Ubuntu Release'),
+ 
+  DISTRO_SERIES_CHOICES = (
+  (DISTRO_SERIES.default, 'Default Ubuntu Release'),
  @@ -108,6 +110,7 @@
-  (DISTRO_SERIES.raring, 'Ubuntu 13.04 Raring Ringtail'),
-  (DISTRO_SERIES.saucy, 'Ubuntu 13.10 Saucy Salamander'),
-  (DISTRO_SERIES.trusty, 'Ubuntu 14.04 LTS Trusty Tahr'),
+  (DISTRO_SERIES.raring, 'Ubuntu 13.04 Raring Ringtail'),
+  (DISTRO_SERIES.saucy, 'Ubuntu 13.10 Saucy Salamander'),
+  (DISTRO_SERIES.trusty, 'Ubuntu 14.04 LTS Trusty Tahr'),
  +(DISTRO_SERIES.utopic, 'Ubuntu 14.10 Utopic Unicorn'),
-  )
+  )

** Summary changed:

- maas needs utopic support
+ [SRU] maas needs utopic support

-- 
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/1337437

Title:
  [SRU] maas needs utopic support

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1337437/+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 1190986] Re: ERROR Nonce already used

2014-08-20 Thread Greg Lutostanski
Since it was hit while running juju I'm inclined to believe that it is
because
http://bazaar.launchpad.net/~juju/gomaasapi/trunk/view/head:/oauth.go is
still using the old nonce generation method ([0-9]{8} rather than uuid)
which is much more collision prone.

-- 
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/1190986

Title:
  ERROR Nonce already used

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1190986/+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 1358748] Re: socat fdout option will not open output file descriptor

2014-08-19 Thread Greg Lutostanski
Hi Hendrik!

Thanks for taking the time to report this!

Unfortunately it looks like you are using the unidirectional flag (-u);
from my experimenting it looks like when you pass this flag socat will
not deal with the unbound (from its perspective) file descriptors.

If you take out the -u, it will create a fd/4 for the child exec
process.

I checked this with a simple:
$ socat -d -d TCP4-LISTEN:2045,reuseaddr,fork EXEC:./script.sh,fdin=3,fdout=4 # 
and 
$ ls -l /proc/`pgrep script.sh`/fd/ #to verify once I opened a connection with 
netcat, both 3 and 4 were there (with reading and writing to them respectively 
working).

Unless you have a particular reason to use unidirectional and have
output come from a different fd to stdout I recommend you rewrite the
script to use stdout (fd/1) as necessary; or don't use unidirectional.

I am closing the bug as Invalid as it seems like this is expected
behavior.

If you think I am wrong in this for any reason, please feel free to
reopen this bug and comment.

Thanks again for your time and thorough bug report!

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

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

Title:
  socat fdout option will not open output file descriptor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/socat/+bug/1358748/+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 1356012] Re: maas incorrectly overmanages DNS reverse zones

2014-08-12 Thread Greg Lutostanski
** Also affects: maas
   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/1356012

Title:
  maas incorrectly overmanages DNS reverse zones

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1356012/+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 1300507] Re: Rabbit password is reset on every upgrade which forces lockstep cluster restarts

2014-08-12 Thread Greg Lutostanski
Found where it happens:
debian/maas-region-controller.postinst:95

Should only happen when creating a new user -- will have to find out why
the region-controller does not think it has a user already.

Will dive in further.

** Changed in: maas (Ubuntu)
 Assignee: (unassigned) = Greg Lutostanski (lutostag)

-- 
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/1300507

Title:
  Rabbit password is reset on every upgrade which forces lockstep
  cluster restarts

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1300507/+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 1352273] Re: ImportError: No module named pexpect when setting up maas-region-controller

2014-08-04 Thread Greg Lutostanski
The python-pexpect dependency needs to be moved to python-maas-
provisioningserver so it works for both the cluster and region
controllers.

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

** Changed in: maas (Ubuntu)
   Importance: Undecided = Critical

** Changed in: maas (Ubuntu)
 Assignee: (unassigned) = Greg Lutostanski (lutostag)

-- 
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/1352273

Title:
  ImportError: No module named pexpect when setting up maas-region-
  controller

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1352273/+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 1351337] Re: Please merge autofs 5.0.8-1 (main) from Debian unstable (main)

2014-08-01 Thread Greg Lutostanski
Debdiff from previous ubuntu release to 5.0.8-1.

** Patch added: autofs_5.0.7-3ubuntu5--5.0.8-1ubuntu1.debdiff
   
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1351337/+attachment/4167418/+files/autofs_5.0.7-3ubuntu5--5.0.8-1ubuntu1.debdiff

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

Title:
   Please merge autofs 5.0.8-1 (main) from Debian unstable (main)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1351337/+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 1351337] [NEW] Please merge autofs 5.0.8-1 (main) from Debian unstable (main)

2014-08-01 Thread Greg Lutostanski
Public bug reported:

Please merge autofs 5.0.8-1 (main) from Debian unstable (main).

** Affects: autofs (Ubuntu)
 Importance: Undecided
 Status: Confirmed

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

Title:
   Please merge autofs 5.0.8-1 (main) from Debian unstable (main)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1351337/+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 1351337] Re: Please merge autofs 5.0.8-1 (main) from Debian unstable (main)

2014-08-01 Thread Greg Lutostanski
Debdiff from previous debian release to 5.0.8-1ubuntu1.

** Patch added: autofs_5.0.8-1--5.0.8-1ubuntu1.debdiff
   
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1351337/+attachment/4167429/+files/autofs_5.0.8-1--5.0.8-1ubuntu1.debdiff

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

Title:
   Please merge autofs 5.0.8-1 (main) from Debian unstable (main)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1351337/+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 1305061] Re: maas crashes because of a missing power_type, even though I provided one

2014-07-03 Thread Greg Lutostanski
Verified with included testcase in an lxc container, and edited a node's
power type with the cluster controller (in a separate container)
offline.

** 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 maas in Ubuntu.
https://bugs.launchpad.net/bugs/1305061

Title:
  maas crashes because of a missing power_type, even though I provided
  one

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1305061/+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 1322151] Re: ImportError: No module named pexpect setting up maas-dns

2014-07-03 Thread Greg Lutostanski
Verified fix with given testcase, install completes successfully with no
errors.

** 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 maas in Ubuntu.
https://bugs.launchpad.net/bugs/1322151

Title:
  ImportError: No module named pexpect setting up maas-dns

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1322151/+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 1317682] Re: The cluster takes a long time to connect to the region.

2014-07-03 Thread Greg Lutostanski
Associated a maas endpoint with two different cluster controllers, the
new version synced known images much faster.

** 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 maas in Ubuntu.
https://bugs.launchpad.net/bugs/1317682

Title:
  The cluster takes a long time to connect to the region.

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1317682/+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 1301465] Re: Architecture error message is badly formatted

2014-07-03 Thread Greg Lutostanski
Tried to change architecture without appropriate images installed, got
error without python list/string cruft.

** 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 maas in Ubuntu.
https://bugs.launchpad.net/bugs/1301465

Title:
  Architecture error message is badly formatted

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1301465/+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 1321696] Re: Instructions on how to add a backdoor to ephemeral images is outdated

2014-07-03 Thread Greg Lutostanski
new backdooring code works correctly if the user enters the  backdoor-
image directory before running suggested code.

** 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 maas in Ubuntu.
https://bugs.launchpad.net/bugs/1321696

Title:
  Instructions on how to add a backdoor to ephemeral images is outdated

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1321696/+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 1324944] Re: MAAS fires 5 tasks to write_dhcp_config when only one nodegroup change was made

2014-07-03 Thread Greg Lutostanski
Verified in maas lab with tests as shown by Diogo, also ran the two
integration tests manually, and both passed.

** 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 maas in Ubuntu.
https://bugs.launchpad.net/bugs/1324944

Title:
  MAAS fires 5 tasks to write_dhcp_config when only one nodegroup change
  was made

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1324944/+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 1328231] Re: [SRU] maas-import-pxe-files fails in an LXC container because grub-common isn't installed

2014-07-03 Thread Greg Lutostanski
Verified fix by running command in container, given noted testcase
above; passed.

** 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 maas in Ubuntu.
https://bugs.launchpad.net/bugs/1328231

Title:
  [SRU] maas-import-pxe-files fails in an LXC container because grub-
  common isn't installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1328231/+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 1311433] Re: REGRESSION: AttributeError: 'functools.partial' object has no attribute '__module__'

2014-06-27 Thread Greg Lutostanski
** 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 maas in Ubuntu.
https://bugs.launchpad.net/bugs/1311433

Title:
  REGRESSION: AttributeError: 'functools.partial' object has no
  attribute '__module__'

To manage notifications about this bug go to:
https://bugs.launchpad.net/django/+bug/1311433/+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 1332532] Re: installing just the maas-region-controller fails missing dependency python-seamicroclient

2014-06-20 Thread Greg Lutostanski
** Changed in: maas
 Assignee: (unassigned) = Greg Lutostanski (lutostag)

** Changed in: maas (Ubuntu)
 Assignee: (unassigned) = Greg Lutostanski (lutostag)

-- 
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/1332532

Title:
  installing just the maas-region-controller fails missing dependency
  python-seamicroclient

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1332532/+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 1332532] Re: installing just the maas-region-controller fails missing dependency python-seamicroclient

2014-06-20 Thread Greg Lutostanski
** Description changed:

  If a user just installs the maas-region-controller on trusty, the
  package installation process fails, do to missing the python-
  seamicroclient dependency on the maas-region-controller.
  
  http://paste.ubuntu.com/7671369/
+ 
+ [Impact]
+  * Cannot install maas-region-controller separately -- impacts certain setups 
(those with scalability in mind)
+ 
+ [Testcase]
+  * sudo apt-get install maas-region-controller
+- without fix expect fail
+- with fix will succeed
+ 
+ [Regression Potential]
+  * Minimal, moving dependency to one level below -- still included for 
maas-cluster-controller indirectly as it depends on maas-provisioningserver

-- 
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/1332532

Title:
  installing just the maas-region-controller fails missing dependency
  python-seamicroclient

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1332532/+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 1311433] Re: REGRESSION: AttributeError: 'functools.partial' object has no attribute '__module__'

2014-06-19 Thread Greg Lutostanski
Verified fix for 1.5.2 SRU.

** 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 maas in Ubuntu.
https://bugs.launchpad.net/bugs/1311433

Title:
  REGRESSION: AttributeError: 'functools.partial' object has no
  attribute '__module__'

To manage notifications about this bug go to:
https://bugs.launchpad.net/django/+bug/1311433/+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 1329736] Re: When specifying a field separator with {FS=, }, the separator is not applied to the first line

2014-06-13 Thread Greg Lutostanski
Thanks for reporting this bug and taking the time to help make Ubuntu
better!

Unfortunately what you are experiencing is a quirk of how awk works [of
which there are many :)]. Field separators are only used for the next
line after they are set. To get around this you can use the BEGIN
pattern to do this before the first line is read into the awk
interpreter -- example given below.

awk 'BEGIN {FS=,} {print
$2,$5,$14,$17,$20,$23,$26,$29,$32,$35,$77,$78,$79,$80,$81,$82,$83,$84,$85,$86,$87,$88,$89,$90,$91,$92,$93,$94,$95,$96,$97,$98}'

I tested against mawk as well as busybox's awk which both do the same
thing. While this is nonintuitive, it is expected behavior.

I am marking this bug as won't fix, please comment if you believe I am
mistaken.

Thanks again!

** Changed in: mawk (Ubuntu)
   Status: New = Won't Fix

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

Title:
  When specifying a field separator with {FS=,}, the separator is not
  applied to the first line

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mawk/+bug/1329736/+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 1322151] Re: ImportError: No module named pexpect setting up maas-dns

2014-06-06 Thread Greg Lutostanski
branch which fixes this and other 1.5.2 release bugs for SRU is linked
to bug #1325038

** Description changed:

  As per http://d-jenkins.ubuntu-ci:8080/view/MAAS/job/utopic-adt-maas/5/
  maas-dns failed to install due to a missing dependency on python-pexpect
  
  Setting up maas-dns (1.5+bzr2252+2353+274-0ubuntu2) ...
  Traceback (most recent call last):
-   File /usr/bin/django-admin, line 5, in module
- management.execute_from_command_line()
-   File /usr/lib/python2.7/dist-packages/django/core/management/__init__.py, 
line 399, in execute_from_command_line
- utility.execute()
-   File /usr/lib/python2.7/dist-packages/django/core/management/__init__.py, 
line 392, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
-   File /usr/lib/python2.7/dist-packages/django/core/management/base.py, 
line 242, in run_from_argv
- self.execute(*args, **options.__dict__)
-   File /usr/lib/python2.7/dist-packages/django/core/management/base.py, 
line 284, in execute
- self.validate()
-   File /usr/lib/python2.7/dist-packages/django/core/management/base.py, 
line 310, in validate
- num_errors = get_validation_errors(s, app)
-   File 
/usr/lib/python2.7/dist-packages/django/core/management/validation.py, line 
34, in get_validation_errors
- for (app_name, error) in get_app_errors().items():
-   File /usr/lib/python2.7/dist-packages/django/db/models/loading.py, line 
196, in get_app_errors
- self._populate()
-   File /usr/lib/python2.7/dist-packages/django/db/models/loading.py, line 
78, in _populate
- self.load_app(app_name)
-   File /usr/lib/python2.7/dist-packages/django/db/models/loading.py, line 
99, in load_app
- models = import_module('%s.models' % app_name)
-   File /usr/lib/python2.7/dist-packages/django/utils/importlib.py, line 40, 
in import_module
- __import__(name)
-   File /usr/lib/python2.7/dist-packages/maasserver/models/__init__.py, line 
46, in module
- from maasserver.models.bootimage import BootImage
-   File /usr/lib/python2.7/dist-packages/maasserver/models/bootimage.py, 
line 26, in module
- from maasserver.models.nodegroup import NodeGroup
-   File /usr/lib/python2.7/dist-packages/maasserver/models/nodegroup.py, 
line 37, in module
- from maasserver.refresh_worker import refresh_worker
-   File /usr/lib/python2.7/dist-packages/maasserver/refresh_worker.py, line 
21, in module
- from provisioningserver.tasks import refresh_secrets
-   File /usr/lib/python2.7/dist-packages/provisioningserver/tasks.py, line 
49, in module
- from provisioningserver.custom_hardware.virsh import 
probe_virsh_and_enlist
-   File 
/usr/lib/python2.7/dist-packages/provisioningserver/custom_hardware/virsh.py, 
line 18, in module
- import pexpect
+   File /usr/bin/django-admin, line 5, in module
+ management.execute_from_command_line()
+   File /usr/lib/python2.7/dist-packages/django/core/management/__init__.py, 
line 399, in execute_from_command_line
+ utility.execute()
+   File /usr/lib/python2.7/dist-packages/django/core/management/__init__.py, 
line 392, in execute
+ self.fetch_command(subcommand).run_from_argv(self.argv)
+   File /usr/lib/python2.7/dist-packages/django/core/management/base.py, 
line 242, in run_from_argv
+ self.execute(*args, **options.__dict__)
+   File /usr/lib/python2.7/dist-packages/django/core/management/base.py, 
line 284, in execute
+ self.validate()
+   File /usr/lib/python2.7/dist-packages/django/core/management/base.py, 
line 310, in validate
+ num_errors = get_validation_errors(s, app)
+   File 
/usr/lib/python2.7/dist-packages/django/core/management/validation.py, line 
34, in get_validation_errors
+ for (app_name, error) in get_app_errors().items():
+   File /usr/lib/python2.7/dist-packages/django/db/models/loading.py, line 
196, in get_app_errors
+ self._populate()
+   File /usr/lib/python2.7/dist-packages/django/db/models/loading.py, line 
78, in _populate
+ self.load_app(app_name)
+   File /usr/lib/python2.7/dist-packages/django/db/models/loading.py, line 
99, in load_app
+ models = import_module('%s.models' % app_name)
+   File /usr/lib/python2.7/dist-packages/django/utils/importlib.py, line 40, 
in import_module
+ __import__(name)
+   File /usr/lib/python2.7/dist-packages/maasserver/models/__init__.py, line 
46, in module
+ from maasserver.models.bootimage import BootImage
+   File /usr/lib/python2.7/dist-packages/maasserver/models/bootimage.py, 
line 26, in module
+ from maasserver.models.nodegroup import NodeGroup
+   File /usr/lib/python2.7/dist-packages/maasserver/models/nodegroup.py, 
line 37, in module
+ from maasserver.refresh_worker import refresh_worker
+   File /usr/lib/python2.7/dist-packages/maasserver/refresh_worker.py, line 
21, in module
+ from provisioningserver.tasks import refresh_secrets
+   File /usr/lib/python2.7/dist-packages/provisioningserver/tasks.py, line 
49, in module
+ from 

[Bug 1311433] Re: REGRESSION: AttributeError: 'functools.partial' object has no attribute '__module__'

2014-06-06 Thread Greg Lutostanski
Remove workaround because django updated on supported releases, included
in branch which fixes this and other 1.5.2 release bugs for SRU is
linked to bug #1325038.

-- 
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/1311433

Title:
  REGRESSION: AttributeError: 'functools.partial' object has no
  attribute '__module__'

To manage notifications about this bug go to:
https://bugs.launchpad.net/django/+bug/1311433/+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 1314740] Re: init script pid parsing has failure cases

2014-06-04 Thread Greg Lutostanski
PID=$(sed -n 's/^\s*pid\s\s*\([^;]*\).*/\1/p' /etc/nginx/nginx.conf)

works for the three testcases shown in this and linked bugs.

not sure why I cant use \s+ after pid in the expression above, but it
works this way.


** Bug watch added: Debian Bug tracker #747329
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747329

** Also affects: nginx (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747329
   Importance: Unknown
   Status: Unknown

** Tags removed: needs-upstream-report

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

Title:
  init script pid parsing has failure cases

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1314740/+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 1310844] Re: find_ip_via_arp() results in unpredictable, and in some cases, incorrect IP addresses

2014-05-13 Thread Greg Lutostanski
** Changed in: maas
   Status: Triaged = Fix Committed

-- 
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/1310844

Title:
  find_ip_via_arp() results in unpredictable, and in some cases,
  incorrect IP addresses

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1310844/+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 1310846] Re: amt template gives up way too easily

2014-05-13 Thread Greg Lutostanski
** Changed in: maas
   Status: Triaged = Fix Committed

-- 
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/1310846

Title:
  amt template gives up way too easily

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1310846/+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 1318660] Re: trying to overwrite '/usr/lib/python2.7/dist-packages/apiclient/__init__.py', which is also in package python-googleapi 1.2-2

2014-05-12 Thread Greg Lutostanski
** Also affects: python-googleapi (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/1318660

Title:
  trying to overwrite '/usr/lib/python2.7/dist-
  packages/apiclient/__init__.py', which is also in package python-
  googleapi 1.2-2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1318660/+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 1318660] Re: trying to overwrite '/usr/lib/python2.7/dist-packages/apiclient/__init__.py', which is also in package python-googleapi 1.2-2

2014-05-12 Thread Greg Lutostanski
Looks like both packages want to call themselves apiclient. Upstream
googleapi has changed packagename to googleapiclient so as to avoid
confusion, but have not had a new release since that change.

In my estimation both packages probably need to have their python
package names changed especially since there is an separate apiclient
project already registered on pypi (though it looks to be abandoned --
no changes in 3 years -- and not packaged for distros).

-- 
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/1318660

Title:
  trying to overwrite '/usr/lib/python2.7/dist-
  packages/apiclient/__init__.py', which is also in package python-
  googleapi 1.2-2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1318660/+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 1318660] Re: trying to overwrite '/usr/lib/python2.7/dist-packages/apiclient/__init__.py', which is also in package python-googleapi 1.2-2

2014-05-12 Thread Greg Lutostanski
Original bug which has resolution of namespaced python packages for maas
is https://bugs.launchpad.net/maas/+bug/1053507

-- 
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/1318660

Title:
  trying to overwrite '/usr/lib/python2.7/dist-
  packages/apiclient/__init__.py', which is also in package python-
  googleapi 1.2-2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1318660/+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


[Blueprint servercloud-u-maas] Server team specific MAAS work for Utopic

2014-05-09 Thread Greg Lutostanski
Blueprint changed by Greg Lutostanski:

Work items changed:
  Work items:
  MIR amtterm: TODO
+ Add maas-samba as optional dep: TODO
  Testing for maas-region and maas-cluster charm: TODO
  Re-write maas-enlist in python: TODO

-- 
Server team specific MAAS work for Utopic
https://blueprints.launchpad.net/ubuntu/+spec/servercloud-u-maas

-- 
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 1302963] Re: Calendar() class can not be initialized

2014-04-25 Thread Greg Lutostanski
Glad to hear it was updated upstream.

The two commits that need to be cherry-picked into a patch for the deb from 
upstream git repo at https://github.com/bear/parsedatetime.git to fix this 
directly are:
51d47dd57a8ac
692168f4bd336

Also making a note that this package needs to be updated in debian as
well.

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

Title:
  Calendar() class can not be initialized

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/parsedatetime/+bug/1302963/+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 1302963] Re: Calendar() class can not be initialized

2014-04-21 Thread Greg Lutostanski
parsedatetime has an optional dependency on a specific version python-
pyicu, which is not documented -- it seems that the current trusty
version 1.5-2ubuntu4 does not play nice.

Workaround is to explicity disable pyicu, for example use:

import parsedatetime.parsedatetime as pdtal = pdt.Calendar()
cal = pdt.Calendar(pdt.Constants(usePyICU=False))

I'll dig and see if I can come up with the exact pyicu version
dependency parsedatetime expects.

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

** Changed in: parsedatetime (Ubuntu)
   Status: Confirmed = Triaged

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

Title:
  Calendar() class can not be initialized

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/parsedatetime/+bug/1302963/+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 1302963] Re: Calendar() class can not be initialized

2014-04-21 Thread Greg Lutostanski
Hi bear,

Good point, looks like disabling PyICU is not a good workaround then.

If we can get it to work with the python-pyicu version (1.5)  currently
in trusty I think that would be best for now. I know its quite a bit
outdated, I will look into getting that updated to a more recent version
as well.

If getting it to work with 1.5 turns out to be a debacle, comment here
and we'll look for a better solution.

I am willing to test the changes on my end if need be.

BTW, this is such a useful package, I love it :). Thanks!

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

Title:
  Calendar() class can not be initialized

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/parsedatetime/+bug/1302963/+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 1302963] Re: Calendar() class can not be initialized

2014-04-21 Thread Greg Lutostanski
I don't think you need to install pyicu-1.7, the released packages for
pyicu are at https://launchpad.net/ubuntu/+source/pyicu

I can setup a ppa if needed. But if you are on trusty or saucy you should just 
be able to:
apt-get install python-pyicu
and then go about seeing if a fix works.

What release are you testing on?

also, feel free to ping me on irc if desired.

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

Title:
  Calendar() class can not be initialized

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/parsedatetime/+bug/1302963/+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 1253990] Re: sessions removed even if max life time isn't reached

2014-02-10 Thread Greg Lutostanski
** Bug watch added: Debian Bug tracker #715264
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=715264

** Also affects: php5 (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=715264
   Importance: Unknown
   Status: Unknown

** Changed in: php5 (Ubuntu)
   Status: New = Confirmed

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

Title:
  sessions removed even if max life time isn't reached

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1253990/+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