Single-node OpenStack-on-LXD on IBM PowerNV System ; nova-compute in error state

Bug #1610536 reported by Rafael O. Gonzalez
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nova-compute (Juju Charms Collection)
Fix Released
High
Ryan Beisner

Bug Description

Following this process:
https://github.com/openstack-charmers/openstack-on-lxd

During installation the nova-compute host attempts to run command which is not allowed, causes cascading errors

on nova-compute/0 :

 INFO config-changed subprocess.CalledProcessError: Command '['ppc64_cpu', '--smt=off']' returned non-zero exit status

root@juju-778dc1-11:/var/log/juju# ppc64_cpu --smt=off
Cannot set smt state: Read-only file system
root@juju-778dc1-11:/var/log/juju#

Logs:

juju-status
http://paste.ubuntu.com/22367800/

nova-compute/0
http://paste.ubuntu.com/22365818/

rabbitmq-server/0
http://paste.ubuntu.com/22366080/

neutron-gateway/0
http://paste.ubuntu.com/22367421/

Revision history for this message
Rafael O. Gonzalez (rogc70) wrote :

ubuntu@wichita:~$ uname -a
Linux wichita 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:05:18 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux

ubuntu@wichita:~$ juju version
2.0-beta14-xenial-ppc64el

ubuntu@wichita:~$ dpkg -l | grep lxd
ii lxd 2.0.3-0ubuntu1~ubuntu16.04.2 ppc64el Container hypervisor based on LXC - daemon
ii lxd-client 2.0.3-0ubuntu1~ubuntu16.04.2 ppc64el Container hypervisor based on LXC - client

Revision history for this message
Ryan Beisner (1chb1n) wrote :

To-date, the nova-compute charm has only been validated on metal for PowerNV scenarios (not in a container).

Can you collect the following 4 bits of additional info and upload to this bug?

# On the host:
ppc64_cpu --info
ppc64_cpu --smt

# In the nova-compute container:
ppc64_cpu --info
ppc64_cpu --smt

affects: charms → nova-compute (Juju Charms Collection)
Ryan Beisner (1chb1n)
Changed in nova-compute (Juju Charms Collection):
assignee: nobody → Ryan Beisner (1chb1n)
status: New → Confirmed
importance: Undecided → High
milestone: none → 16.10
Ryan Beisner (1chb1n)
tags: added: uosci
tags: added: backport-potential
Ryan Beisner (1chb1n)
tags: added: ppc64el
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-compute (master)

Reviewed: https://review.openstack.org/352544
Committed: https://git.openstack.org/cgit/openstack/charm-nova-compute/commit/?id=8368e32df2adf2fafeaa2bb85a0cac4f595b7f65
Submitter: Jenkins
Branch: master

commit 8368e32df2adf2fafeaa2bb85a0cac4f595b7f65
Author: Ryan Beisner <email address hidden>
Date: Mon Aug 8 17:48:59 2016 +0000

    Update ppc64el state setting behavior

    Prevent attempts to set smt state in cases where the smt
    state value is already set to the expected value.

    Change-Id: I83682033cb46998c5e1ad8fe5986deecf6e4e89d
    Closes-Bug: 1610536

Changed in nova-compute (Juju Charms Collection):
status: Confirmed → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-compute (stable/16.07)

Fix proposed to branch: stable/16.07
Review: https://review.openstack.org/352655

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-compute (stable/16.07)

Reviewed: https://review.openstack.org/352655
Committed: https://git.openstack.org/cgit/openstack/charm-nova-compute/commit/?id=f96349f7aed1456008f60d995963d69ebdf2f527
Submitter: Jenkins
Branch: stable/16.07

commit f96349f7aed1456008f60d995963d69ebdf2f527
Author: Ryan Beisner <email address hidden>
Date: Mon Aug 8 17:48:59 2016 +0000

    Update ppc64el state setting behavior

    Prevent attempts to set smt state in cases where the smt
    state value is already set to the expected value.

    Change-Id: I83682033cb46998c5e1ad8fe5986deecf6e4e89d
    Closes-Bug: 1610536
    (cherry picked from commit 8368e32df2adf2fafeaa2bb85a0cac4f595b7f65)

Revision history for this message
Ryan Beisner (1chb1n) wrote :

Thank you for raising this issue.

Charm fix landed in master and backported to the 16.07/stable nova-compute charm.

Docs and bundles updated.

Grab a fresh copy of docs and bundles from https://github.com/openstack-charmers/openstack-on-lxd, take note of any ppc64el-specific bits added to the readme, ensure you have no local or model charm caches, deploy and enjoy. :-)

Changed in nova-compute (Juju Charms Collection):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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