[Bug 1508577] Re: [wily] installing juju-local on ARM64 failed. broken apt dependency

2015-10-26 Thread Manoj Iyer
Dannf has a point. The kernel is built with default ARM64 defconfig with
certain vendor specific configs enabled. No default configs were
disabled.  But that said, it could very well be a kernel issue, possibly
because iptable_nat module is missing?

lsmod on the target system shows:
$ lsmod
Module  Size  Used by
iptable_mangle  1977  0
xt_tcpudp   3830  0
bridge 85237  0
stp 2441  1 bridge
llc 5410  2 stp,bridge
iptable_filter  2119  0
ip_tables  17324  2 iptable_filter,iptable_mangle
x_tables   21669  4 
ip_tables,xt_tcpudp,iptable_filter,iptable_mangle

Here is what I have on a McDivitt for example.
iptable_mangle  1817  1 
xt_tcpudp   3641  6 
bridge 99354  0 
stp 2464  1 bridge
llc 6298  2 stp,bridge
ip6table_filter 1772  0 
ip6_tables 18084  1 ip6table_filter
iptable_filter  1823  1 
ip_tables  19053  3 iptable_filter,iptable_mangle,iptable_nat
ebtable_nat 2019  0 
ebtables   25730  1 ebtable_nat
x_tables   26674  11 
ip6table_filter,xt_CHECKSUM,ip_tables,xt_tcpudp,ipt_MASQUERADE,xt_conntrack,iptable_filter,ebtables,ipt_REJECT,iptable_mangle,ip6_tables

sudo journalctl -u lxc-net

-- Logs begin at Wed 2015-10-21 18:29:39 UTC, end at Mon 2015-10-26 15:02:48 UTC
. --
Oct 26 15:02:13 bandera systemd[1]: lxc-net.service: About to execute: /usr/lib/
aarch64-linux-gnu/lxc/lxc-net start
Oct 26 15:02:13 bandera systemd[1]: lxc-net.service: Forked /usr/lib/aarch64-lin
ux-gnu/lxc/lxc-net as 3733
Oct 26 15:02:13 bandera systemd[1]: lxc-net.service: Changed dead -> start
Oct 26 15:02:13 bandera systemd[1]: Starting LXC network bridge setup...
Oct 26 15:02:13 bandera systemd[3733]: lxc-net.service: Executing: /usr/lib/aarc
h64-linux-gnu/lxc/lxc-net start
Oct 26 15:02:16 bandera systemd[1]: lxc-net.service: Child 3733 belongs to lxc-n
et.service
Oct 26 15:02:16 bandera systemd[1]: lxc-net.service: Main process exited, 
code=exited, status=3/NOTIMPLEMENTED
Oct 26 15:02:16 bandera systemd[1]: lxc-net.service: Changed start -> failed
Oct 26 15:02:16 bandera systemd[1]: lxc-net.service: Job lxc-net.service/start f
inished, result=failed
Oct 26 15:02:16 bandera systemd[1]: lxc-net.service: Unit entered failed s
tate.
Oct 26 15:02:16 bandera systemd[1]: lxc-net.service: Failed with result 'e
xit-code'.
Oct 26 15:02:16 bandera systemd[1]: lxc-net.service: cgroup is empty
Oct 26 15:02:28 bandera lxc-net[3733]: iptables v1.4.21: can't initialize iptabl
es table `nat': No chain/target/match by that name
Oct 26 15:02:28 bandera lxc-net[3733]: Perhaps iptables or your kernel needs to 
be upgraded.
Oct 26 15:02:28 bandera lxc-net[3733]: Failed to setup lxc-net.
Oct 26 15:02:28 bandera lxc-net[3733]: iptables v1.4.21: can't initialize iptabl
es table `nat': No chain/target/match by that name
Oct 26 15:02:28 bandera lxc-net[3733]: Perhaps iptables or your kernel needs to 
be upgraded.
Oct 26 15:02:28 bandera lxc-net[3733]: iptables: No chain/target/match by that n
ame.

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

Title:
  [wily] installing juju-local on ARM64 failed. broken apt dependency

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-core/+bug/1508577/+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 1508577] Re: [wily] installing juju-local on ARM64 failed. broken apt dependency

2015-10-22 Thread Manoj Iyer
$ systemctl status lxc-net.service
● lxc-net.service - LXC network bridge setup
   Loaded: loaded (/lib/systemd/system/lxc-net.service; enabled; vendor preset: 
enabled)
   Active: failed (Result: exit-code) since Thu 2015-10-22 14:31:57 UTC; 4min 
34s ago
  Process: 4809 ExecStart=/usr/lib/aarch64-linux-gnu/lxc/lxc-net start 
(code=exited, status=3)
 Main PID: 4809 (code=exited, status=3)

$ journalctl -xe
No journal files were found.
-- No entries --

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

Title:
  [wily] installing juju-local on ARM64 failed. broken apt dependency

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-core/+bug/1508577/+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 1491978] [NEW] [wily] nginx fails to install on ARM64

2015-09-03 Thread Manoj Iyer
Public bug reported:

Installing nginx on ARM64 in wily fails:

Setting up nginx-core (1.9.3-1ubuntu1) ...
Job for nginx.service failed because the control process exited with error 
code. See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
dpkg: error processing package nginx-core (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nginx:
 nginx depends on nginx-core (>= 1.9.3-1ubuntu1) | nginx-full (>= 
1.9.3-1ubuntu1) | nginx-light (>= 1.9.3-1ubuntu1) | nginx-extras (>= 
1.9.3-1ubuntu1); however:
  Package nginx-core is not configured yet.
  Package nginx-full is not installed.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.
 nginx depends on nginx-core (<< 1.9.3-1ubuntu1.1~) | nginx-full (<< 
1.9.3-1ubuntu1.1~) | nginx-light (<< 1.9.3-1ubuntu1.1~) | nginx-extras (<< 
1.9.3-1ubuntu1.1~); however:
  Package nginx-core is not configured yet.
  Package nginx-full is not installed.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.

dpkg: error processing package nginx (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.21-0ubuntu4) ...
Processing triggers for systemd (224-2ubuntu2) ...
Errors were encountered while processing:
 nginx-core
 nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)
ubuntu@localhost:~$

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

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

Title:
  [wily] nginx fails to install on ARM64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1491978/+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 1491978] Re: [wily] nginx fails to install on ARM64

2015-09-03 Thread Manoj Iyer
Thomas,

Appreciate your quick response. I have added the logs I found under
/var/* related to nginx. I think the error is because nginx-core is not
built for ARM64 ? or there is a package dependency issue ?

** Attachment added: "error log"
   
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1491978/+attachment/4456977/+files/nginx-error.log

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

Title:
  [wily] nginx fails to install on ARM64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1491978/+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 1452875] Re: irqbalance degrades network performance on HP M800 server cartridge

2015-07-01 Thread Manoj Iyer
ubuntu@ms10-18n3-slayton:~$ apt-cache policy irqbalance 
irqbalance:
  Installed: 1.0.6-2ubuntu0.14.04.2
  Candidate: 1.0.6-2ubuntu0.14.04.2
  Version table:
 *** 1.0.6-2ubuntu0.14.04.2 0
500 http://ports.ubuntu.com/ubuntu-ports/ trusty-proposed/main armhf 
Packages
100 /var/lib/dpkg/status
 1.0.6-2ubuntu0.14.04.1 0
500 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main armhf 
Packages
 1.0.6-2 0
500 http://ports.ubuntu.com/ubuntu-ports/ trusty/main armhf Packages
ubuntu@ms10-18n3-slayton:~$ 

ubuntu@ms10-18n3-slayton:~$ ps -ef | grep irqbalance
ubuntu1769  1390  0 18:13 pts/000:00:00 grep --color=auto irqbalance
ubuntu@ms10-18n3-slayton:~$ 

ubuntu@ms10-18n3-slayton:~$ sudo service irqbalance start
irqbalance stop/waiting
ubuntu@ms10-18n3-slayton:~$

ubuntu@ms10-18n3-slayton:~$ tail -n 1 /var/log/syslog 
Jul  1 18:14:54 ms10-18n3-slayton /usr/sbin/irqbalance: Balancing causes 
degradation of network performance on HP ProLiant m800 Server Cartridge. 
Disabling irqbalance.
ubuntu@ms10-18n3-slayton:~$

** Tags removed: verification-needed
** Tags added: verification-done-trusty

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

Title:
  irqbalance degrades network performance on HP M800 server cartridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/irqbalance/+bug/1452875/+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 1452875] Re: irqbalance degrades network performance on HP M800 server cartridge

2015-06-18 Thread Manoj Iyer
Incorporated review comments call fclose() when fread() fails.

** Patch added: patch to disable irqbalance on HP M800 server cartridge
   
https://bugs.launchpad.net/ubuntu/+source/irqbalance/+bug/1452875/+attachment/4416835/+files/irqbalance.c.patch

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

Title:
  irqbalance degrades network performance on HP M800 server cartridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/irqbalance/+bug/1452875/+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 1452875] Re: irqbalance degrades network performance on HP M800 server cartridge

2015-06-08 Thread Manoj Iyer
I have incorporated all the review comments and produced a new patch.
Please review this patch and accept for trusty.

** Patch added: patch to disable irqbalance on HP M800 server cartridge
   
https://bugs.launchpad.net/ubuntu/+source/irqbalance/+bug/1452875/+attachment/4411730/+files/irqbalance.c.patch

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

Title:
  irqbalance degrades network performance on HP M800 server cartridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/irqbalance/+bug/1452875/+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 1452875] Re: irqbalance degrades network performance on HP M800 server cartridge

2015-05-26 Thread Manoj Iyer
** Description changed:

  On HP M800 server cartridge we want to prevent irqbalance from running
  because it causes degradation in network throughput.
+ 
+ [ SRU EXCEPTION REQUEST ]
+ A fix to this bug is limited in scope to 14.04 (Trusty) release. TI does not 
plan to support the Keystone II based Slayton platform beyond 14.04. TI has not 
upstreamed any kernel patches for this platform, instead, canonical is 
maintaining a 3.13 based linux-keystone flavor kernel to support Slayton. TI 
would be required to upstream all patches related to keystone II and Slayton if 
they need to extend support for their platform past 14.04. Therefore, the scope 
of this patch would also be limited to 14.04, and we request an exception from 
the SRU team to accept this patch in 14.04.
  
  SRU TEMPLATE
  
  [Impact]
- * With irqbalance running on Slayton (HP M800 server) it degrades network 
performance. 
+ * With irqbalance running on Slayton (HP M800 server) it degrades network 
performance.
  
  [Testcase]
  * To recreate this network performance degradation you need to execute the 
SRIO testcases provided by TI.
- * After applying the patch run irqbalance command and it should emit a 
message to /var/log/syslog: May  7 19:56:13 ms10-18n3-slayton ./irqbalance: 
Balancing is ineffective on HP ProLiant m800 Server Cartridge. and exit 
gracefully. 
+ * After applying the patch run irqbalance command and it should emit a 
message to /var/log/syslog: May  7 19:56:13 ms10-18n3-slayton ./irqbalance: 
Balancing is ineffective on HP ProLiant m800 Server Cartridge. and exit 
gracefully.
  
  [Regression Potential]
  * None, this change is limited to HP M800 server cartridge

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

Title:
  irqbalance degrades network performance on HP M800 server cartridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/irqbalance/+bug/1452875/+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 1452875] Re: Disable irqbalance on HP M800 server cartridge

2015-05-19 Thread Manoj Iyer
Please accept this patch for SRU, patch disables irqbalance from running
on HP M800 server cartridge.

** Patch added: patch to disable irqbalance on HP M800 server cartridge
   
https://bugs.launchpad.net/ubuntu/+source/irqbalance/+bug/1452875/+attachment/4400541/+files/irqbalance.c.patch

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

Title:
  Disable irqbalance on HP M800 server cartridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/irqbalance/+bug/1452875/+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 1452875] Re: Disable irqbalance on HP M800 server cartridge

2015-05-07 Thread Manoj Iyer
** Branch linked: lp:~manjo/ubuntu/trusty/irqbalance/hp-m800-disable

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

Title:
  Disable irqbalance on HP M800 server cartridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/irqbalance/+bug/1452875/+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 1452875] [NEW] Disable irqbalance on HP M800 server cartridge

2015-05-07 Thread Manoj Iyer
Public bug reported:

On HP M800 server cartridge we want to prevent irqbalance from running
because it causes degradation in network throughput.

** Affects: irqbalance (Ubuntu)
 Importance: High
 Assignee: Manoj Iyer (manjo)
 Status: New

** Changed in: irqbalance (Ubuntu)
 Assignee: (unassigned) = Manoj Iyer (manjo)

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

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

Title:
  Disable irqbalance on HP M800 server cartridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/irqbalance/+bug/1452875/+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 1452875] Re: Disable irqbalance on HP M800 server cartridge

2015-05-07 Thread Manoj Iyer
** Description changed:

  On HP M800 server cartridge we want to prevent irqbalance from running
  because it causes degradation in network throughput.
+ 
+ SRU TEMPLATE
+ 
+ [Impact]
+ * With irqbalance running on Slayton (HP M800 server) it degrades network 
performance. 
+ 
+ [Testcase]
+ * To recreate this network performance degradation you need to execute the 
SRIO testcases provided by TI.
+ * After applying the patch run irqbalance command and it should emit a 
message to /var/log/syslog: May  7 19:56:13 ms10-18n3-slayton ./irqbalance: 
Balancing is ineffective on HP ProLiant m800 Server Cartridge. and exit 
gracefully. 
+ 
+ [Regression Potential]
+ * None, this change is limited to HP M800 server cartridge

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

Title:
  Disable irqbalance on HP M800 server cartridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/irqbalance/+bug/1452875/+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 1439988] Re: package init-system-helpers 1.22ubuntu4 failed to install/upgrade: trying to overwrite '/lib/init/apparmor-profile-load', which is also in package upstart-bin 1.13.2-0ubuntu9

2015-04-03 Thread Manoj Iyer
updating from http://us.archive.ubuntu.com/ubuntu/ vivid main I get the
same error.

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

Title:
  package init-system-helpers 1.22ubuntu4 failed to install/upgrade:
  trying to overwrite '/lib/init/apparmor-profile-load', which is also
  in package upstart-bin 1.13.2-0ubuntu9

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/init-system-helpers/+bug/1439988/+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 1340836] Re: kvm juju deploy --lxc:machine error: error executing lxc-start

2014-07-11 Thread Manoj Iyer
ubuntu@ubuntu-local-machine-2:~$ cat /var/log/lxc/juju-machine-2-lxc-0.log 
  lxc-start 1405096303.317 ERRORlxc_cgfs - cgroupfs failed to detect 
cgroup metadata
  lxc-start 1405096303.317 ERRORlxc_start - failed initializing cgroup 
support
  lxc-start 1405096303.339 ERRORlxc_start - failed to spawn 
'juju-machine-2-lxc-0'
  lxc-start 1405096303.339 ERRORlxc_start_ui - The container failed to 
start.
  lxc-start 1405096303.339 ERRORlxc_start_ui - Additional information 
can be obtained by setting the --logfile and --log-priority options.
  lxc-start 1405096708.183 INFO lxc_start_ui - using rcfile 
/var/lib/lxc/juju-machine-2-lxc-0/config
  lxc-start 1405096708.184 WARN lxc_log - lxc_log_init called with log 
already initialized
  lxc-start 1405096708.184 INFO lxc_lsm - LSM security driver AppArmor
  lxc-start 1405096708.184 DEBUGlxc_conf - allocated pty '/dev/pts/2' 
(5/6)
  lxc-start 1405096708.184 DEBUGlxc_conf - allocated pty '/dev/pts/3' 
(7/8)
  lxc-start 1405096708.184 DEBUGlxc_conf - allocated pty '/dev/pts/4' 
(9/10)
  lxc-start 1405096708.184 DEBUGlxc_conf - allocated pty '/dev/pts/5' 
(11/12)
  lxc-start 1405096708.184 INFO lxc_conf - tty's configured
  lxc-start 1405096708.184 DEBUGlxc_start - sigchild handler set
  lxc-start 1405096708.184 DEBUGlxc_console - opening /dev/tty for 
console peer
  lxc-start 1405096708.184 DEBUGlxc_console - using '/dev/tty' as 
console
  lxc-start 1405096708.184 DEBUGlxc_console - 3426 got SIGWINCH fd 17
  lxc-start 1405096708.185 DEBUGlxc_console - set winsz dstfd:14 
cols:80 rows:55
  lxc-start 1405096708.185 INFO lxc_start - 'juju-machine-2-lxc-0' is 
initialized
  lxc-start 1405096708.195 DEBUGlxc_start - Not dropping cap_sys_boot 
or watching utmp
  lxc-start 1405096708.197 DEBUGlxc_conf - instanciated veth 
'vethDP2WB6/vethNEM4PX', index is '7'
  lxc-start 1405096708.197 INFO lxc_cgroup - cgroup driver cgroupfs 
initing for juju-machine-2-lxc-0
  lxc-start 1405096708.197 ERRORlxc_cgfs - cgroupfs failed to detect 
cgroup metadata
  lxc-start 1405096708.197 ERRORlxc_start - failed initializing cgroup 
support
  lxc-start 1405096708.219 ERRORlxc_start - failed to spawn 
'juju-machine-2-lxc-0'
  lxc-start 1405096708.219 ERRORlxc_start_ui - The container failed to 
start.
  lxc-start 1405096708.219 ERRORlxc_start_ui - Additional information 
can be obtained by setting the --logfile and --log-priority options.
ubuntu@ubuntu-local-machine-2:~$

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

Title:
  [juju/lxc] juju local deploy on kvm machine using lxc failed with
  error: error executing lxc-start

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-core/+bug/1340836/+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 1340836] Re: kvm juju deploy --lxc:machine error: error executing lxc-start

2014-07-11 Thread Manoj Iyer
ubuntu@ubuntu-local-machine-2:~$ dpkg -l | grep cgroup
ii  cgmanager0.24-0ubuntu7 amd64
Central cgroup manager daemon
ii  libcgmanager0:amd64  0.24-0ubuntu7 amd64
Central cgroup manager daemon (client library)
ubuntu@ubuntu-local-machine-2:~$ 

ubuntu@ubuntu-local-machine-2:~$ cat /proc/self/mounts
rootfs / rootfs rw 0 0
/dev/disk/by-uuid/cf350644-b197-4162-9d18-4448a5c90afc / ext4 
rw,relatime,errors=remount-ro,data=ordered 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /sys/fs/fuse/connections fusectl rw,relatime 0 0
none /sys/kernel/debug debugfs rw,relatime 0 0
none /sys/kernel/security securityfs rw,relatime 0 0
none /sys/fs/pstore pstore rw,relatime 0 0
/dev/disk/by-uuid/cf350644-b197-4162-9d18-4448a5c90afc /var/log/juju ext4 
rw,relatime,errors=remount-ro,data=ordered 0 0
devpts /dev/lxc/console devpts 
rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
devpts /dev/lxc/tty1 devpts 
rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
devpts /dev/lxc/tty2 devpts 
rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
devpts /dev/lxc/tty3 devpts 
rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
devpts /dev/lxc/tty4 devpts 
rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
devpts /dev/pts devpts rw,relatime,gid=5,mode=620,ptmxmode=666 0 0
devpts /dev/ptmx devpts rw,relatime,gid=5,mode=620,ptmxmode=666 0 0
none /sys/fs/cgroup tmpfs rw,relatime,size=4k,mode=755 0 0
none /sys/firmware/efi/efivars efivarfs rw,relatime 0 0
none /run tmpfs rw,nosuid,noexec,relatime,size=1611264k,mode=755 0 0
none /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
none /run/shm tmpfs rw,nosuid,nodev,relatime 0 0
none /run/user tmpfs rw,nosuid,nodev,noexec,relatime,size=102400k,mode=755 0 0
ubuntu@ubuntu-local-machine-2:~$ 


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

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

** Summary changed:

- kvm juju deploy --lxc:machine error: error executing lxc-start
+ [juju/lxc] kvm juju deploy --lxc:machine error: error executing lxc-start

** Summary changed:

- [juju/lxc] kvm juju deploy --lxc:machine error: error executing lxc-start
+ [juju/lxc] juju local deploy on kvm machine using lxc failed with error: 
error executing lxc-start

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

Title:
  [juju/lxc] juju local deploy on kvm machine using lxc failed with
  error: error executing lxc-start

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-core/+bug/1340836/+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 1340836] [NEW] [juju/lxc] juju local deploy on kvm machine using lxc failed with error: error executing lxc-start

2014-07-11 Thread Manoj Iyer
Public bug reported:

Deploying a (mysql) service on a KVM instance using juju local lxc fails
in lxc-start.

 agent-state-info: '(error: error executing lxc-start: The container fa
iled  to start.; To get more details, run the container in foreground mode.;
Additional  information can be obtained by setting the --logfile and 
--log-priority options.)'

Here are the steps to reproduce:

* juju switch local
* juju bootstrap
* juju set-constraints mem=2G
* juju add-machine

* (OPTIONAL) ssh to machine and modify network setting, this is because
we want to keep the ip address of the service the same as the ip that
was assigned to the kvm instance. You can skip this part and you will
see the same failure.

* juju ssh 2

sudo rm /etc/network/interfaces.d/eth0.cfg
sudo vi  /etc/network/interfaces.d/lxcbr0.cfg
-- lxcbr0.cfg ---
auto eth0
iface eth0 inet manual

auto lxcbr0
iface lxcbr0 inet dhcp
bridge_ports eth0
--

* juju deploy mysql --lxc:2

environment: local
machines:
  0:
agent-state: started
agent-version: 1.18.1.1
dns-name: localhost
instance-id: localhost
series: trusty
  2:
agent-state: started
agent-version: 1.18.1.1
dns-name: 10.0.3.247
instance-id: ubuntu-local-machine-2
series: trusty
containers:
  2/lxc/0:
agent-state-info: '(error: error executing lxc-start: The container fa
iled
  to start.; To get more details, run the container in foreground mode.;
 Additional
  information can be obtained by setting the --logfile and --log-priorit
y
  options.)'
instance-id: pending
series: trusty
hardware: arch=amd64
services: 
  mysql:
charm: cs:trusty/mysql-1
exposed: false
relations:
  cluster:
  - mysql
units:
  mysql/0:
agent-state: pending
machine: 2/lxc/0

ubuntu@ubuntu-local-machine-2:~$ sudo lxc-ls --stopped
juju-machine-2-lxc-0  
ubuntu@ubuntu-local-machine-2:~$ 

ubuntu@ubuntu-local-machine-2:~$ sudo lxc-start -n juju-machine-2-lxc-0 
lxc-start: cgroupfs failed to detect cgroup metadata
lxc-start: failed initializing cgroup support
lxc-start: failed to spawn 'juju-machine-2-lxc-0'
lxc-start: The container failed to start.
lxc-start: Additional information can be obtained by setting the --logfile and 
--log-priority options.
ubuntu@ubuntu-local-machine-2:~$

** Affects: juju-core
 Importance: Undecided
 Status: New

** Affects: lxc
 Importance: Undecided
 Status: New

** Affects: juju-core (Ubuntu)
 Importance: Undecided
 Status: Confirmed

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

Title:
  [juju/lxc] juju local deploy on kvm machine using lxc failed with
  error: error executing lxc-start

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-core/+bug/1340836/+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 1340836] Re: [juju/lxc] juju local deploy on kvm machine using lxc failed with error: error executing lxc-start

2014-07-11 Thread Manoj Iyer
ubuntu@ubuntu-local-machine-2:~$ find /sys/fs/cgroup -maxdepth 3
/sys/fs/cgroup
/sys/fs/cgroup/cgmanager
/sys/fs/cgroup/cgmanager/sock
ubuntu@ubuntu-local-machine-2:~$

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

Title:
  [juju/lxc] juju local deploy on kvm machine using lxc failed with
  error: error executing lxc-start

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-core/+bug/1340836/+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 1340836] Re: [juju/lxc] juju local deploy on kvm machine using lxc failed with error: error executing lxc-start

2014-07-11 Thread Manoj Iyer
I am not sure if this might be the cause of failure.. ignore this
comment if this does not make sense.

Reading this patch to lxc-dev: 
https://lists.linuxcontainers.org/pipermail/lxc-devel/2014-February/007780.html

I see:

+   if (geteuid() == 0)
+   d-cgroup_pattern = 
lxc_global_config_value(lxc.cgroup.pattern);
+   if (!d-cgroup_pattern)
+   d-cgroup_pattern = %n;
+
+   d-meta = lxc_cgroup_load_meta();
+   if (!d-meta) {
+   ERROR(cgroupfs failed to detect cgroup metadata);
+   goto err2;
+   }

should it be d-cgroup_pattern = /%n; instead ?

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

Title:
  [juju/lxc] juju local deploy on kvm machine using lxc failed with
  error: error executing lxc-start

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-core/+bug/1340836/+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 1324992] Re: freeipmi patch for HP moonshot ARM cartridges with I2c

2014-07-08 Thread Manoj Iyer
Installed the package that dannf provided and ran the exact same command
that works for Shashi with his version of freeipmi+patches:

ubuntu@c3n3:~$ sudo bmc-info --no-probing --driver-type=SSIF 
--driver-address=0x10 --driver-device=/dev/i2c-2 --get-device-id --debug
=
Get Device ID Request
=
SSIF Header:

[   0h] = lun[ 2b]
[   6h] = net_fn[ 6b]
IPMI Command Data:
--
[   1h] = cmd[ 8b]
ipmi_cmd_get_device_id: internal system error
ubuntu@c3n3:~$

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

Title:
  freeipmi patch for HP moonshot ARM cartridges with I2c

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freeipmi/+bug/1324992/+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 1206675] [NEW] [13.04] sudo maas createsuperuser not a valid command

2013-07-30 Thread Manoj Iyer
Public bug reported:

ubuntu@c01:~$ sudo maas createsuperuser
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 443, in execute_from_command_line
utility.execute()
  File /usr/lib/python2.7/dist-packages/django/core/management/__init__.py, 
line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
  File /usr/lib/python2.7/dist-packages/django/core/management/base.py, line 
196, in run_from_argv
self.execute(*args, **options.__dict__)
  File /usr/lib/python2.7/dist-packages/django/core/management/base.py, line 
232, in execute
output = self.handle(*args, **options)
  File 
/usr/lib/python2.7/dist-packages/django/contrib/auth/management/commands/createsuperuser.py,
 line 70, in handle
default_username = get_default_username()
  File 
/usr/lib/python2.7/dist-packages/django/contrib/auth/management/__init__.py, 
line 105, in get_default_username
default_username = get_system_username()
  File 
/usr/lib/python2.7/dist-packages/django/contrib/auth/management/__init__.py, 
line 85, in get_system_username
return getpass.getuser().decode(locale.getdefaultlocale()[1])
TypeError: decode() argument 1 must be string, not None

The new command is sudo maas createadmin --username=ubuntu
--password=ubuntu --email=ubu...@example.com

But the login in page still shows the older command, and MAAS command
should return an error instead of a traceback.

** Affects: maas
 Importance: Undecided
 Status: New

** Affects: maas (Ubuntu)
 Importance: High
 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/1206675

Title:
  [13.04] sudo maas createsuperuser not a valid command

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1206675/+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 1206675] Re: [13.04] sudo maas createsuperuser not a valid command

2013-07-30 Thread Manoj Iyer
sudo maas --version
1.4.5

cat /etc/issue
Ubuntu 13.04

** 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/1206675

Title:
  [13.04] sudo maas createsuperuser not a valid command

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1206675/+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 1206675] Re: [13.04] sudo maas createsuperuser not a valid command

2013-07-30 Thread Manoj Iyer
Also the web page http://maas.ubuntu.com/docs/install.html needs
updating with new command.

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

Title:
  [13.04] sudo maas createsuperuser not a valid command

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1206675/+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 1206681] Re: login page cluster controllers missing boot image warning message link pulls IP vs. URL

2013-07-30 Thread Manoj Iyer
Also according tohttp://maas.ubuntu.com/docs/nodes.html  accept and
commission all nodes from the commandline.

maas-cli maas nodes accept-all
usage: /usr/lib/python2.7/dist-packages/maascli/__main__.py [-h] COMMAND ...
/usr/lib/python2.7/dist-packages/maascli/__main__.py: error: argument COMMAND: 
invalid choice: u'maas' (choose from u'list', u'login', u'logout', u'refresh')

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

Title:
  login page cluster controllers missing boot image warning message link
  pulls IP vs. URL

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1206681/+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 1206681] Re: login page cluster controllers missing boot image warning message link pulls IP vs. URL

2013-07-30 Thread Manoj Iyer
Please ignore my comment above I think that is a result of a usage error
wrt to login

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

Title:
  login page cluster controllers missing boot image warning message link
  pulls IP vs. URL

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