Skip to content

Instantly share code, notes, and snippets.

View leseb's full-sized avatar
👺

Sébastien Han leseb

👺
View GitHub Profile
628c628,629
< specs = {}
---
> qos = {}
> specs = None
630,631c631,632
< res = volume_types.get_volume_type_qos_specs(typeid)
< specs = res['qos_specs']
---
> res = volume_types.get_volume_type_qos_specs(typeid)
You can use OpenStack Glance to store images in a Ceph Block Device, and you
+- **Guest Disks**: Guest disks are guest operating system disks.
+ By default, when you boot a virtual machine,
+ its disk appears as a file on the filesystem of the hypervisor
+ (usually under ``/var/lib/nova/instances/<uuid>/``). Since Havana, it’s
+ possible to directly boot every virtual machine inside Ceph.
+ This is really handy because it allows us to easily perform
+ maintenance operation with the live-migration process.
+ On the other hand, if your hypervisor dies it’s also really convenient
+ to trigger ``nova evacuate`` and almost seamlessly run the virtual machine
# Misc
DATABASE_PASSWORD=password
ADMIN_PASSWORD=password
SERVICE_PASSWORD=password
SERVICE_TOKEN=password
RABBIT_PASSWORD=password
# Enable Logging
LOGFILE=/opt/stack/logs/stack.sh.log
VERBOSE=True
$ git clone https://github.com/openstack-dev/devstack.git
$ rake generate
## Generating Site with Jekyll
error sass/screen.scss (Line 13 of sass/base/_typography.scss: You may not @extend an outer selector from within @media.
You may only @extend selectors within the same directive.
From "@extend .sans" on line 57 of /Users/leseb/Documents/octopress/sass/partials/_navigation.scss.
)
Compilation failed in 1 files.
Configuration from /Users/leseb/Documents/octopress/_config.yml
Building site: source -> public
Successfully generated site: source -> public
### Keybase proof
I hereby claim:
* I am leseb on github.
* I am leseb (https://keybase.io/leseb) on keybase.
* I have a public key ASBmnBW286W3WVUFgfkkWQ93JlRb57znNQ8RKDodWyDxOgo
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am leseb on github.
  • I am leseb (https://keybase.io/leseb) on keybase.
  • I have a public key ASBmnBW286W3WVUFgfkkWQ93JlRb57znNQ8RKDodWyDxOgo

To claim this, I am signing this object:

#!/bin/bash
set -e
UUID=$(uuidgen)
IMAGE=/var/lib/libvirt/images/minikube-$UUID
PROFILE=$1
sudo rm -rf /var/lib/libvirt/images/minikube-*
for i in b c d; do
[
{
"kind": "ConfigMap",
"data": {
"maxMonId": "0",
"data": "a=10.106.31.93:6789",
"mapping": {}
},
"name": "rook-ceph-mon-endpoints"
},
# HELP ceph_health_status Cluster health status
# TYPE ceph_health_status untyped
ceph_health_status 1.0
# HELP ceph_mon_quorum_status Monitors in quorum
# TYPE ceph_mon_quorum_status gauge
ceph_mon_quorum_status{ceph_daemon="mon.a"} 1.0
# HELP ceph_fs_metadata FS Metadata
# TYPE ceph_fs_metadata untyped
# HELP ceph_mds_metadata MDS Metadata
# TYPE ceph_mds_metadata untyped