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
I upgraded pip, setuptools, virtualenv, tox using : pip install -U pip, setuptools, virtualenv tox | |
------------------------------------------------------ | |
root@janonymous-Inspiron-N5010$ tox -epy34 | |
py34 create: /home/janonymous/OPENSTACK/SWIFT_CODE/swift/.tox/py34 | |
ERROR: invocation failed (exit code 1), logfile: /home/janonymous/OPENSTACK/SWIFT_CODE/swift/.tox/py34/log/py34-0.log | |
ERROR: actionid: py34 | |
msg: getenv | |
cmdargs: ['/usr/bin/python', '-m', 'virtualenv', '--python', '/usr/bin/python3.4', 'py34'] | |
env: {'LESSOPEN': '| /usr/bin/lesspipe %s', 'LOGNAME': 'root', 'USER': 'root', 'PATH': '/home/janonymous/OPENSTACK/SWIFT_CODE/swift/.tox/py34/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HOME': '/root', 'DISPLAY': ':0', 'NOSE_WITH_COVERAGE': '1', 'LANG': 'en_IN', 'TERM': 'xterm', 'SHELL': '/bin/bash', 'XAUTHORITY': '/home/janonymous/.Xauthority', 'LANGUAGE': 'en_IN:en', 'SHLVL': '1', 'QT_QPA_PLATFORMTHEME': 'appmenu-qt5', 'PYTHONHASHSEED': '4193640424', 'SUDO_USER': 'janonymous', 'USERNAM |
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@janonymous-Inspiron-N5010$ tox -epy34 | |
py34 develop-inst-nodeps: /home/janonymous/OPENSTACK/SWIFT_CODE/swift | |
py34 installed: appdirs==1.4.0,Babel==2.1.1,bandit==0.16.2,cffi==1.3.1,coverage==4.0.2,debtcollector==0.10.0,dnspython3==1.12.0,docutils==0.12,eventlet==0.17.4,flake8==2.2.4,futures==3.0.3,greenlet==0.4.9,hacking==0.10.2,iso8601==0.1.11,Jinja2==2.8,MarkupSafe==0.23,mccabe==0.2.1,mock==1.3.0,monotonic==0.4,msgpack-python==0.4.6,netaddr==0.7.18,netifaces==0.10.4,nose==1.3.7,nosehtmloutput==0.0.5,nosexcover==1.0.10,oslo.config==2.7.0,oslo.i18n==2.7.0,oslo.serialization==1.11.0,oslo.utils==2.8.0,oslosphinx==3.4.1,PasteDeploy==1.5.2,pbr==1.8.1,pep8==1.5.7,prettytable==0.7.2,pycparser==2.14,PyECLib==1.0.7,pyflakes==0.8.1,Pygments==2.0.2,python-keystoneclient==1.8.1,python-swiftclient==2.6.0,pytz==2015.7,PyYAML==3.11,requests==2.8.1,six==1.10.0,Sphinx==1.1.3,stevedore==1.9.0,-e git+https://git.openstack.org/openstack/swift.git@bdb7bf40321bc36b45a25742b6e1aed73576fabc#egg=swift-gerrit_master,wheel==0.24.0, |
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
ubuntu@ubuntu-VirtualBox:~/S_app/swift_application$ curl -i -X GET http://127.0.0.1:8080/v1/AUTH_J/container | |
HTTP/1.1 200 OK | |
Content-Length: 6 | |
X-Container-Object-Count: 1 | |
Accept-Ranges: bytes | |
X-Storage-Policy: gold | |
X-Container-Meta-Access-Control-Allow-Origin: http://127.0.0.1 | |
X-Container-Bytes-Used: 6594 | |
X-Timestamp: 1462516376.22533 | |
Content-Type: text/plain; charset=utf-8 |
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
Severity: Medium Confidence: Medium | |
Location: swift/common/db.py:864 | |
862 for key in keys_to_delete: | |
863 del md[key] | |
864 conn.execute('UPDATE %s_stat SET metadata = ?' % | |
865 self.db_type, (json.dumps(md),)) | |
866 return True | |
867 except sqlite3.OperationalError as err: | |
-------------------------------------------------- |
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
ERRO[24199] Handler for POST /v1.23/containers/kube-build-573d825ce9/kill returned error: Cannot kill container kube-build-573d825ce9: Container a2cf172a9b8e9d60533f1204c2cec44c646d4bc7f8139c257fd81875f3c1ee5a is not running | |
+++ [0523 22:27:35] Running build command.... | |
ERRO[24199] Handler for POST /v1.23/containers/kube-build-573d825ce9/kill returned error: Cannot kill container kube-build-573d825ce9: No such container: kube-build-573d825ce9 | |
ERRO[24199] Handler for POST /v1.23/containers/kube-build-573d825ce9/wait returned error: No such container: kube-build-573d825ce9 | |
ERRO[24199] Handler for DELETE /v1.23/containers/kube-build-573d825ce9 returned error: No such container: kube-build-573d825ce9 | |
INFO[24199] No non-localhost DNS nameservers are left in resolv.conf. Using default external servers : [nameserver 8.8.8.8 nameserver 8.8.4.4] | |
INFO[24199] IPv6 enabled; A |
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@janonymous-virtual-machine:~/etcd-v2.3.5-linux-amd64# git clone https://github.com/kubernetes/kubernetes.git | |
Cloning into 'kubernetes'... | |
remote: Counting objects: 271049, done. | |
remote: Compressing objects: 100% (24/24), done. | |
remote: Total 271049 (delta 12), reused 4 (delta 4), pack-reused 271021 | |
Receiving objects: 100% (271049/271049), 235.50 MiB | 695.00 KiB/s, done. | |
Resolving deltas: 100% (177741/177741), done. | |
Checking connectivity... done. | |
root@janonymous-virtual-machine:~/etcd-v2.3.5-linux-amd64# cd kubernetes | |
root@janonymous-virtual-machine:~/etcd-v2.3.5-linux-amd64/kubernetes# make release |
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
janonymous@janonymous:~/Desktop/testing$ ps -eaf | grep kube | |
root 3170 2963 0 16:25 pts/58 00:00:00 sudo -E /home/janonymous/Desktop/kubernetes/_output/local/bin/linux/amd64/hyperkube apiserver --v=3 --cert-dir=/var/run/kubernetes --service-account-key-file=/tmp/kube-serviceaccount.key --service-account-lookup=false --admission-control=NamespaceLifecycle,LimitRanger,SecurityContextDeny,ServiceAccount,ResourceQuota --insecure-bind-address=127.0.0.1 --insecure-port=8080 --advertise-address=127.0.0.1 --etcd-servers=http://127.0.0.1:4001 --service-cluster-ip-range=10.0.0.0/24 --cloud-provider=openstack --cloud-config=/home/janonymous/Desktop/kubernetes/openstack.conf --cors-allowed-origins=/127.0.0.1(:[0-9]+)?$,/localhost(:[0-9]+)?$ | |
root 3175 3170 0 16:25 pts/58 00:00:00 /home/janonymous/Desktop/kubernetes/_output/local/bin/linux/amd64/hyperkube apiserver --v=3 --cert-dir=/var/run/kubernetes --service-account-key-file=/tmp/kube-serviceaccount.key --service-account-lookup=false --admission-contro |
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
janonymous@janonymous:~/Desktop/testing$ tailf /tmp/kube-controller-manager.log | |
I0602 16:25:48.103765 3193 endpoints_controller.go:322] Waiting for pods controller to sync, requeuing rc default/kubernetes | |
I0602 16:25:48.204051 3193 endpoints_controller.go:322] Waiting for pods controller to sync, requeuing rc default/kubernetes | |
I0602 16:25:48.304307 3193 endpoints_controller.go:322] Waiting for pods controller to sync, requeuing rc default/kubernetes | |
I0602 16:25:48.404580 3193 endpoints_controller.go:322] Waiting for pods controller to sync, requeuing rc default/kubernetes | |
I0602 16:25:48.504834 3193 endpoints_controller.go:322] Waiting for pods controller to sync, requeuing rc default/kubernetes | |
I0602 16:25:48.605090 3193 endpoints_controller.go:322] Waiting for pods controller to sync, requeuing rc default/kubernetes | |
I0602 16:25:48.705351 3193 endpoints_controller.go:322] Waiting for pods controller to sync, requeuing rc default/kubernetes | |
I0602 16:25:48.806051 3193 endpoints_controll |
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
#Source openstack credentials before running | |
$. openrc admin admin | |
#Running script | |
$./keystone_trust_test 1>&2 2>/dev/null | |
#file: keystone_trust_test | |
#!/bin/sh | |
admin_project=$(openstack project list | grep "\<admin\>"| cut -d'|' -f2 | tr -d '[[:space:]]') | |
demo_project=$(openstack project list | grep "\<demo\>"| cut -d'|' -f2 | tr -d '[[:space:]]') |
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/sh | |
GITHUB_USER=codevulture | |
#Download Compatible version of Go | |
GO_VERSION=go1.7.4.linux-amd64.tar.gz | |
VM_USER=vagrant | |
OlderNewer