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
nova-api-140220592794032 entering nova.api.openstack.compute.images.Controller.index | |
nova-api-140220592794032 |entering nova.image.api.API.get_all | |
nova-api-140220592794032 ||entering nova.image.glance.get_default_image_service | |
nova-api-140220592794032 |||entering nova.image.download.file.get_schemes | |
nova-api-140220592794032 |||exiting nova.image.download.file.get_schemes | |
nova-api-140220592794032 ||exiting nova.image.glance.get_default_image_service | |
nova-api-140220592794032 ||entering nova.image.glance.GlanceImageService.detail | |
nova-api-140220592794032 |||entering nova.image.glance._extract_query_params | |
nova-api-140220592794032 |||exiting nova.image.glance._extract_query_params | |
nova-api-140220592794032 |||entering nova.image.glance.GlanceClientWrapper.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
diff --git a/network/neutronv2/api.py b/network/neutronv2/api.py | |
index 2f84715..abe9b25 100644 | |
--- a/network/neutronv2/api.py | |
+++ b/network/neutronv2/api.py | |
@@ -791,6 +791,7 @@ class API(base_api.NetworkAPI): | |
networks = networks + [ | |
{'id': iface['network']['id'], | |
'name': iface['network']['label'], | |
+ 'vlan': iface['network'].get('vlan'), | |
'tenant_id': iface['network']['meta']['tenant_id']} |
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
#!/bin/bash | |
# Role: s1, s2, s3 and s4 are defined. | |
for s1 in add remove; do | |
for s2 in add remove; do | |
for s3 in add remove; do | |
for s4 in add remove; do | |
for s5 in add remove; do | |
for s6 in add remove; do |
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
+----------------------------------+----------+---------+--------+ | |
| ID | Name | Project | User | | |
+----------------------------------+----------+---------+--------+ | |
| 9fe2ff9ee4384b1894a90878d3e92bab | _member_ | sample | sample | | |
| dbc42f57cb9645d8ba2e7cb24210a2ca | s4 | sample | sample | | |
| b907d1e97a544d608246e10fe1b608b0 | s3 | sample | sample | | |
| 932bf48856f345be81af257c3616b9e9 | s1 | sample | sample | | |
| bd9c438aa1fa4c398b2ae1fbe4defc78 | s2 | sample | sample | | |
+----------------------------------+----------+---------+--------+ | |
( role:s1 or role:s2 or role:s3 ) or role:s4 (should be True): True |
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
# ./ironic-console-server.py -f /tmp/log -p 5555 -c "ipmitool -H 192.168.2.236 -U root -P opctest -I lanplus sol activate" |
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
$ diff -u /tmp/ssh.py ironic/drivers/modules/ssh.py | |
--- /tmp/ssh.py 2017-01-02 07:06:46.896349353 -0500 | |
+++ ironic/drivers/modules/ssh.py 2017-01-04 03:44:48.278981212 -0500 | |
@@ -184,6 +184,10 @@ | |
'get_node_macs': ( | |
"vmsvc/device.getdevices {_NodeName_} | " | |
"grep macAddress | awk -F '\"' '{print $2}' || true"), | |
+ 'set_boot_device': ( | |
+ 'vmbootdev {_NodeName_} {_BootDevice_}'), | |
+ 'get_boot_device': ( |
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
#!/usr/bin/env python | |
import argparse | |
import re | |
import sys | |
# Log format: | |
# 2017-01-04 12:00:04.103 25416 DEBUG oslo_service.periodic_task | |
# [req-c28f86bb-9a6c-4c17-bbfc-8e00824fcff9 - - - - -] |
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
BEGIN:VCALENDAR | |
DTSTART:20170507T080000 | |
SUMMARY:OpenStack Summit Boston 2017 | |
BEGIN:VEVENT | |
SUMMARY:OpenStack Upstream Institute\, Sponsored by Lenovo (Day 1) | |
DTSTART;VALUE=DATE-TIME:20170506T170000Z | |
DTEND;VALUE=DATE-TIME:20170506T220000Z | |
UID:18639@openstacksummitboston2017 | |
DESCRIPTION:OpenStack Upstream Institute is an intensive program designed | |
to share knowledge about the different ways of contributing to OpenStack l |
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
[root@ocata ~]# python | |
Python 2.7.5 (default, Nov 6 2016, 00:28:07) | |
[GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] on linux2 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> from ironic.common import states | |
>>> states.machine | |
<ironic.common.fsm.FSM object at 0x2764f50> | |
>>> print(states.machine.pformat()) | |
+----------------+---------+----------------+-------------------------------+------------------------------+ | |
| Start | Event | End | On Enter | On Exit | |
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
commit 529fa89de14a4e2027dbfad79d7412b57b91f88a | |
Author: Akira Yoshiyama <[email protected]> | |
Date: Sun Jul 9 01:14:20 2017 +0900 | |
Added SOL capability to BMC | |
diff --git a/bin/fakebmc b/bin/fakebmc | |
index 318970e..2647f11 100755 | |
--- a/bin/fakebmc | |
+++ b/bin/fakebmc |