Install rados and rbd python3 libs on Ubuntu

These packages is somehow not installed by the packages
that is managed in puppet-nova or somewhere else anymore.

Testing installing these here until we have figured out
where to place the logic to solve the issue.

Change-Id: Ib581924460685daba826dce10dec666f4cbc091e
This commit is contained in:
Tobias Urdin 2019-02-07 22:51:05 +01:00
parent a48910362d
commit 0856cc03b6
1 changed files with 9 additions and 0 deletions

View File

@ -143,5 +143,14 @@ class openstack_integration::repos {
ensure => 'present',
}
Apt::Source<||> -> Package['python-keystonemiddleware']
# TODO(tobias-urdin): Something changed in packages that was installed in puppet-nova
# on Ubuntu so the rbd and rados python libs are not installed anymore.
# Need to figure out a good place to add them back in, until then just testing with this.
ensure_packages(['python3-rados', 'python3-rbd'], {
'ensure' => 'present',
'tag' => 'nova-python3-libs',
})
Apt::Source<||> -> Package<| tag == 'nova-python3-libs' |>
}
}