This file contains hidden or 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 | |
# | |
# Copyright 2015 Reliance Jio Infocomm, Ltd. | |
# | |
# 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 | |
# |
This file contains hidden or 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
source /var/lib/jenkins/cloud.at.env | |
unset http_proxy | |
unset https_proxy | |
unset env_http_proxy | |
unset env_https_proxy | |
export consul_discovery_token=$(curl http://consuldiscovery.linux2go.dk/new) | |
export BUILD_NUMBER=external1 | |
export env=at | |
export cloud_provider=jio | |
export KEY_NAME=jenkins |
This file contains hidden or 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
Keystone erroring out on an off with below exception. I see that /usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1782 expect self._args None and if not, it just throws this exception, when this happens, I see self._args value is set to empty list. I was working with Rohit to fix this and adding empty list to the condition actually fixing this error. | |
>>> The following change is fixing this issue | |
1780c1780 | |
+ if self._args is not None and self._args != []: | |
- if self._args is not None: | |
>>>> Here is the exceptions I get (first line is something I print the value of self._args) |
This file contains hidden or 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
[Wed Dec 17 10:46:36.175352 2014] [:error] [pid 4366:tid 139963189692160] [remote 172.28.128.5:62654] mod_wsgi (pid=4366): Target WSGI script '/usr/lib/python2.7/dist-packages/keystone_wsgi/__init__.py' cannot be loaded as Python module. | |
[Wed Dec 17 10:46:36.175449 2014] [:error] [pid 4366:tid 139963189692160] [remote 172.28.128.5:62654] mod_wsgi (pid=4366): Exception occurred processing WSGI script '/usr/lib/python2.7/dist-packages/keystone_wsgi/__init__.py'. | |
[Wed Dec 17 10:46:36.175485 2014] [:error] [pid 4366:tid 139963189692160] [remote 172.28.128.5:62654] Traceback (most recent call last): | |
[Wed Dec 17 10:46:36.175507 2014] [:error] [pid 4366:tid 139963189692160] [remote 172.28.128.5:62654] File "/usr/lib/python2.7/dist-packages/keystone_wsgi/__init__.py", line 57, in <module> | |
[Wed Dec 17 10:46:36.175542 2014] [:error] [pid 4366:tid 139963189692160] [remote 172.28.128.5:62654] name=name) | |
[Wed Dec 17 10:46:36.175558 2014] [:error] [pid 4366:tid 139963189692160] [remote 172.28.128.5:62654] File "/us |
This file contains hidden or 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
[Mon Dec 15 11:57:39.770472 2014] [:error] [pid 28529:tid 140715160504064] [remote 172.28.128.4:46291] Traceback (most recent call last): | |
[Mon Dec 15 11:57:39.770756 2014] [:error] [pid 28529:tid 140715160504064] [remote 172.28.128.4:46291] File "/usr/lib/cgi-bin/keystone/main", line 33, in <module> | |
[Mon Dec 15 11:57:39.771066 2014] [:error] [pid 28529:tid 140715160504064] [remote 172.28.128.4:46291] from keystone import service | |
[Mon Dec 15 11:57:39.771341 2014] [:error] [pid 28529:tid 140715160504064] [remote 172.28.128.4:46291] File "/usr/lib/python2.7/dist-packages/keystone/service.py", line 21, in <module> | |
[Mon Dec 15 11:57:39.771580 2014] [:error] [pid 28529:tid 140715160504064] [remote 172.28.128.4:46291] from keystone import auth | |
[Mon Dec 15 11:57:39.771799 2014] [:error] [pid 28529:tid 140715160504064] [remote 172.28.128.4:46291] File "/usr/lib/python2.7/dist-packages/keystone/auth/__init__.py", line 17, in <module> | |
[Mon Dec 15 11:57:39.772095 2014] [:error] [pid 28529:tid 14071516050406 |
This file contains hidden or 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
[Mon Dec 15 10:43:25.340778 2014] [:error] [pid 7870:tid 140563332552448] [remote 172.28.128.4:3706] mod_wsgi (pid=7870): Target WSGI script '/usr/lib/cgi-bin/keystone/main' cannot be loaded as Python module. | |
[Mon Dec 15 10:43:25.341470 2014] [:error] [pid 7870:tid 140563332552448] [remote 172.28.128.4:3706] mod_wsgi (pid=7870): Exception occurred processing WSGI script '/usr/lib/cgi-bin/keystone/main'. | |
[Mon Dec 15 10:43:25.342049 2014] [:error] [pid 7870:tid 140563332552448] [remote 172.28.128.4:3706] Traceback (most recent call last): | |
[Mon Dec 15 10:43:25.342308 2014] [:error] [pid 7870:tid 140563332552448] [remote 172.28.128.4:3706] File "/usr/lib/cgi-bin/keystone/main", line 32, in <module> | |
[Mon Dec 15 10:43:25.342627 2014] [:error] [pid 7870:tid 140563332552448] [remote 172.28.128.4:3706] from keystone import service | |
[Mon Dec 15 10:43:25.342824 2014] [:error] [pid 7870:tid 140563332552448] [remote 172.28.128.4:3706] File "/usr/lib/python2.7/dist-packages/keystone/service.py", line 21, in <module> |
This file contains hidden or 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 | |
from __future__ import print_function | |
import argparse | |
import hpilo | |
from ironicclient import client | |
import os | |
import sys | |
def get_ilo_connection(hostname, username, password): | |
return hpilo.Ilo(hostname, username, password) |
This file contains hidden or 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 | |
# | |
# Parallel provisioning for vagrant | |
# | |
up() { | |
vagrant up --no-provision | |
} | |
provision() { | |
sleep 5 |
This file contains hidden or 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
########## Type | |
################## | |
Puppet::Type.newtype(:rjil_tempest_config) do | |
ensurable | |
newparam(:name, :namevar => true) do | |
desc 'Section/setting name to manage from tempest.conf' | |
newvalues(/\S+\/\S+/) |
This file contains hidden or 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
radosgw just works (tested for swift as of now), I am able to create containers and objects. But I see a weird issue on object download using swift client just fails complaining on content length vs readlength mismatch, but at the same time curl just works and I see right content in the downloaded file. | |
Here is the details | |
root@ocdb1-testjenkins-puppet-rjil-gate-265:/tmp# swift stat container openrc | |
Account: v1 | |
Container: container |