This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# A fatal error has been detected by the Java Runtime Environment: | |
# | |
# SIGSEGV (0xb) at pc=0x00007f55ac6dd112, pid=14815, tid=0x00007f55ac3b0700 | |
# | |
# JRE version: OpenJDK Runtime Environment (8.0_141-b16) (build 1.8.0_141-b16) | |
# Java VM: OpenJDK 64-Bit Server VM (25.141-b16 mixed mode linux-amd64 compressed oops) | |
# Problematic frame: | |
# C [librocksdbjni6170663081901826394.so+0x22b112] rocksdb::DBImpl::NewIterator(rocksdb::ReadOptions const&, rocksdb::ColumnFamilyHandle*)+0x92 | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import argparse | |
import libvirt | |
import logging | |
import time | |
import sys | |
import os | |
from pprint import pformat | |
from heapq import nlargest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import argparse | |
import os | |
import sys | |
from keystoneauth1 import loading | |
from keystoneauth1 import session | |
from cinderclient import client | |
def get_client(args): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from keystoneauth1 import identity | |
from keystoneauth1 import session | |
from ironicclient import client as ironic_client | |
from novaclient import client as nova_client | |
from os import environ | |
import getopt | |
import sys | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// /etc/sensu/conf.d/sensu-checks.json | |
{ | |
"checks": { | |
"check-aodh-evaluator": { | |
"command": "systemctl is-active openstack-aodh-evaluator || exit 2", | |
"subscribers": ["overcloud-ceilometer-aodh-evaluator"], | |
"interval": 60 | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script will correct the "\n\\n" bug in hosts file | |
# Src: https://bugs.launchpad.net/tripleo/+bug/1655375 | |
# It will prevent from rebuild and redeployment to | |
# create a /etc/hosts file with this error. | |
# The nodes data is saved on swift on the undercloud | |
# and being pulled by the os-refresh-config process. | |
if [ "$OS_CLOUDNAME" != "undercloud" ] | |
then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from keystoneauth1 import identity | |
from keystoneauth1 import session | |
from neutronclient.v2_0 import client | |
from subprocess import call | |
from os import environ | |
import sys | |
""" Remove all network components """ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
racadm -r 10.166.5.6 -u root -p calvin sslkeyupload -t 1 -f D:\idrac_cert\wild_cert.key | |
racadm -r 10.166.5.6 -u root -p calvin sslcertupload -t 1 -f D:\idrac_cert\wild_cert.cer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create a file with: | |
export DIB_DHCP_TIMEOUT=75 | |
export DIB_YUM_REPO_CONF="/etc/yum.repos.d/delorean*" | |
export DIB_YUM_REPO_CONF="$DIB_YUM_REPO_CONF /etc/yum.repos.d/CentOS-Ceph-Jewel.repo" | |
export STABLE_RELEASE="newton" | |
openstack overcloud image build --all | |
# Run above file (in screen) | |
# Then: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in {0..2}; do ssh heat-admin@controller${i} "sudo systemctl enable openstack-cinder-api && sudo systemctl restart openstack-cinder-api && sudo sed -i 's/^enabled_apis=metadata/enabled_apis=metadata,osapi_compute/' /etc/nova/nova.conf && sudo systemctl restart openstack-nova-api";done |