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
import java.util.concurrent.BlockingQueue; | |
import java.util.concurrent.ArrayBlockingQueue; | |
import java.util.HashMap; | |
public class TestMain { | |
public static void main(String args[]) { | |
BlockingQueue<Runnable> bq = new ArrayBlockingQueue<Runnable>(100); | |
ExecTest exec = new ExecTest(10, bq); | |
for (int i = 0; i < 10; i++) { |
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
sudo apt-add-repository ppa:mozillateam/firefox-next | |
sudo apt-get update | |
sudo apt-get install firefox xvfb | |
sudo apt-get install firefox=45.0.2+build1-0ubuntu1 | |
pip install selenium==2.53.6 | |
Xvfb :10 -ac & | |
export DISPLAY=:10 |
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
disable_service mysql | |
enable_service postgresql |
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
## Failure of Master | |
2016-12-12 13:37:32.714 DEBUG neutron.common.config [-] command line: /usr/local/bin/neutron-keepalived-state-change --router_id=162c5a03-7da6-43ee-9014-ac923bdcf711 --namespace=snat-162c5a03-7da6-43ee-9014-ac923bdcf711 --conf_dir=/opt/stack/data/neutron/ha_confs/162c5a03-7da6-43ee-9014-ac923bdcf711 --monitor_interface=ha-cda61386-10 --monitor_cidr=169.254.0.1/24 --pid_file=/opt/stack/data/neutron/external/pids/162c5a03-7da6-43ee-9014-ac923bdcf711.monitor.pid --state_path=/opt/stack/data/neutron --user=1000 --group=1000 from (pid=30887) setup_logging /opt/stack/neutron/neutron/common/config.py:107 | |
2016-12-12 13:37:32.751 DEBUG neutron.agent.linux.async_process [-] Launching async process [ip netns exec snat-162c5a03-7da6-43ee-9014-ac923bdcf711 ip -o monitor address]. from (pid=30898) start /opt/stack/neutron/neutron/agent/linux/async_process.py:110 | |
2016-12-12 13:37:32.754 DEBUG neutron.agent.linux.utils [-] Running command: ['ip', 'netns', 'exec', 'snat-162c5a03-7da6-43ee-9014-ac923bdcf71 |
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
2016-12-10 01:44:59.102475 WARNING:oslo_policy.policy:Policies ['update_rbac_policy:target_tenant'] are part of a cyclical reference. | |
2016-12-10 01:44:59.179871 WARNING:oslo_policy.policy:Policies ['update_rbac_policy:target_tenant'] are part of a cyclical reference. | |
2016-12-10 01:44:59.192622 WARNING:oslo_policy.policy:Policies ['update_rbac_policy:target_tenant'] are part of a cyclical reference. | |
2016-12-10 01:44:59.250029 WARNING:oslo_policy.policy:Policies ['update_rbac_policy:target_tenant'] are part of a cyclical reference. | |
2016-12-10 01:44:59.258922 WARNING:oslo_policy.policy:Policies ['update_rbac_policy:target_tenant'] are part of a cyclical reference. | |
2016-12-10 01:44:59.289306 WARNING:oslo_policy.policy:Policies ['update_rbac_policy:target_tenant'] are part of a cyclical reference. | |
2016-12-10 01:44:59.296100 WARNING:oslo_policy.policy:Policies ['update_rbac_policy:target_tenant'] are part of a cyclical reference. | |
2016-12-10 01:44:59.337389 WARNING:oslo_policy.policy:Policies ['update_rbac_policy:ta |
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
# Copyright (c) 2012 OpenStack Foundation. | |
# All rights reserved. | |
# | |
# 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 |
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
mysql> select * from ml2_port_bindings where port_id='06cc9409-fb74-44cb-8270-890aa4c1d86a'; | |
+--------------------------------------+------+----------+-----------+---------+-------------+ | |
| port_id | host | vif_type | vnic_type | profile | vif_details | | |
+--------------------------------------+------+----------+-----------+---------+-------------+ | |
| 06cc9409-fb74-44cb-8270-890aa4c1d86a | | unbound | normal | | | | |
+--------------------------------------+------+----------+-----------+---------+-------------+ |
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
{'_networks': {'192.168.140.0/24': ['compute02', 'compute01'], '192.168.100.0/24': ['compute02', 'compute01']}, '_clients': {'compute02': '192.168.100.118', 'compute01': '192.168.100.117'}, '_host_detail': {'compute02': {'192.168.140.0/24': {'ips': ['192.168.140.118'], 'results': {'192.168.140.117': {'host': 'compute01', 'result': 'success', 'open_ports': [22]}}}, '192.168.100.0/24': {'ips': ['192.168.100.118'], 'results': {'192.168.100.117': {'host': 'compute01', 'result': 'success', 'open_ports': [22]}}}}, 'compute01': {'192.168.140.0/24': {'ips': ['192.168.140.117'], 'results': {'192.168.140.118': {'host': 'compute02', 'result': 'success', 'open_ports': [22]}}}, '192.168.100.0/24': {'ips': ['192.168.100.117'], 'results': {'192.168.100.118': {'host': 'compute02', 'result': 'success', 'open_ports': [22]}}}}}} |
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 DATABASE keystone; | |
GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'localhost' \ | |
IDENTIFIED BY 'password'; | |
GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'%' \ | |
IDENTIFIED BY 'password'; | |
CREATE DATABASE glance; |
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
External | |
======== | |
#!/bin/bash | |
curl --data "username=%dme_username%&password=%dme_pw%&id=%dme_id%&ip=%external_ip%" https://cp.dnsmadeeasy.com/servlet/updateip | |
Internal | |
======== | |
#!/bin/bash |
NewerOlder