Alex I can provide few info not all as we are deploying the environment now.
* Ubuntu version
Bionic 18.04 stable
* LXD version (unless it's just distro)
distro only.
* juju config of the lxd charm
lxd:
charm: cs:lxd
options:
block-devices: '/dev/sdh'
nova-compute-lxd:
charm: cs:nova-compute
num_units: 2
bindings:
"": *oam-space
internal: *internal-space
options:
openstack-origin: *openstack-origin
# this is still a beta feature
# CRIU is very workload dependent
enable-live-migration: False
# maybe in the future
# enable-resize: True
# RBD support for nova-lxd will be in Pike
use-internal-endpoints: True
restrict-ceph-pools: False
aa-profile-mode: complain
virt-type: lxd
customize-failure-domain: *customize-failure-domain
reserved-host-memory: *reserved-host-memory
to:
- 1012
- 1013
* juju logs from the broken unit in full (if possible, including the
original deploy)
not available as it is being redeployed
cannot provide as redeployed
* bundle used to deploy the openstack
It is customer bundle with Bionic Rocky.
* /etc/nova* config files
cannot provide as redeployed the environment
Also, what's a 19.01 charm?? Is it the last release, which was 18.11? Do
you have the charm store revision number for the originally deployed
charm?
NG> yes last release where inital charm revison was 22 and after
upgrade it uses 24.
Thanks and Regards,
Narinder Gupta
Canonical, Ltd.
+1.281.736.5150
Ubuntu- Linux for human beings | www.ubuntu.com | www.canonical.com
On Thu, Apr 18, 2019 at 12:50 PM Alex Kavanagh <email address hidden>
wrote:
> Hi Narinder
>
> Could you please provide:
>
> * Ubuntu version
> * LXD version (unless it's just distro)
> * juju config of the lxd charm
> * juju logs from the broken unit in full (if possible, including the
> original deploy)
> * bundle used to deploy the openstack
> * /etc/nova* config files
>
> Also, what's a 19.01 charm?? Is it the last release, which was 18.11? Do
> you have the charm store revision number for the originally deployed
> charm?
>
> Thanks
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1825393
>
> Title:
> upgrade charm from 19.01 to 19.04 fails on initalize storage pool
>
> Status in OpenStack LXD Charm:
> New
>
> Bug description:
> Deploy using 19.02 charm then upgrade to 19.04 charm. config-change
> hook error.
>
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed
> subprocess.CalledProcessError: Command '['lxc', 'storage', 'create', 'lxd',
> 'btrfs', 'source=/dev/sdh']' returned non-zero exit status 1
> unit-lxd-1: 16:21:16 ERROR juju.worker.uniter.operation hook
> "config-changed" failed: exit status 1
> unit-lxd-0: 16:21:14 INFO unit.lxd/0.juju-log Configuring LXD container
> storage
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed
> +------+-------------+--------+--------------------------------------+---------+
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed | NAME |
> DESCRIPTION | DRIVER | SOURCE | USED BY |
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed
> +------+-------------+--------+--------------------------------------+---------+
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed | lxd |
> | btrfs | 4e0bbaa6-6fad-4428-8ffd-81828cdf5746 | 0 |
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed
> +------+-------------+--------+--------------------------------------+---------+
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed Error: The storage
> pool already exists
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed Traceback (most
> recent call last):
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed File
> "/var/lib/juju/agents/unit-lxd-0/charm/hooks/config-changed", line 173, in
> <module>
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed main()
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed File
> "/var/lib/juju/agents/unit-lxd-0/charm/hooks/config-changed", line 166, in
> main
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed
> hooks.execute(sys.argv)
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed File
> "/var/lib/juju/agents/unit-lxd-0/charm/hooks/charmhelpers/core/hookenv.py",
> line 914, in execute
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed
> self._hooks[hook_name]()
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed File
> "/var/lib/juju/agents/unit-lxd-0/charm/hooks/config-changed", line 86, in
> config_changed
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed
> configure_lxd_block()
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed File
> "/var/lib/juju/agents/unit-lxd-0/charm/hooks/lxd_utils.py", line 233, in
> configure_lxd_block
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed
> config_btrfs(dev)
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed File
> "/var/lib/juju/agents/unit-lxd-0/charm/hooks/lxd_utils.py", line 246, in
> config_btrfs
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed check_call(cmd)
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed File
> "/usr/lib/python2.7/subprocess.py", line 190, in check_call
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed raise
> CalledProcessError(retcode, cmd)
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/0.config-changed
> subprocess.CalledProcessError: Command '['lxc', 'storage', 'create', 'lxd',
> 'btrfs', 'source=/dev/sdh']' returned non-zero exit status 1
> unit-lxd-0: 16:21:14 ERROR juju.worker.uniter.operation hook
> "config-changed" failed: exit status 1
> unit-lxd-1: 16:21:16 INFO unit.lxd/1.juju-log Configuring LXD container
> storage
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed
> +------+-------------+--------+--------------------------------------+---------+
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed | NAME |
> DESCRIPTION | DRIVER | SOURCE | USED BY |
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed
> +------+-------------+--------+--------------------------------------+---------+
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed | lxd |
> | btrfs | d33d8b1b-8096-48a4-8a4c-447168e6d049 | 0 |
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed
> +------+-------------+--------+--------------------------------------+---------+
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed Error: The storage
> pool already exists
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed Traceback (most
> recent call last):
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed File
> "/var/lib/juju/agents/unit-lxd-1/charm/hooks/config-changed", line 173, in
> <module>
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed main()
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed File
> "/var/lib/juju/agents/unit-lxd-1/charm/hooks/config-changed", line 166, in
> main
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed
> hooks.execute(sys.argv)
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed File
> "/var/lib/juju/agents/unit-lxd-1/charm/hooks/charmhelpers/core/hookenv.py",
> line 914, in execute
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/1.config-changed
> self._hooks[hook_name]()
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/charm-lxd/+bug/1825393/+subscriptions
>
Alex I can provide few info not all as we are deploying the environment now.
* Ubuntu version
Bionic 18.04 stable
* LXD version (unless it's just distro)
distro only.
* juju config of the lxd charm
lxd:
charm: cs:lxd
options:
block- devices: '/dev/sdh'
nova-compute-lxd: -origin: *openstack-origin live-migration: False internal- endpoints: True ceph-pools: False profile- mode: complain -failure- domain: *customize- failure- domain host-memory: *reserved- host-memory
charm: cs:nova-compute
num_units: 2
bindings:
"": *oam-space
internal: *internal-space
options:
openstack
# this is still a beta feature
# CRIU is very workload dependent
enable-
# maybe in the future
# enable-resize: True
# RBD support for nova-lxd will be in Pike
use-
restrict-
aa-
virt-type: lxd
customize
reserved-
to:
- 1012
- 1013
* juju logs from the broken unit in full (if possible, including the
original deploy)
not available as it is being redeployed
cannot provide as redeployed
* bundle used to deploy the openstack
It is customer bundle with Bionic Rocky.
* /etc/nova* config files
cannot provide as redeployed the environment
Also, what's a 19.01 charm?? Is it the last release, which was 18.11? Do
you have the charm store revision number for the originally deployed
charm?
NG> yes last release where inital charm revison was 22 and after
upgrade it uses 24.
Thanks and Regards,
Narinder Gupta
Canonical, Ltd.
+1.281.736.5150
Ubuntu- Linux for human beings | www.ubuntu.com | www.canonical.com
On Thu, Apr 18, 2019 at 12:50 PM Alex Kavanagh <email address hidden>
wrote:
> Hi Narinder /bugs.launchpad .net/bugs/ 1825393 1.config- changed CalledProcessEr ror: Command '['lxc', 'storage', 'create', 'lxd', uniter. operation hook 0.config- changed +------ ------- +------ --+---- ------- ------- ------- ------- ------+ ------- --+ 0.config- changed | NAME | 0.config- changed +------ ------- +------ --+---- ------- ------- ------- ------- ------+ ------- --+ 0.config- changed | lxd | 6fad-4428- 8ffd-81828cdf57 46 | 0 | 0.config- changed +------ ------- +------ --+---- ------- ------- ------- ------- ------+ ------- --+ 0.config- changed Error: The storage 0.config- changed Traceback (most 0.config- changed File juju/agents/ unit-lxd- 0/charm/ hooks/config- changed" , line 173, in 0.config- changed main() 0.config- changed File juju/agents/ unit-lxd- 0/charm/ hooks/config- changed" , line 166, in 0.config- changed sys.argv) 0.config- changed File juju/agents/ unit-lxd- 0/charm/ hooks/charmhelp ers/core/ hookenv. py", 0.config- changed hook_name] () 0.config- changed File juju/agents/ unit-lxd- 0/charm/ hooks/config- changed" , line 86, in 0.config- changed lxd_block( ) 0.config- changed File juju/agents/ unit-lxd- 0/charm/ hooks/lxd_ utils.py" , line 233, in 0.config- changed 0.config- changed File juju/agents/ unit-lxd- 0/charm/ hooks/lxd_ utils.py" , line 246, in 0.config- changed check_call(cmd) 0.config- changed File python2. 7/subprocess. py", line 190, in check_call 0.config- changed raise ror(retcode, cmd) 0.config- changed CalledProcessEr ror: Command '['lxc', 'storage', 'create', 'lxd', uniter. operation hook 1.config- changed +------ ------- +------ --+---- ------- ------- ------- ------- ------+ ------- --+ 1.config- changed | NAME | 1.config- changed +------ ------- +------ --+---- ------- ------- ------- ------- ------+ ------- --+ 1.config- changed | lxd | 8096-48a4- 8a4c-447168e6d0 49 | 0 | 1.config- changed +------ ------- +------ --+---- ------- ------- ------- ------- ------+ ------- --+ 1.config- changed Error: The storage 1.config- changed Traceback (most 1.config- changed File juju/agents/ unit-lxd- 1/charm/ hooks/config- changed" , line 173, in 1.config- changed main() 1.config- changed File juju/agents/ unit-lxd- 1/charm/ hooks/config- changed" , line 166, in 1.config- changed sys.argv) 1.config- changed File juju/agents/ unit-lxd- 1/charm/ hooks/charmhelp ers/core/ hookenv. py", 1.config- changed hook_name] () /bugs.launchpad .net/charm- lxd/+bug/ 1825393/ +subscriptions
>
> Could you please provide:
>
> * Ubuntu version
> * LXD version (unless it's just distro)
> * juju config of the lxd charm
> * juju logs from the broken unit in full (if possible, including the
> original deploy)
> * bundle used to deploy the openstack
> * /etc/nova* config files
>
> Also, what's a 19.01 charm?? Is it the last release, which was 18.11? Do
> you have the charm store revision number for the originally deployed
> charm?
>
> Thanks
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> upgrade charm from 19.01 to 19.04 fails on initalize storage pool
>
> Status in OpenStack LXD Charm:
> New
>
> Bug description:
> Deploy using 19.02 charm then upgrade to 19.04 charm. config-change
> hook error.
>
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/
> subprocess.
> 'btrfs', 'source=/dev/sdh']' returned non-zero exit status 1
> unit-lxd-1: 16:21:16 ERROR juju.worker.
> "config-changed" failed: exit status 1
> unit-lxd-0: 16:21:14 INFO unit.lxd/0.juju-log Configuring LXD container
> storage
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/
> +------
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/
> DESCRIPTION | DRIVER | SOURCE | USED BY |
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/
> +------
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/
> | btrfs | 4e0bbaa6-
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/
> +------
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/
> pool already exists
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/
> recent call last):
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/
> "/var/lib/
> <module>
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/
> "/var/lib/
> main
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/
> hooks.execute(
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/
> "/var/lib/
> line 914, in execute
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/
> self._hooks[
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/
> "/var/lib/
> config_changed
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/
> configure_
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/
> "/var/lib/
> configure_lxd_block
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/
> config_btrfs(dev)
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/
> "/var/lib/
> config_btrfs
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/
> "/usr/lib/
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/
> CalledProcessEr
> unit-lxd-0: 16:21:14 DEBUG unit.lxd/
> subprocess.
> 'btrfs', 'source=/dev/sdh']' returned non-zero exit status 1
> unit-lxd-0: 16:21:14 ERROR juju.worker.
> "config-changed" failed: exit status 1
> unit-lxd-1: 16:21:16 INFO unit.lxd/1.juju-log Configuring LXD container
> storage
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/
> +------
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/
> DESCRIPTION | DRIVER | SOURCE | USED BY |
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/
> +------
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/
> | btrfs | d33d8b1b-
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/
> +------
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/
> pool already exists
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/
> recent call last):
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/
> "/var/lib/
> <module>
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/
> "/var/lib/
> main
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/
> hooks.execute(
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/
> "/var/lib/
> line 914, in execute
> unit-lxd-1: 16:21:16 DEBUG unit.lxd/
> self._hooks[
>
> To manage notifications about this bug go to:
> https:/
>