Quickstart guide with kolla-ansible (for rocky)

Posted on Fri 15 February 2019 in openstack • Tagged with openstack, kolla, ansible, howto, linux, notepad, work • 2 min read

Requirements

  • kolla-ansible (testet with 7.0.1)
  • ansible (testet with 2.6.13)
  • epel-release (for centos)
  • python-pip

And some magic:

  • vagrant
  • vagrant-libvirt plugin
  • vagrant config

Quickstart

We will run all commands on our admin-node (vagrant ssh kolla-admin)

sudo yum install -y epel-release
sudo yum install -y python2-pip
sudo …

Continue reading

ceph-ansible: minimal containerized deployment (docker)

Posted on Wed 28 February 2018 in Ceph • Tagged with ansible, ceph, Linux, Openstack • 1 min read

tested with v3.0.26

group_vars/all.yml

monitor_interface: eth1
radosgw_interface: eth1
public_network: 10.20.30.0/24
cluster_network: 192.168.121.0/24
ceph_conf_overrides:
    osd:
        osd scrub during recovery: false
ceph_docker_image: "ceph/daemon"
ceph_docker_image_tag: latest
ceph_docker_registry: 10.20.30.1:5000
containerized_deployment: true

group_vars/osds.yml

crush_location: true
osd_crush_location …

Continue reading

SUSE Cloud – missing cinder key on computes - part2

Posted on Thu 07 December 2017 in openstack • Tagged with ceph, Openstack, suse cloud, SUSE Linux Enterprise Server, cinder, notepad, linux • 1 min read

I've found the root cause for the missing cinder key on the computes.

chef-client output - without any files:

[2017-11-30T09:37:33+01:00] INFO: Processing package[ceph-common] action install (nova::ceph line 50)
[2017-11-30T09:37:33+01:00] INFO: Ceph configuration file is …

Continue reading

SUSE Cloud - missing cinder key on computes

Posted on Fri 17 November 2017 in openstack • Tagged with ceph, Openstack, suse cloud, SUSE Linux Enterprise Server, cinder, notepad, linux • 1 min read

2017-11-01 14:30:53.970 27835 ERROR nova.virt.libvirt.driver [instance: c5618826-98cb-4fd6-9d6f-b8899bd320b7] libvirtError: Secret not found: no secret with matching uuid '5b7c1b36-
9093-4a13-b14d-da8b8cbdd8a6'
2017-11-01 14:30:53.970 27835 ERROR nova.virt.libvirt.driver [instance: c5618826 …

Continue reading

SUSE Openstack Cloud - debugging sleshammer

Posted on Fri 10 November 2017 in openstack • Tagged with Openstack, suse cloud, SUSE Linux Enterprise Server, cinder, notepad, linux • 1 min read

Slug: suse-openstack-cloud-debugging-sleshammer Status: published

To get a login shell during the discovery and [before]{.underline} the nfs is mounted:

Add the DISCOVERY_ROOT_PASSWORD parameter

root@admin:~ # crowbarctl proposal edit provisioner default
{
  "id": "provisioner-default",
  "description": "Created on Thu, 09 Nov 2017 15:43:20 +0100",
  "attributes": {
    "provisioner": {
[...]
      "discovery": {
        "append": "DISCOVERY_ROOT_PASSWORD=replace-with-your-password"
      }
[...]
    }
}
root …

Continue reading

openstack kolla - docker dependency tree

Posted on Thu 29 June 2017 in openstack • Tagged with openstack, kolla, linux, notepad • 1 min read

kolla dependency tree created via 

# kolla-build --save-dependency /tmp/kolla-dependency -p fullbuild

Openstack Manila with CephFS as backend [notepad]

Posted on Thu 22 December 2016 in openstack • Tagged with ceph, Openstack, linux, notepad, work • 1 min read

openstack-manila-cephfs


Openstack Horizon - leapyear bug

Posted on Mon 29 February 2016 in openstack • Tagged with Openstack, SUSE Cloud 5, SUSE Cloud 6, linux, openstack, suse • 2 min read

Switching the language in the dashboard ends with a error.

"day is out of range for month"

eg. https://bugs.launchpad.net/horizon/+bug/1551099

[Mon Feb 29 09:20:05 2016] [error] Internal Server Error: /settings/
[Mon Feb 29 09:20:05 2016] [error] Traceback (most recent call last …

Continue reading

Openstack Horizon - leapyear bug

Posted on Mon 29 February 2016 in openstack • Tagged with Openstack, SUSE Cloud 5, SUSE Cloud 6, linux, openstack, suse • 2 min read

Switching the language in the dashboard ends with a error.

"day is out of range for month"

eg. https://bugs.launchpad.net/horizon/+bug/1551099

[Mon Feb 29 09:20:05 2016] [error] Internal Server Error: /settings/
[Mon Feb 29 09:20:05 2016] [error] Traceback (most recent call last …

Continue reading

SUSE Openstack Cloud - sleshammer - pre/post scripts - pxe trigger

Posted on Wed 24 February 2016 in openstack • Tagged with crowbar, Openstack, sleshammer, SUSE Cloud 5, SUSE Cloud 6, SUSE Linux Enterprise Server • 1 min read

Enable root login for the sleshammer image

(it is used by the suse cloud as a hardware discovery image)

The sleshammer image will mount "/updates" over nfs from the admin node and execute the control.sh. This script will check if there are some pre/post-hooks and will possibly execute …


Continue reading