This file contains hidden or 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
$ git clone https://github.com/openstack-dev/devstack.git |
This file contains hidden or 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
# 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 |
This file contains hidden or 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
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 |
This file contains hidden or 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
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) |
This file contains hidden or 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 | |
echo "lol" |
This file contains hidden or 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 | |
echo "toto" |
This file contains hidden or 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
diff --git a/cinder/volume/drivers/rbd.py b/cinder/volume/drivers/rbd.py | |
index c9016bf..9365b86 100644 | |
--- a/cinder/volume/drivers/rbd.py | |
+++ b/cinder/volume/drivers/rbd.py | |
@@ -54,8 +54,9 @@ class RBDDriver(driver.VolumeDriver): | |
def __init__(self, *args, **kwargs): | |
super(RBDDriver, self).__init__(*args, **kwargs) | |
self.configuration.append_config_values(rbd_opts) | |
+ volume_backend_name = self.configuration.safe_get('volume_backend_name') or 'RBD' | |
self._stats = dict( |
This file contains hidden or 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
@@ -66 +66 @@ cfg.MultiStrOpt() { | |
cfg.MultiStrOpt('virt_mkfs', | |
default=[ | |
- 'default=mkfs.ext3 -L %(fs_label)s -F %(target)s', | |
+ 'default=mkfs.ext4 -L %(fs_label)s -F %(target)s', | |
'linux=mkfs.ext3 -L %(fs_label)s -F %(target)s', | |
'windows=mkfs.ntfs' | |
' --force --fast --label %(fs_label)s %(target)s', | |
# NOTE(yamahata): vfat case | |
#'windows=mkfs.vfat -n %(fs_label)s %(target)s', |
This file contains hidden or 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/sh | |
# Shell script to install your public key on a remote machine | |
# Takes the remote machine name as an argument. | |
# Obviously, the remote machine must accept password authentication, | |
# or one of the other keys in your ssh-agent, for this to work. | |
# | |
# http://www.devthought.com/2009/09/19/get-ssh-copy-id-in-mac-os-x/ | |
# |
This file contains hidden or 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
@@ -144,7 +144,7 @@ find_rbd_dev() { | |
rbd_validate_all() { | |
# Test for configuration errors first | |
if [ -z "$OCF_RESKEY_name" ]; then | |
- ocf_log err 'Required parameter "name" is unset!' | |
+ ocf_log err "Required parameter "name" is unset!" | |
exit $OCF_ERR_CONFIGURED |