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
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
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
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 |
NewerOlder