2016-07-19 09:17:54 |
Roman Babyuk |
description |
Detailed bug description:
when run 'fuel snapshot' just "Generating dump..." appears.
at shotgun log can see:
2016-07-19 08:48:22 DEBUG 9018 (driver) Getting local file: cp -r /var/log/shotgun.log /var/dump/fuel-snapshot-2016-07-19_08-47-23/nailgun.test.domain.local/var/log
2016-07-19 08:48:22 DEBUG 9018 (utils) Trying to execute command: mkdir -p "/var/dump/fuel-snapshot-2016-07-19_08-47-23/nailgun.test.domain.local/var/log"
2016-07-19 08:48:22 DEBUG 9018 (utils) Trying to execute command: cp -r "/var/log/shotgun.log" "/var/dump/fuel-snapshot-2016-07-19_08-47- 23/nailgun.test.domain.local/var/log"
2016-07-19 08:48:22 DEBUG 9018 (utils) Trying to execute command: tar cJvf /var/dump/fuel-snapshot-2016-07-19_08-47-23.tar.xz -C /var/dump fuel-snapshot-2016-07-19_08-47-23
2016-07-19 08:50:00 DEBUG 9018 (utils) Trying to execute command: rm -r /var/dump/fuel-snapshot-2016-07-19_08-47-23
2016-07-19 08:50:00 INFO 9018 (cli) Snapshot path: /var/dump/fuel-snapshot-2016-07-19_08-47-23.tar.xz
but directory even does not exist:
[root@nailgun ~]# ll /var/dump
ls: cannot access /var/dump: No such file or directory
Steps to reproduce:
- install cluster by dos.py
- run 'fuel snapshot'
Expected results:
- execution finished with no errors
- snapshot created in /var/dump/
Actual result:
- execution hangs
- if to download config by 'fuel snapshot --conf > dump_conf.yaml'
and adjust timeout field to 120 and run 'fuel snapshot' it fails with:
[root@nailgun ~]# fuel snapshot < dump_conf.yaml
Generating dump...
Traceback (most recent call last):
File "/usr/bin/fuel", line 10, in <module>
sys.exit(main())
File "/usr/lib/python2.7/site-packages/fuelclient/cli/error.py", line 115, in wrapper
return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/fuelclient/cli/parser.py", line 266, in main
parser.parse()
File "/usr/lib/python2.7/site-packages/fuelclient/cli/parser.py", line 143, in parse
actions[parsed_params.action].action_func(parsed_params)
File "/usr/lib/python2.7/site-packages/fuelclient/cli/actions/base.py", line 62, in action_func
method(params)
File "/usr/lib/python2.7/site-packages/fuelclient/cli/actions/snapshot.py", line 68, in get_snapshot
directory=params.dir
File "/usr/lib/python2.7/site-packages/fuelclient/cli/formatting.py", line 118, in download_snapshot_with_progress_bar
download_handle = urllib.request.urlopen(request)
File "/usr/lib64/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib64/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/urllib2.py", line 422, in _open
'_open', req)
File "/usr/lib64/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib64/python2.7/urllib2.py", line 1216, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib64/python2.7/urllib2.py", line 1155, in do_open
h = http_class(host, timeout=req.timeout) # will parse host:port
File "/usr/lib64/python2.7/httplib.py", line 704, in __init__
self._set_hostport(host, port)
File "/usr/lib64/python2.7/httplib.py", line 732, in _set_hostport
raise InvalidURL("nonnumeric port: '%s'" % host[i+1:])
httplib.InvalidURL: nonnumeric port: '8000Dump is timed out'
Reproducibility:
several times
Workaround:
n/a
Impact:
can't create diagnostic snapshot
Description of the environment:
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "8.0"
api: "1.0"
build_number: "570"
build_id: "570"
fuel-nailgun_sha: "558ca91a854cf29e395940c232911ffb851899c1"
python-fuelclient_sha: "4f234669cfe88a9406f4e438b1e1f74f1ef484a5"
fuel-agent_sha: "658be72c4b42d3e1436b86ac4567ab914bfb451b"
fuel-nailgun-agent_sha: "b2bb466fd5bd92da614cdbd819d6999c510ebfb1"
astute_sha: "b81577a5b7857c4be8748492bae1dec2fa89b446"
fuel-library_sha: "c2a335b5b725f1b994f78d4c78723d29fa44685a"
fuel-ostf_sha: "3bc76a63a9e7d195ff34eadc29552f4235fa6c52"
fuel-mirror_sha: "fb45b80d7bee5899d931f926e5c9512e2b442749"
fuelmenu_sha: "78ffc73065a9674b707c081d128cb7eea611474f"
shotgun_sha: "63645dea384a37dde5c01d4f8905566978e5d906"
network-checker_sha: "a43cf96cd9532f10794dce736350bf5bed350e9d"
fuel-upgrade_sha: "616a7490ec7199f69759e97e42f9b97dfc87e85b"
fuelmain_sha: "d605bcbabf315382d56d0ce8143458be67c53434"
Additional information:
shotgun log attached |
Detailed bug description:
when run 'fuel snapshot' just "Generating dump..." appears.
at shotgun log can see:
2016-07-19 08:48:22 DEBUG 9018 (driver) Getting local file: cp -r /var/log/shotgun.log /var/dump/fuel-snapshot-2016-07-19_08-47-23/nailgun.test.domain.local/var/log
2016-07-19 08:48:22 DEBUG 9018 (utils) Trying to execute command: mkdir -p "/var/dump/fuel-snapshot-2016-07-19_08-47-23/nailgun.test.domain.local/var/log"
2016-07-19 08:48:22 DEBUG 9018 (utils) Trying to execute command: cp -r "/var/log/shotgun.log" "/var/dump/fuel-snapshot-2016-07-19_08-47- 23/nailgun.test.domain.local/var/log"
2016-07-19 08:48:22 DEBUG 9018 (utils) Trying to execute command: tar cJvf /var/dump/fuel-snapshot-2016-07-19_08-47-23.tar.xz -C /var/dump fuel-snapshot-2016-07-19_08-47-23
2016-07-19 08:50:00 DEBUG 9018 (utils) Trying to execute command: rm -r /var/dump/fuel-snapshot-2016-07-19_08-47-23
2016-07-19 08:50:00 INFO 9018 (cli) Snapshot path: /var/dump/fuel-snapshot-2016-07-19_08-47-23.tar.xz
but directory even does not exist:
[root@nailgun ~]# ll /var/dump
ls: cannot access /var/dump: No such file or directory
Steps to reproduce:
- install cluster by dos.py
- run 'fuel snapshot'
Expected results:
- execution finished with no errors
- snapshot created in /var/dump/
Actual result:
- execution hangs
- if to download config by 'fuel snapshot --conf > dump_conf.yaml'
and adjust timeout field to 120 and run 'fuel snapshot' it fails with:
[root@nailgun ~]# fuel snapshot < dump_conf.yaml
Generating dump...
Traceback (most recent call last):
File "/usr/bin/fuel", line 10, in <module>
sys.exit(main())
File "/usr/lib/python2.7/site-packages/fuelclient/cli/error.py", line 115, in wrapper
return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/fuelclient/cli/parser.py", line 266, in main
parser.parse()
File "/usr/lib/python2.7/site-packages/fuelclient/cli/parser.py", line 143, in parse
actions[parsed_params.action].action_func(parsed_params)
File "/usr/lib/python2.7/site-packages/fuelclient/cli/actions/base.py", line 62, in action_func
method(params)
File "/usr/lib/python2.7/site-packages/fuelclient/cli/actions/snapshot.py", line 68, in get_snapshot
directory=params.dir
File "/usr/lib/python2.7/site-packages/fuelclient/cli/formatting.py", line 118, in download_snapshot_with_progress_bar
download_handle = urllib.request.urlopen(request)
File "/usr/lib64/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib64/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/urllib2.py", line 422, in _open
'_open', req)
File "/usr/lib64/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib64/python2.7/urllib2.py", line 1216, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib64/python2.7/urllib2.py", line 1155, in do_open
h = http_class(host, timeout=req.timeout) # will parse host:port
File "/usr/lib64/python2.7/httplib.py", line 704, in __init__
self._set_hostport(host, port)
File "/usr/lib64/python2.7/httplib.py", line 732, in _set_hostport
raise InvalidURL("nonnumeric port: '%s'" % host[i+1:])
httplib.InvalidURL: nonnumeric port: '8000Dump is timed out'
Reproducibility:
several times
Workaround:
n/a
Impact:
can't create diagnostic snapshot
Description of the environment:
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "8.0"
api: "1.0"
build_number: "570"
build_id: "570"
fuel-nailgun_sha: "558ca91a854cf29e395940c232911ffb851899c1"
python-fuelclient_sha: "4f234669cfe88a9406f4e438b1e1f74f1ef484a5"
fuel-agent_sha: "658be72c4b42d3e1436b86ac4567ab914bfb451b"
fuel-nailgun-agent_sha: "b2bb466fd5bd92da614cdbd819d6999c510ebfb1"
astute_sha: "b81577a5b7857c4be8748492bae1dec2fa89b446"
fuel-library_sha: "c2a335b5b725f1b994f78d4c78723d29fa44685a"
fuel-ostf_sha: "3bc76a63a9e7d195ff34eadc29552f4235fa6c52"
fuel-mirror_sha: "fb45b80d7bee5899d931f926e5c9512e2b442749"
fuelmenu_sha: "78ffc73065a9674b707c081d128cb7eea611474f"
shotgun_sha: "63645dea384a37dde5c01d4f8905566978e5d906"
network-checker_sha: "a43cf96cd9532f10794dce736350bf5bed350e9d"
fuel-upgrade_sha: "616a7490ec7199f69759e97e42f9b97dfc87e85b"
fuelmain_sha: "d605bcbabf315382d56d0ce8143458be67c53434"
Additional information:
shotgun log attached
also if to adjust timeout in config and dump fails to create at Fuel Ui I can see:
19-07-2016
08:59:30Dump is timed out
08:49:23Dump is timed out
08:47:08Dump is timed out
08:12:36Dump is timed out |
|