Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am mpiscaer on github.
  • I am masterpe (https://keybase.io/masterpe) on keybase.
  • I have a public key whose fingerprint is A57A 745B 36CF 0FAC 21DC E993 C9E5 0908 09F8 706A

To claim this, I am signing this object:

local shortport = require "shortport"
local nmap = require "nmap"
local string = require "string"
local bin = require "bin"
local stdnse = require "stdnse"
description = [[
Tests for CVE-2014-0160 "heartbleed" OpenSSL vulnerability. Based on the
following script:
When I create with the pool ssd-test
# ceph osd pool create ssd-test 640 640 replicated replicated_ssd_ruleset
I get the following error:
root@ceph-mon-01-[LOC]:~# ceph health
HEALTH_WARN 640 pgs degraded; 640 pgs stuck unclean; 640 pgs undersized
The tree map says:
root@ceph-client-01-[LOC]:~# ceph -s
cluster 8be348fe-3cdd-443f-a69e-c2693846dc45
health HEALTH_OK
monmap e4: 3 mons at {0=10.114.160.50:6789/0,1=10.114.160.51:6789/0,2=10.114.160.52:6789/0}
election epoch 92, quorum 0,1,2 0,1,2
mdsmap e79: 1/1/1 up {0=b=up:active}, 1 up:standby
osdmap e7101: 28 osds: 28 up, 28 in
flags sortbitwise
pgmap v1311491: 3840 pgs, 6 pools, 275 GB data, 90681 objects
fatal: [controller01_ceph-mon_container-4d28829a]: FAILED! => {"msg": "The conditional check 'ceph_stable_release not in ceph_release_num' failed. The error was: Unexpected templating type error occurred on ({%
if ceph_stable_release not in ceph_release_num %} True {% else %} False {% endif %}): argument of type 'int' is not iterable\n\nThe error appears to have been in '/etc/ansible/roles/ceph-ansible/roles/ceph-commo
n/tasks/checks/check_mandatory_vars.yml': line 36, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: make sure ceph_stable_relea
se is correct\n ^ here\n"}
Apr 17 22:19:35 sctrko1 cinder-volume[5268]: 2019-04-17 22:19:35.201 5268 ERROR cinder.volume.flows.manager.create_volume [req-5a18a39b-a1be-4357-889e-b72444613d16 760136f98f43685cd48757211c237a2da503327ab97059f97e3b09e437043364 8de5d67d538f448e8254746d80631dec - eee56f96ca8046cc878bc87b569c23a7 eee56f96ca8046cc878bc87b569c23a7] Failed to copy image 5526e1d9-f469-42bb-99d4-ba4bb5d81b0c to volume: ea4cfc6c-b14f-49f7-b986-8f21e1b2259e: ProcessExecutionError: Unexpected error while running command.
Command: rbd import --pool volumes --order 23 /var/lib/cinder/conversion/tmpWpLaZa volume-ea4cfc6c-b14f-49f7-b986-8f21e1b2259e --new-format --id cinder --cluster ceph --conf /etc/ceph/ceph.conf
Exit code: 25
Stdout: u'rbd: --new-format is deprecated, use --image-format\n'
Stderr: u'rbd: --pool is deprecated for import, use --dest-pool\nrbd:
TASK [os_rally : Setup the Rally deployment] ***********************************************************************************************************************************************************************************************************************************
fatal: [controller01_utility_container-3f4d1949]: FAILED! => {"changed": true, "cmd": ". /root/openrc
. /openstack/venvs/rally-18.1.4/bin/activate
/openstack/venvs/rally-18.1.4/bin/rally deployment create --fromenv --name=existing", "delta": "0:00:03.045243", "end": "2019-09-03 19:35:24.890177", "msg": "non-zero return code", "rc": 1, "start": "2019-09-03 19:35:21.844934", "stderr": "", "stderr_lines": [], "stdout": "(1, 2, 0, 'final', 0)
Command failed, please check log for more info
2019-09-03 19:35:24.777 4891 CRITICAL rally [-] Unhandled error: KeyError: 'https_key'
2019-09-03 19:35:24.777 4891 ERROR rally Traceback (most recent call last):
2019-09-03 19:35:24.777 4891 ERROR rally File \"/openstack/venvs/rally-18.1.4/bin/rally\", lin
apt install zookeeper zookeeperd python3-pip python-pip
apt-get install -d $(bindep -b compile)
# install nodepool
sudo groupadd --system nodepool
sudo useradd --system nodepool --home-dir /var/lib/nodepool --create-home -g nodepool
ssh-keygen -t rsa -m PEM -b 2048 -f nodepool_rsa -N ''
sudo mkdir /etc/nodepool/
sudo mkdir /var/log/nodepool
2020-05-01 13:55:10,497 INFO zuul.TenantParser: Loading configuration from username/zuul-test/.zuul.yaml@master
2020-05-01 13:55:10,521 WARNING zuul.ConfigLoader: 4 errors detected during quickstart tenant configuration loading
2020-05-01 13:55:10,521 WARNING zuul.ConfigLoader: Zuul encountered a syntax error while parsing its configuration in the
repo username/zuul-test-config on branch master. The error
Ps aux of source
root@tcpuko1:/var/log/nova# ps aux|grep "instance-00007873"
libvirt+ 5691 8.7 0.2 5922204 652096 ? Sl 11:20 0:15 /usr/bin/qemu-system-x86_64 -name guest=instance-00007873,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-9-instance-00007873/master-key.aes -machine pc-i440fx-bionic,accel=kvm,usb=off,dump-guest-core=off -cpu Haswell-noTSX-IBRS,abm=on,acpi=on,arat=on,dca=on,ds=on,ds_cpl=on,dtes64=on,est=on,f16c=on,ht=on,monitor=on,pbe=on,pdcm=on,pdpe1gb=on,rdrand=on,smx=on,ss=on,ssbd=on,tm=on,tm2=on,tsc_adjust=on,vme=on,vmx=on,xsaveopt=on,xtpr=on -m 4096 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid b25148af-8382-4620-b6b9-5860cd6c13d0 -smbios type=1,manufacturer=OpenStack Foundation,product=OpenStack Nova,version=19.1.1,serial=b25148af-8382-4620-b6b9-5860cd6c13d0,uuid=b25148af-8382-4620-b6b9-5860cd6c13d0,family=Virtual Machine -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-9-inst