DB access to show volumes may not be properly controlled. https://bugs.launchpad.net/cinder/+bug/1477625
In volume.get, to get volume admin metadata, it added admin role to normal user. So anyone can get any volume information if he know volume id.
import traceback | |
def f2(): | |
raise Exception("S") | |
def f1(): | |
f2() |
$ wc *.txt|awk '{print $1 " " $4}' | |
429 Clojure_Taiwan.txt | |
1135 Docker_Taipei.txt | |
110 ElasticSearch_Taipei.txt | |
1467 Functional_Thursday.txt | |
376 Lisp_Taiwan.txt | |
680 Meteor_Taipei.txt | |
100 OpenStack_Taiwan_User_Group.txt | |
1167 PyLadies_Taiwan.txt | |
3082 Python_Hsinchu_User_Group.txt |
import asyncio | |
from concurrent.futures import ThreadPoolExecutor | |
import random | |
import time | |
io_pool_exc = ThreadPoolExecutor() | |
async def openfile(name): | |
sleep_time = random.randint(1, 5) |
CapsLock & 1::return | |
CapsLock & 2::return | |
CapsLock & 3::return | |
CapsLock & 4::return | |
CapsLock & 5::return | |
CapsLock & 6::return | |
CapsLock & 7::return | |
CapsLock & 8::return | |
CapsLock & 9::return | |
CapsLock & 0::return |
kubectl label node minikube kolla_controller=true | |
kubectl label node minikube kolla_compute=true | |
kubectl create namespace kolla | |
tools/kolla-ansible genconfig | |
~/stash_config.sh push | |
crudini --set /etc/kolla/nova-compute/nova.conf libvirt virt_type qemu | |
sed -i '/\[global\]/a osd pool default size = 1\nosd pool default min size = 1\n' /etc/kolla/ceph*/ceph.conf | |
../kolla-kubernetes/tools/fix-mitaka-config.py | |
../kolla-kubernetes/tools/secret-generator.py create |
dconf load /org/gnome/ |
# -*- coding: utf-8 -*- | |
# Copyright 2014 Hewlett-Packard | |
# Copyright 2015 Carnegie Mellon University | |
# Licensed under the Apache License, Version 2.0 (the "License"); you may | |
# not use this file except in compliance with the License. You may obtain | |
# a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
sudo: unable to resolve host vagrant-ubuntu-trusty-64 | |
INFO:__main__:Kolla config strategy set to: COPY_ONCE | |
INFO:__main__:Loading config file at /var/lib/kolla/config_files/config.json | |
INFO:__main__:Validating config file | |
INFO:__main__:Copying service configuration files | |
INFO:__main__:Removing existing destination: /etc/neutron/neutron.conf | |
INFO:__main__:Copying /var/lib/kolla/config_files/neutron.conf to /etc/neutron/neutron.conf | |
INFO:__main__:Setting permissions for /etc/neutron/neutron.conf | |
INFO:__main__:Removing existing destination: /etc/neutron/plugins/ml2/ml2_conf.ini | |
INFO:__main__:Copying /var/lib/kolla/config_files/ml2_conf.ini to /etc/neutron/plugins/ml2/ml2_conf.ini |
--- | |
# You can use this file to override _any_ variable throughout Kolla. | |
# Additional options can be found in the 'kolla/group_vars/all.yml' file. | |
################### | |
# Kolla options | |
################### | |
# Valid options are [ COPY_ONCE, COPY_ALWAYS ] | |
#config_strategy: "COPY_ONCE" |
DB access to show volumes may not be properly controlled. https://bugs.launchpad.net/cinder/+bug/1477625
In volume.get, to get volume admin metadata, it added admin role to normal user. So anyone can get any volume information if he know volume id.