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
[centos@test-btrfs ~]$ sudo parted -l /dev/vda | |
Model: Virtio Block Device (virtblk) | |
Disk /dev/vda: 25.8GB | |
Sector size (logical/physical): 512B/512B | |
Partition Table: msdos | |
Disk Flags: | |
Number Start End Size Type File system Flags | |
1 1049kB 1075MB 1074MB primary xfs boot | |
2 1075MB 25.8GB 24.7GB primary btrfs |
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
"dell-dset-collector": "3.7.0.219-1", | |
"dell-dset-common": "3.7.0.219-1", | |
"dell-dset-provider": "3.7.0.219-1", | |
"dell-dset-provider_basesfcb": "3.7.0.219-1", | |
"libsmbios": "2.3.1-2193.9883", | |
"sblim-cmpi-base": "1.6.1-1", | |
"sblim-sfcb": "1.3.11-2", | |
"smbios-utils-bin": "2.3.1-2193.9883", | |
"srvadmin-argtable2": "8.4.0-2193.9883", | |
"srvadmin-deng": "8.4.0-2193.9883", |
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
-bash-4.1$ cat DCIM_iDRACCardEnumeration | grep AttributeName | sort | uniq -c | |
1 <n1:AttributeName>AccessPrivilege</n1:AttributeName> | |
1 <n1:AttributeName>ActiveNIC</n1:AttributeName> | |
1 <n1:AttributeName>AddressState</n1:AttributeName> | |
1 <n1:AttributeName>AdminState</n1:AttributeName> | |
1 <n1:AttributeName>AgentEnable</n1:AttributeName> | |
1 <n1:AttributeName>AlertEnable</n1:AttributeName> | |
1 <n1:AttributeName>Attached</n1:AttributeName> | |
1 <n1:AttributeName>AttachMode</n1:AttributeName> | |
1 <n1:AttributeName>AttachState</n1:AttributeName> |
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-07-28 20:46:25-0700 [Broker,1,127.0.0.1] Unhandled Error | |
Traceback (most recent call last): | |
File "/dump/workspace/buildbot_venv/bb-master/lib/python2.7/site-packages/twisted/python/log.py", line 101, in callWithLogger | |
return callWithContext({"system": lp}, func, *args, **kw) | |
File "/dump/workspace/buildbot_venv/bb-master/lib/python2.7/site-packages/twisted/python/log.py", line 84, in callWithContext | |
return context.call({ILogContext: newCtx}, func, *args, **kw) | |
File "/dump/workspace/buildbot_venv/bb-master/lib/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext | |
return self.currentContext().callWithContext(ctx, func, *args, **kw) | |
File "/dump/workspace/buildbot_venv/bb-master/lib/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext | |
return func(*args,**kw) |
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 | |
# -*-coding: utf8 -*- | |
''' | |
Sample output showing bug in api | |
Add label, expected return code of 200 : https://developer.github.com/v3/issues/labels/#add-labels-to-an-issue | |
Method : POST, Endpoint : https://api.github.com/repos/foobar-test/asdf/issues/8/labels, Payload ['bug'] | |
Response Code 200 |
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
STATE=`sudo racadm get BIOS.SerialCommSettings.SerialComm | head -n 2 | tail -n1 | cut -d'=' -f2` | |
sudo racadm set BIOS.SerialCommSettings.SerialComm Off | |
sudo racadm jobqueue create bios.setup.1-1 | |
echo $STATE > old_sol_state | |
sudo reboot | |
## update idrac first | |
## update raid | |
## update bios | |
sudo reboot |
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/python2 | |
import web | |
import json | |
def add_global_hook(x): | |
g = web.storage({"auth": x}) | |
def _wrapper(handler): | |
web.ctx.globals = g | |
return handler() |
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
from buildbot.process.properties import renderer,Interpolate | |
@renderer | |
def getrepoPath(props): | |
if props.hasProperty('buildername'): | |
return props.getProperty('buildername') | |
else: | |
return 'foobar' | |
####### BUILDSLAVES |
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
Props seen in renderer when called from worker | |
2016-03-16 21:36:15+0000 [-] starting build <Build fw-versions> using slave <LatentSlaveBuilder builder=u'fw-versions' slave=u'docker_slave'> | |
2016-03-16 21:36:15+0000 [-] acquireLocks(slave <DockerLatentBuildSlave u'docker_slave'>, locks []) | |
2016-03-16 21:36:15+0000 [-] substantiating slave <LatentSlaveBuilder builder=u'fw-versions' slave=u'docker_slave'> | |
2016-03-16 21:36:15+0000 [-] <buildbot.process.properties.Property object at 0x7fb728476ad0> | |
2016-03-16 21:36:15+0000 [-] Properties(**{u'halfive': 'foo'}) | |
Props seen in renderer when called from build step | |
2016-03-16 21:36:36+0000 [-] <buildbot.process.properties.Property object at 0x3399550> |
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
@renderer | |
def getrepoPath(props): | |
print util.Property('buildername') | |
if props.hasProperty('buildername'): | |
bname = props.getProperty('buildername') | |
else: | |
bname = 'crpmbuild' | |
props.setProperty('halfive', 'foo', 'bar') | |
print props | |
return bname |