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
@api_call | |
def get_event_stats(request): | |
try: | |
filters = {} | |
if 'when_min' in request.GET: | |
when_min = utils.str_time_to_unix(request.GET['when_min']) | |
filters['when__gte'] = when_min | |
if 'when_max' in request.GET: | |
when_max = utils.str_time_to_unix(request.GET['when_max']) |
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
.exists - (past state, past launched_at) | |
.resize.prep.start (launched_at reset) | |
.resize.prep.end | |
.resize.start | |
.resize.end | |
.exists - (past state, but pre action launched_at reset) | |
.resize_finish.start (reset launched_at again) | |
.exists - (new state, new launched_at) | |
.resize_finish.end (final launched_at set) | |
.exists - (periodic, final state, final launched_at) |
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
stack@ubuntu:~/devstack$ route -n | |
Kernel IP routing table | |
Destination Gateway Genmask Flags Metric Ref Use Iface | |
0.0.0.0 192.168.154.2 0.0.0.0 UG 0 0 0 br100 | |
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 br100 | |
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0 | |
192.168.154.0 0.0.0.0 255.255.255.0 U 0 0 0 br100 |
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
2014-04-02 08:22:47.946 ERROR nova.compute.manager [req-01929b59-25f6-4d2e-a3d7-557f10b16244 demo demo] [instance: b203765c-db87-47a9-8fe7-f9854d094f62] Error: invalid argument: lxcDomainStartWithFlags: unsupported flags (0x1) | |
2014-04-02 08:22:47.946 TRACE nova.compute.manager [instance: b203765c-db87-47a9-8fe7-f9854d094f62] Traceback (most recent call last): | |
2014-04-02 08:22:47.946 TRACE nova.compute.manager [instance: b203765c-db87-47a9-8fe7-f9854d094f62] File "/opt/stack/nova/nova/compute/manager.py", line 1309, in _build_instance | |
2014-04-02 08:22:47.946 TRACE nova.compute.manager [instance: b203765c-db87-47a9-8fe7-f9854d094f62] set_access_ip=set_access_ip) | |
2014-04-02 08:22:47.946 TRACE nova.compute.manager [instance: b203765c-db87-47a9-8fe7-f9854d094f62] File "/opt/stack/nova/nova/compute/manager.py", line 399, in decorated_function | |
2014-04-02 08:22:47.946 TRACE nova.compute.manager [instance: b203765c-db87-47a9-8fe7-f9854d094f62] return function(self, context, *args, **kwargs) | |
2014-04-02 08:2 |
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
[ | |
{ | |
"network": { | |
"id": "", | |
"address": "", | |
"type": "", | |
"details": {}, | |
"devname": "", | |
"ovs_interfaceid": "", | |
"qbh_params": "", |
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
Inconsistent keys and data model | |
* Network attributes | |
** Create call | |
{“ExposedPorts”: {“22/tcp”: {}}} | |
** Inspect/show call | |
{“HostConfig”: {“PortBinding”: [{“22/tcp”: {“HostIP”: “0.0.0.0”, “HostPort”: “2222”}}]}} | |
** List call | |
{“Ports”: [{“PrivatePort”: “2222”, “PublicPort”: “22”, “Type”:”tcp”}]} | |
* Root level attributes in create call are then broken out into “Config”, “HostConfig” for show, but are also root level in list call. | |
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
[[local|localrc]] | |
ADMIN_PASSWORD=openstack | |
MYSQL_PASSWORD=$ADMIN_PASSWORD | |
RABBIT_PASSWORD=$ADMIN_PASSWORD | |
SERVICE_PASSWORD=$ADMIN_PASSWORD | |
SERVICE_TOKEN=$ADMIN_PASSWORD | |
LIBVIRT_TYPE=lxc | |
PUBLIC_INTERFACE=eth0 |
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
[[local|localrc]] | |
# Misc | |
ADMIN_PASSWORD=openstack | |
DATABASE_PASSWORD=$ADMIN_PASSWORD | |
ADMIN_PASSWORD=$ADMIN_PASSWORD | |
SERVICE_PASSWORD=$ADMIN_PASSWORD | |
SERVICE_TOKEN=$ADMIN_PASSWORD | |
RABBIT_PASSWORD=$ADMIN_PASSWORD | |
RECLONE=yes |
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
# Sample ``local.conf`` for user-configurable variables in ``stack.sh`` | |
# NOTE: Copy this file to the root ``devstack`` directory for it to | |
# work properly. | |
# ``local.conf`` is a user-maintained setings file that is sourced from ``stackrc``. | |
# This gives it the ability to override any variables set in ``stackrc``. | |
# Also, most of the settings in ``stack.sh`` are written to only be set if no | |
# value has already been set; this lets ``local.conf`` effectively override the | |
# default values. |
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
2014-09-17 16:04:11.994 ERROR oslo.messaging.rpc.dispatcher [req-c3610fca-abea-428f-a5f1-37cfdc226055 demo demo] Exception during message handling: 'NoneType' object has no attribute '__getitem__' | |
2014-09-17 16:04:11.994 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last): | |
2014-09-17 16:04:11.994 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply | |
2014-09-17 16:04:11.994 TRACE oslo.messaging.rpc.dispatcher incoming.message)) | |
2014-09-17 16:04:11.994 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch | |
2014-09-17 16:04:11.994 TRACE oslo.messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args) | |
2014-09-17 16:04:11.994 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch | |
2014-09-17 16:04:11.99 |
OlderNewer