ceph nautilus - all new [wip]

Posted on Wed 02 January 2019 in Ceph • Tagged with ceph, notepad, nautilus • 1 min read

The Nautilus (14.x.x) release is scheduled for Feb 2019! 9 months after Mimic (13.x.x)

So what's new in ceph nautilus?

There are some new feature and updates:

Continue reading

rhev/ovirt: ssl handshake error - TLS

Posted on Wed 19 December 2018 in ovirt • Tagged with ovirt, rhev, rev, redhat • 1 min read

Dec 18 15:37:45 rhev06rn vdsm[3145]: ERROR ssl handshake: SSLError, address: ::ffff:  
Dec 18 15:37:45 rhev06rn vdsm[3145]: WARN unhandled write event


#ssl_excludes = OP_NO_TLSv1,OP_NO_TLSv1_1  
ssl = true

management_port = 54321

Bugzilla Link

CaaS3: Update hostname

Posted on Tue 18 December 2018 in Linux • Tagged with suse, caas, kubernetes, linux, notepad • 1 min read

linux-q0sf:~ # cat /var/lib/misc/infra-secrets/mariadb-root-password  
linux-q0sf:~ # docker exec -ti d72182149834 bash  
bash-4.3# mysql -u root -p  
Enter password:  
Welcome to the MariaDB monitor. Commands end with ; or \g.  
Your MariaDB connection id is 18  
Server version: 10.0.34-MariaDB SLE …

Continue reading

ceph - sort osds by utilisation

Posted on Thu 20 September 2018 in Ceph • Tagged with ceph, crush, linux, notepad, code • 1 min read

Version 1: keep it simple

$ ceph osd df  | awk '{ print "osd."$1, "size: "$5, "usage: " $8 }' | sort -nk5

OSDs can be listed twice - depends on the crushmap.

Version 2: json + python

$ ceph osd df tree -f json | python sort_hdd_osds.py
osd.28  utilization: 15.278888
osd.15  utilization: 19.700484 …

Continue reading

ceph - wrong osd id with lvm+filestore

Posted on Wed 04 July 2018 in Ceph • Tagged with bluestore, ceph, ceph-ansible, LVM, linux, notepad, howto • 2 min read

Not sure why...but i've found a strange ceph-volume behavior with lvm and filestore.

ceph-volume lvm list shows the wrong osd id while the affected osd is online with a another id.

$ mount | grep ceph-2
/dev/mapper/vg00-datalv1 on /var/lib/ceph/osd/ceph-2 type xfs (rw,relatime,seclabel,attr2 …

Continue reading

selinux - change default type

Posted on Thu 12 April 2018 in Linux • Tagged with selinux, linux • 1 min read

$ matchpathcon /tftpboot
/tftpboot       system_u:object_r:tftpdir_t:s0
$ semanage fcontext -a -t tftpdir_rw_t "/srv/tftp(/.*)?"
$ restorecon -Rv /srv/tftp

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


monitor_interface: eth1
radosgw_interface: eth1
        osd scrub during recovery: false
ceph_docker_image: "ceph/daemon"
ceph_docker_image_tag: latest
containerized_deployment: true


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

ovirt/rhev/rhv - stucked/locked task

Posted on Wed 06 December 2017 in ovirt • Tagged with ovirt, RHEV, notepad, linux • 1 min read

Query locked elements:

PGPASSWORD=password /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -d engine -u engine -t [all|disk|vm|template] -q

Remove lock:

PGPASSWORD=password /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -d engine -u engine -t [all|disk|vm|template] -r

ovirt/rhev/rhv - custom branding (web ui)

Posted on Wed 06 December 2017 in ovirt • Tagged with KVM, ovirt, RHEV, rev, branding, redhat • 1 min read

Step 1 - create a custom folder in /etc/ovirt-engine/branding

[root@rev1 branding]# ll
total 0
lrwxrwxrwx. 1 [..] 00-ovirt.brand -> /usr/share/ovirt-engine/branding/ovirt.brand
lrwxrwxrwx. 1 [..] 50-rhev-2.brand -> /usr/share/ovirt-engine/branding/rhev-2.brand
drwxr-xr-x. 3 [..] 99-custom.brand

Step 2 - copy your layout and create …

Continue reading