Recurring freqtrade bot error that I can't fix - cryptography

I just started in freqtrade, I installed it with Docker. I don't understand why I get this error when I type in the terminal docker-compose logs -f:
Config file "/freqtrade/user_data/config.json" not found! Please create a config file or check whether it exists)
Thank you for your help !
This is the code of my file docker-compose.yml
version: '3'
services:
freqtrade:
image: freqtradeorg/freqtrade:stable
# image: freqtradeorg/freqtrade:develop
# Use plotting image
# image: freqtradeorg/freqtrade:develop_plot
# Build step - only needed when additional dependencies are needed
# build:
# context: .
# dockerfile: "./docker/Dockerfile.custom"
restart: unless-stopped
container_name: freqtrade
volumes:
- "./user_data:/freqtrade/user_data"
# Expose api on port 8080 (localhost only)
# Please read the https://www.freqtrade.io/en/latest/rest-api/ documentation
# before enabling this.
# ports:
# - "127.0.0.1:8080:8080"
# Default command used when running `docker compose up`
command: >
trade
--logfile /freqtrade/user_data/logs/freqtrade.log
--db-url sqlite:////freqtrade/user_data/tradesv3.sqlite
--config /freqtrade/user_data/config.json
--strategy SampleStrategy
This is the code of my Terminal when I write docker-compose logs -f
Attaching to freqtrade
freqtrade | 2021-07-15 22:23:13,651 - freqtrade.worker - INFO - Starting worker 2021.6
freqtrade | 2021-07-15 22:23:13,652 - freqtrade.configuration.configuration - INFO - Using config: /Users/ilanbacry/Desktop/bot/ft_userdata/user_data/config.json ...
freqtrade | 2021-07-15 22:23:13,652 - freqtrade.commands.trade_commands - ERROR - Config file "/Users/ilanbacry/Desktop/bot/ft_userdata/user_data/config.json" not found! Please create a config file or check whether it exists.
freqtrade | 2021-07-15 22:23:13,652 - freqtrade.commands.trade_commands - ERROR - Fatal exception!
freqtrade | Traceback (most recent call last):
freqtrade | File "/freqtrade/freqtrade/configuration/load_config.py", line 58, in load_config_file
freqtrade | with open(path) if path != '-' else sys.stdin as file:
freqtrade | FileNotFoundError: [Errno 2] No such file or directory: '/Users/ilanbacry/Desktop/bot/ft_userdata/user_data/config.json'
freqtrade |
freqtrade | During handling of the above exception, another exception occurred:
freqtrade |
freqtrade | Traceback (most recent call last):
freqtrade | File "/freqtrade/freqtrade/commands/trade_commands.py", line 18, in start_trading
freqtrade | worker = Worker(args)
freqtrade | File "/freqtrade/freqtrade/worker.py", line 35, in __init__
freqtrade | self._init(False)
freqtrade | File "/freqtrade/freqtrade/worker.py", line 49, in _init
freqtrade | self._config = Configuration(self._args, None).get_config()
freqtrade | File "/freqtrade/freqtrade/configuration/configuration.py", line 41, in get_config
freqtrade | self.config = self.load_config()
freqtrade | File "/freqtrade/freqtrade/configuration/configuration.py", line 92, in load_config
freqtrade | config: Dict[str, Any] = self.load_from_files(self.args.get("config", []))
freqtrade | File "/freqtrade/freqtrade/configuration/configuration.py", line 73, in load_from_files
freqtrade | config = deep_merge_dicts(load_config_file(path), config)
freqtrade | File "/freqtrade/freqtrade/configuration/load_config.py", line 61, in load_config_file
freqtrade | raise OperationalException(
freqtrade | freqtrade.exceptions.OperationalException: Config file "/Users/ilanbacry/Desktop/bot/ft_userdata/user_data/config.json" not found! Please create a config file or check whether it exists.
freqtrade | 2021-07-15 22:23:17,100 - freqtrade.worker - INFO - Starting worker 2021.6
freqtrade | 2021-07-15 22:23:17,100 - freqtrade.configuration.configuration - INFO - Using config: /Users/ilanbacry/Desktop/bot/ft_userdata/user_data/config.json ...
freqtrade | 2021-07-15 22:23:17,106 - freqtrade.commands.trade_commands - ERROR - Config file "/Users/ilanbacry/Desktop/bot/ft_userdata/user_data/config.json" not found! Please create a config file or check whether it exists.
freqtrade | 2021-07-15 22:23:17,107 - freqtrade.commands.trade_commands - ERROR - Fatal exception!
freqtrade | Traceback (most recent call last):
freqtrade | File "/freqtrade/freqtrade/configuration/load_config.py", line 58, in load_config_file
freqtrade | with open(path) if path != '-' else sys.stdin as file:
freqtrade | FileNotFoundError: [Errno 2] No such file or directory: '/Users/ilanbacry/Desktop/bot/ft_userdata/user_data/config.json'
freqtrade |
freqtrade | During handling of the above exception, another exception occurred:
freqtrade |
freqtrade | Traceback (most recent call last):
freqtrade | File "/freqtrade/freqtrade/commands/trade_commands.py", line 18, in start_trading
freqtrade | worker = Worker(args)
freqtrade | File "/freqtrade/freqtrade/worker.py", line 35, in __init__
freqtrade | self._init(False)
freqtrade | File "/freqtrade/freqtrade/worker.py", line 49, in _init
freqtrade | self._config = Configuration(self._args, None).get_config()
freqtrade | File "/freqtrade/freqtrade/configuration/configuration.py", line 41, in get_config
freqtrade | self.config = self.load_config()
freqtrade | File "/freqtrade/freqtrade/configuration/configuration.py", line 92, in load_config
freqtrade | config: Dict[str, Any] = self.load_from_files(self.args.get("config", []))
freqtrade | File "/freqtrade/freqtrade/configuration/configuration.py", line 73, in load_from_files
freqtrade | config = deep_merge_dicts(load_config_file(path), config)
freqtrade | File "/freqtrade/freqtrade/configuration/load_config.py", line 61, in load_config_file
freqtrade | raise OperationalException(
freqtrade | freqtrade.exceptions.OperationalException: Config file "/Users/ilanbacry/Desktop/bot/ft_userdata/user_data/config.json" not found! Please create a config file or check whether it exists.
freqtrade | 2021-07-15 22:23:20,754 - freqtrade.worker - INFO - Starting worker 2021.6
freqtrade | 2021-07-15 22:23:20,754 - freqtrade.configuration.configuration - INFO - Using config: /Users/ilanbacry/Desktop/bot/ft_userdata/user_data/config.json ...
freqtrade | 2021-07-15 22:23:20,755 - freqtrade.commands.trade_commands - ERROR - Config file "/Users/ilanbacry/Desktop/bot/ft_userdata/user_data/config.json" not found! Please create a config file or check whether it exists.
freqtrade | 2021-07-15 22:23:20,755 - freqtrade.commands.trade_commands - ERROR - Fatal exception!
freqtrade | Traceback (most recent call last):
freqtrade | File "/freqtrade/freqtrade/configuration/load_config.py", line 58, in load_config_file
freqtrade | with open(path) if path != '-' else sys.stdin as file:
freqtrade | FileNotFoundError: [Errno 2] No such file or directory: '/Users/ilanbacry/Desktop/bot/ft_userdata/user_data/config.json'
freqtrade |
freqtrade | During handling of the above exception, another exception occurred:
freqtrade |
freqtrade | Traceback (most recent call last):
freqtrade | File "/freqtrade/freqtrade/commands/trade_commands.py", line 18, in start_trading
freqtrade | worker = Worker(args)
freqtrade | File "/freqtrade/freqtrade/worker.py", line 35, in __init__
freqtrade | self._init(False)
freqtrade | File "/freqtrade/freqtrade/worker.py", line 49, in _init
freqtrade | self._config = Configuration(self._args, None).get_config()
freqtrade | File "/freqtrade/freqtrade/configuration/configuration.py", line 41, in get_config
freqtrade | self.config = self.load_config()
freqtrade | File "/freqtrade/freqtrade/configuration/configuration.py", line 92, in load_config
freqtrade | config: Dict[str, Any] = self.load_from_files(self.args.get("config", []))
freqtrade | File "/freqtrade/freqtrade/configuration/configuration.py", line 73, in load_from_files
freqtrade | config = deep_merge_dicts(load_config_file(path), config)
freqtrade | File "/freqtrade/freqtrade/configuration/load_config.py", line 61, in load_config_file
freqtrade | raise OperationalException(
freqtrade | freqtrade.exceptions.OperationalException: Config file "/Users/ilanbacry/Desktop/bot/ft_userdata/user_data/config.json" not found! Please create a config file or check whether it exists.

Related

Unable to convert VGG-16 to IR

I have truncated version of vgg16 in .pb format. I am unable to convert to IR using OpenVino Model Optimizer getting following error:
[ ANALYSIS INFO ] It looks like there is IteratorGetNext as input
Run the Model Optimizer with:
--input "IteratorGetNext:0[-1 224 224 3]"
And replace all negative values with positive values
[ ERROR ] Exception occurred during running replacer "REPLACEMENT_ID" (): Graph contains 0 node after executing . It considered as error because resulting IR will be empty which is not usual
python3 /opt/intel/openvino_2020.3.194/deployment_tools/model_optimizer/mo_tf.py --input_model model.pb
With *.meta
python3 /opt/intel/openvino_2020.3.194/deployment_tools/model_optimizer/mo_tf.py --input_meta_graph model.meta --log_level DEBUG
[ 2020-06-11 10:59:34,182 ] [ DEBUG ] [ main:213 ] Placeholder shapes : None
'extensions.back.ScalarConstNormalize.RangeInputNormalize'>
| 310 | True | <class 'extensions.back.AvgPool.AvgPool'>
| 311 | True | <class 'extensions.back.ReverseInputChannels.ApplyReverseChannels'>
| 312 | True | <class 'extensions.back.split_normalizer.SplitNormalizer'>
| 313 | True | <class 'extensions.back.ParameterToPlaceholder.ParameterToInput'>
| 314 | True | <class 'extensions.back.GroupedConvWeightsNormalize.GroupedConvWeightsNormalize'>
| 315 | True | <class 'extensions.back.ConvolutionNormalizer.DeconvolutionNormalizer'>
| 316 | True | <class 'extensions.back.StridedSliceMasksNormalizer.StridedSliceMasksNormalizer'>
| 317 | True | <class 'extensions.back.ConvolutionNormalizer.ConvolutionWithGroupsResolver'>
| 318 | True | <class 'extensions.back.ReshapeMutation.ReshapeMutation'>
| 319 | True | <class 'extensions.back.ForceStrictPrecision.ForceStrictPrecision'>
| 320 | True | <class 'extensions.back.I64ToI32.I64ToI32'>
| 321 | True | <class 'extensions.back.ReshapeMutation.DisableReshapeMutationInTensorIterator'>
| 322 | True | <class 'extensions.back.ActivationsNormalizer.ActivationsNormalizer'>
| 323 | True | <class 'extensions.back.pass_separator.BackFinish'>
| 324 | False | <class 'extensions.back.SpecialNodesFinalization.RemoveConstOps'>
| 325 | False | <class 'extensions.back.SpecialNodesFinalization.CreateConstNodesReplacement'>
| 326 | True | <class 'extensions.back.kaldi_remove_memory_output.KaldiRemoveMemoryOutputBackReplacementPattern'>
| 327 | False | <class 'extensions.back.SpecialNodesFinalization.RemoveOutputOps'>
| 328 | True | <class 'extensions.back.blob_normalizer.BlobNormalizer'>
| 329 | False | <class 'extensions.middle.MulFakeQuantizeFuse.MulFakeQuantizeFuse'>
| 330 | False | <class 'extensions.middle.AddFakeQuantizeFuse.AddFakeQuantizeFuse'>
[ 2020-06-11 10:59:34,900 ] [ DEBUG ] [ class_registration:282 ] Run replacer <class 'extensions.load.tf.loader.TFLoader'>
[ INFO ] Restoring parameters from %s
[ WARNING ] From %s: %s (from %s) is deprecated and will be removed %s.
Instructions for updating:
%s
[ WARNING ] From %s: %s (from %s) is deprecated and will be removed %s.
Instructions for updating:
%s
[ FRAMEWORK ERROR ] Cannot load input model: Attempting to use uninitialized value metrics/accuracy/total
[[{{node _retval_metrics/accuracy/total_0_54}}]]
[ 2020-06-11 10:59:35,760 ] [ DEBUG ] [ main:328 ] Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/tensorflow_core/python/client/session.py", line 1365, in _do_call
return fn(*args)
File "/usr/local/lib/python3.7/site-packages/tensorflow_core/python/client/session.py", line 1350, in _run_fn
target_list, run_metadata)
File "/usr/local/lib/python3.7/site-packages/tensorflow_core/python/client/session.py", line 1443, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.FailedPreconditionError: Attempting to use uninitialized value metrics/accuracy/total
[[{{node _retval_metrics/accuracy/total_0_54}}]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/intel/openvino_2020.3.194/deployment_tools/model_optimizer/mo/front/tf/loader.py", line 220, in load_tf_graph_def
outputs)
File "/usr/local/lib/python3.7/site-packages/tensorflow_core/python/util/deprecation.py", line 324, in new_func
return func(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/tensorflow_core/python/framework/graph_util_impl.py", line 330, in convert_variables_to_constants
returned_variables = sess.run(variable_names)
File "/usr/local/lib/python3.7/site-packages/tensorflow_core/python/client/session.py", line 956, in run
run_metadata_ptr)
File "/usr/local/lib/python3.7/site-packages/tensorflow_core/python/client/session.py", line 1180, in _run
feed_dict_tensor, options, run_metadata)
File "/usr/local/lib/python3.7/site-packages/tensorflow_core/python/client/session.py", line 1359, in _do_run
run_metadata)
File "/usr/local/lib/python3.7/site-packages/tensorflow_core/python/client/session.py", line 1384, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.FailedPreconditionError: Attempting to use uninitialized value metrics/accuracy/total
[[{{node _retval_metrics/accuracy/total_0_54}}]]
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/intel/openvino_2020.3.194/deployment_tools/model_optimizer/mo/utils/class_registration.py", line 288, in apply_transform
for_graph_and_each_sub_graph_recursively(graph, replacer.find_and_replace_pattern)
File "/opt/intel/openvino_2020.3.194/deployment_tools/model_optimizer/mo/middle/pattern_match.py", line 58, in for_graph_and_each_sub_graph_recursively
func(graph)
File "/opt/intel/openvino_2020.3.194/deployment_tools/model_optimizer/extensions/load/loader.py", line 27, in find_and_replace_pattern
self.load(graph)
File "/opt/intel/openvino_2020.3.194/deployment_tools/model_optimizer/extensions/load/tf/loader.py", line 58, in load
saved_model_tags=argv.saved_model_tags)
File "/opt/intel/openvino_2020.3.194/deployment_tools/model_optimizer/mo/front/tf/loader.py", line 231, in load_tf_graph_def
raise FrameworkError('Cannot load input model: {}', e) from e
mo.utils.error.FrameworkError: Cannot load input model: Attempting to use uninitialized value metrics/accuracy/total
[[{{node _retval_metrics/accuracy/total_0_54}}]]
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/intel/openvino_2020.3.194/deployment_tools/model_optimizer/mo/main.py", line 312, in main
ret_code = driver(argv)
File "/opt/intel/openvino_2020.3.194/deployment_tools/model_optimizer/mo/main.py", line 273, in driver
ret_res = emit_ir(prepare_ir(argv), argv)
File "/opt/intel/openvino_2020.3.194/deployment_tools/model_optimizer/mo/main.py", line 238, in prepare_ir
graph = unified_pipeline(argv)
File "/opt/intel/openvino_2020.3.194/deployment_tools/model_optimizer/mo/pipeline/unified.py", line 29, in unified_pipeline
class_registration.ClassType.BACK_REPLACER
File "/opt/intel/openvino_2020.3.194/deployment_tools/model_optimizer/mo/utils/class_registration.py", line 334, in apply_replacements
apply_replacements_list(graph, replacers_order)
File "/opt/intel/openvino_2020.3.194/deployment_tools/model_optimizer/mo/utils/class_registration.py", line 324, in apply_replacements_list
num_transforms=len(replacers_order))
File "/opt/intel/openvino_2020.3.194/deployment_tools/model_optimizer/mo/utils/logger.py", line 124, in wrapper
function(*args, **kwargs)
File "/opt/intel/openvino_2020.3.194/deployment_tools/model_optimizer/mo/utils/class_registration.py", line 306, in apply_transform
raise FrameworkError('{}'.format(str(err))) from err
mo.utils.error.FrameworkError: Cannot load input model: Attempting to use uninitialized value metrics/accuracy/total
[[{{node _retval_metrics/accuracy/total_0_54}}]]
The problem is that models trained in TensorFlow have some shapes undefined. In your case, it looks like batch of the input is not defined. To fix it, please add an additional argument to the command line: -b 1. The option sets batch to 1. It should fix this particular issue.
After that, I guess, you may encounter other issues so I would leave the following link: Converting a TensorFlow Model.
There are some tips about how to convert TensorFlow model to IR.

Problem with connecting the Storage Domain (Host host2 cannot access the Storage Domain(s) <UNKNOWN>)

Problem with connecting the Storage Domain (Host host2 cannot access the Storage Domain(s) )
Hello, everyone! I need specialist help, because I'm already desperate. My company has four hosts that are connected to the storage. Each host has its own IP to access the storage, which means host 1 has an ip 10.42.0.10 and 10.42.1.10 -> host 2 has an ip 10.42.0.20 and 10.42.0.20 respectively. Host 1 cannot ping the address 10.42.0.20. Hardware I tried to explain in more detail.
Host 1 has ovirt node 4.3.9 installed and hosted-engine deployed.
When trying to add host 2 to a cluster it is installed, but not activated. There is an error in ovirt manager - "Host **host2** cannot access the Storage Domain(s) <UNKNOWN>" and host 2 goes to "Not operational" status. On host 2, it writes "connect to 10.42.1.10:3260 failed (No route to host)" in the logs and repeats indefinitely. I manually connected host 2 to the storage using iscsiadm to ip 10.42.0.20. But the error is not missing(. At the same time, when the host tries to activate it, I can run virtual machines on it until the host shows an error message. VMs that have been run on host 2 continue to run even when the host has Non-operational status.
I assume that when adding host 2 to a cluster, ovirt tries to connect it to the same repository host 1 is connected to from ip 10.42.1.10. There may be a way to get ovirt to connect to another ip address instead of the ip domain address for the first host. I'm attaching logs:
/var/log/ovirt-engine/engine.log
2020-03-31 09:13:03,866+03 WARN [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engineScheduled-Thread-90) [7fa128f4] EVENT_ID: VDS_SET_NONOPERATIONAL_DOMAIN(522), Host host2.school34.local cannot access the Storage Domain(s) <UNKNOWN> attached to the Data Center DataCenter. Setting Host state to Non-Operational.
2020-03-31 10:40:04,883+03 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-12) [7a48ebb7] START, ConnectStorageServerVDSCommand(HostName = host2.school34.local, StorageServerConnectionManagementVDSParameters:{hostId='d82c3a76-e417-4fe4-8b08-a29414e3a9c1', storagePoolId='6052cc0a-71b9-11ea-ba5a-00163e10c7e7', storageType='ISCSI', connectionList='[StorageServerConnections:{id='c8a05dc2-f8a2-4354-96ed-907762c29761', connection='10.42.0.10', iqn='iqn.2002-09.com.lenovo:01.array.00c0ff3bfcb0', vfsType='null', mountOptions='null', nfsVersion='null', nfsRetrans='null', nfsTimeo='null', iface='null', netIfaceName='null'}, StorageServerConnections:{id='0ec6f34e-01c8-4ecc-9bd4-7e2a250d589d', connection='10.42.1.10', iqn='iqn.2002-09.com.lenovo:01.array.00c0ff3bfcb0', vfsType='null', mountOptions='null', nfsVersion='null', nfsRetrans='null', nfsTimeo='null', iface='null', netIfaceName='null'}]', sendNetworkEventOnFailure='true'}), log id: 2c1a22b5
2020-03-31 10:43:05,061+03 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engineScheduled-Thread-12) [7a48ebb7] EVENT_ID: VDS_BROKER_COMMAND_FAILURE(10,802), VDSM host2.school34.local command ConnectStorageServerVDS failed: Message timeout which can be caused by communication issues
vdsm.log
2020-03-31 09:34:07,264+0300 ERROR (jsonrpc/5) [storage.HSM] Could not connect to storageServer (hsm:2420)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/storage/hsm.py", line 2417, in connectStorageServer
conObj.connect()
File "/usr/lib/python2.7/site-packages/vdsm/storage/storageServer.py", line 488, in connect
iscsi.addIscsiNode(self._iface, self._target, self._cred)
File "/usr/lib/python2.7/site-packages/vdsm/storage/iscsi.py", line 217, in addIscsiNode
iscsiadm.node_login(iface.name, target.address, target.iqn)
File "/usr/lib/python2.7/site-packages/vdsm/storage/iscsiadm.py", line 337, in node_login
raise IscsiNodeError(rc, out, err)
IscsiNodeError: (8, ['Logging in to [iface: default, target: iqn.2002-09.com.lenovo:01.array.00c0ff3bfcb0, portal: 10.42.1.10,3260] (multiple)'], ['iscsiadm: Could not login to [iface: default, target: iqn.2002-09.com.lenovo:01.array.00c0ff3bfcb0, portal: 10.42.1.10,3260].', 'iscsiadm: initiator reported error (8 - connection timed out)', 'iscsiadm: Could not log into all portals'])
2020-03-31 09:36:01,583+0300 WARN (vdsm.Scheduler) [Executor] Worker blocked: <Worker name=jsonrpc/0 running <Task <JsonRpcTask {'params': {u'connectionParams': [{u'port': u'3260', u'connection': u'10.42.0.10', u'iqn': u'iqn.2002-09.com.lenovo:01.array.00c0ff3bfcb0', u'user': u'', u'tpgt': u'2', u'ipv6_enabled': u'false', u'password': '********', u'id': u'c8a05dc2-f8a2-4354-96ed-907762c29761'}, {u'port': u'3260', u'connection': u'10.42.1.10', u'iqn': u'iqn.2002-09.com.lenovo:01.array.00c0ff3bfcb0', u'user': u'', u'tpgt': u'1', u'ipv6_enabled': u'false', u'password': '********', u'id': u'0ec6f34e-01c8-4ecc-9bd4-7e2a250d589d'}], u'storagepoolID': u'6052cc0a-71b9-11ea-ba5a-00163e10c7e7', u'domainType': 3}, 'jsonrpc': '2.0', 'method': u'StoragePool.connectStorageServer', 'id': u'64cc0385-3a11-474b-98f0-b0ecaa6c67c8'} at 0x7fe1ac1ff510> timeout=60, duration=60.00 at 0x7fe1ac1ffb10> task#=316 at 0x7fe1f0041ad0>, traceback:
File: "/usr/lib64/python2.7/threading.py", line 785, in __bootstrap
self.__bootstrap_inner()
File: "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner
self.run()
File: "/usr/lib64/python2.7/threading.py", line 765, in run
self.__target(*self.__args, **self.__kwargs)
File: "/usr/lib/python2.7/site-packages/vdsm/common/concurrent.py", line 260, in run
ret = func(*args, **kwargs)
File: "/usr/lib/python2.7/site-packages/vdsm/executor.py", line 301, in _run
self._execute_task()
File: "/usr/lib/python2.7/site-packages/vdsm/executor.py", line 315, in _execute_task
task()
File: "/usr/lib/python2.7/site-packages/vdsm/executor.py", line 391, in __call__
self._callable()
File: "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 262, in __call__
self._handler(self._ctx, self._req)
File: "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 305, in _serveRequest
response = self._handle_request(req, ctx)
File: "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 345, in _handle_request
res = method(**params)
File: "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 194, in _dynamicMethod
result = fn(*methodArgs)
File: "/usr/lib/python2.7/site-packages/vdsm/API.py", line 1102, in connectStorageServer
connectionParams)
File: "/usr/lib/python2.7/site-packages/vdsm/storage/dispatcher.py", line 74, in wrapper
result = ctask.prepare(func, *args, **kwargs)
File: "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 108, in wrapper
return m(self, *a, **kw)
File: "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 1179, in prepare
result = self._run(func, *args, **kwargs)
File: "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 882, in _run
return fn(*args, **kargs)
File: "<string>", line 2, in connectStorageServer
File: "/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 50, in method
ret = func(*args, **kwargs)
File: "/usr/lib/python2.7/site-packages/vdsm/storage/hsm.py", line 2417, in connectStorageServer
conObj.connect()
File: "/usr/lib/python2.7/site-packages/vdsm/storage/storageServer.py", line 488, in connect
iscsi.addIscsiNode(self._iface, self._target, self._cred)
File: "/usr/lib/python2.7/site-packages/vdsm/storage/iscsi.py", line 217, in addIscsiNode
iscsiadm.node_login(iface.name, target.address, target.iqn)
File: "/usr/lib/python2.7/site-packages/vdsm/storage/iscsiadm.py", line 327, in node_login
portal, "-l"])
File: "/usr/lib/python2.7/site-packages/vdsm/storage/iscsiadm.py", line 122, in _runCmd
return misc.execCmd(cmd, printable=printCmd, sudo=True, sync=sync)
File: "/usr/lib/python2.7/site-packages/vdsm/common/commands.py", line 213, in execCmd
(out, err) = p.communicate(data)
File: "/usr/lib64/python2.7/site-packages/subprocess32.py", line 924, in communicate
stdout, stderr = self._communicate(input, endtime, timeout)
File: "/usr/lib64/python2.7/site-packages/subprocess32.py", line 1706, in _communicate
orig_timeout)
File: "/usr/lib64/python2.7/site-packages/subprocess32.py", line 1779, in _communicate_with_poll
ready = poller.poll(self._remaining_time(endtime)) (executor:363)
Thanks a lot!
I'm struggling trying to figure out your architecture. It seems like you've configured your Storage Domain pointing to 10.42.1.10:3260 as iSCSI portal.
If I've understood correctly, your cluster should be something like:
+-------------+
|HostedEngine |
+------+------+
|
| Management network
+-------+------+ 10.42.0.0/24
| |
+ +
10.42.0.10 10.42.0.20
+--------+ +--------+
| host1 | | host2 |
+--------+ +--------+
10.42.1.10 10.42.1.20
+ +
| |
+-------+------+
|
| Storage network
+---+---+ 10.42.1.0/24
|Storage|
+-------+
Provided my guess is correct, it seems you've configured your iSCSI target on host1 instead of a proper, external, storage device. Otherwise, you've messed up with IP addressing.

GSUTIL traceback-Linux Mint

Im trying to install GSUTIL, after installation it gives the following output for every command,
Traceback (most recent call last):
File "/usr/local/bin/gsutil", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2749, in <module>
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 446, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 459, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 632, in resolve
raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (httplib2 0.8 (/usr/lib/python2.7/dist-packages), Requirement.parse('httplib2>=0.9.1'))
That means you need to update the version of httplib2 installed on your system to at least v 0.9.1.

Non-zero exit status while regenerating during component build in chromium

I have tried configuring Component Build in Chromium but while regenerating the chromium.gyp_env by running link
gclient runhooks
i get following error
C:\chromiumtrunk\home\src_tarball\tarball\chromium\src>gclient runhooks
________ running 'C:\chromium\depot_tools\python_bin\python.exe src/build/downlo
ad_nacl_toolchains.py --no-arm-trusted --keep' in 'C:\chromiumtrunk\home\src_tar
ball\tarball\chromium'
C:\chromiumtrunk\home\src_tarball\tarball\chromium\src\native_client\toolchain\.
tars\toolchain_win_x86.tar.bz2 is already up to date.
win_x86: already up to date.
C:\chromiumtrunk\home\src_tarball\tarball\chromium\src\native_client\toolchain\.
tars\naclsdk_win_x86.tgz is already up to date.
win_x86_newlib: already up to date.
C:\chromiumtrunk\home\src_tarball\tarball\chromium\src\native_client\toolchain\.
tars\naclsdk_pnacl_win_x86.tgz is already up to date.
pnacl_win_x86: already up to date.
C:\chromiumtrunk\home\src_tarball\tarball\chromium\src\native_client\toolchain\.
tars\naclsdk_pnacl_translator.tgz is already up to date.
pnacl_translator: already up to date.
________ running 'C:\chromium\depot_tools\python_bin\python.exe src/build/linux/
install-arm-sysroot.py --linux-only' in 'C:\chromiumtrunk\home\src_tarball\tarba
ll\chromium'
________ running 'C:\chromium\depot_tools\python_bin\python.exe src/chrome/insta
ller/linux/sysroot_scripts/install-debian.wheezy.sysroot.py --linux-only --arch=
amd64' in 'C:\chromiumtrunk\home\src_tarball\tarball\chromium'
________ running 'C:\chromium\depot_tools\python_bin\python.exe src/chrome/insta
ller/linux/sysroot_scripts/install-debian.wheezy.sysroot.py --linux-only --arch=
i386' in 'C:\chromiumtrunk\home\src_tarball\tarball\chromium'
________ running 'C:\chromium\depot_tools\python_bin\python.exe src/tools/clang/
scripts/update.py --mac-only' in 'C:\chromiumtrunk\home\src_tarball\tarball\chro
mium'
________ running 'C:\chromium\depot_tools\python_bin\python.exe src/build/win/se
tup_cygwin_mount.py --win-only' in 'C:\chromiumtrunk\home\src_tarball\tarball\ch
romium'
________ running 'C:\chromium\depot_tools\python_bin\python.exe src/build/util/l
astchange.py -o src/build/util/LASTCHANGE' in 'C:\chromiumtrunk\home\src_tarball
\tarball\chromium'
________ running 'C:\chromium\depot_tools\python_bin\python.exe src/build/util/l
astchange.py -s src/third_party/WebKit -o src/build/util/LASTCHANGE.blink' in 'C
:\chromiumtrunk\home\src_tarball\tarball\chromium'
________ running 'C:\chromium\depot_tools\python_bin\python.exe src/build/gyp_ch
romium' in 'C:\chromiumtrunk\home\src_tarball\tarball\chromium'
Enabled Psyco JIT.
Updating projects from gyp files...
Warning: Missing input files:
C:\Program Files (x86)\Windows Kits\8.0\bin\x86\fxc.exe
C:\Program Files (x86)\Windows Kits\8.0\Redist\D3D\x86\d3dcompiler_46.dll
Hook ''C:\chromium\depot_tools\python_bin\python.exe' src/build/gyp_chromium' to
ok 637.08 secs
________ running 'C:\chromium\depot_tools\python_bin\python.exe src/build/landmi
nes.py' in 'C:\chromiumtrunk\home\src_tarball\tarball\chromium'
Traceback (most recent call last):
File "C:\chromiumtrunk\home\src_tarball\tarball\chromium\src\build\get_landmin
es.py", line 63, in <module>
sys.exit(main())
File "C:\chromiumtrunk\home\src_tarball\tarball\chromium\src\build\get_landmin
es.py", line 58, in main
print_landmines(options.target)
File "C:\chromiumtrunk\home\src_tarball\tarball\chromium\src\build\get_landmin
es.py", line 29, in print_landmines
if (distributor() == 'goma' and platform() == 'win32' and
File "C:\chromiumtrunk\home\src_tarball\tarball\chromium\src\build\landmine_ut
ils.py", line 20, in inner
ret = func()
File "C:\chromiumtrunk\home\src_tarball\tarball\chromium\src\build\landmine_ut
ils.py", line 60, in distributor
if 'goma' in gyp_defines():
File "C:\chromiumtrunk\home\src_tarball\tarball\chromium\src\build\landmine_ut
ils.py", line 20, in inner
ret = func()
File "C:\chromiumtrunk\home\src_tarball\tarball\chromium\src\build\landmine_ut
ils.py", line 48, in gyp_defines
for arg in shlex.split(os.environ.get('GYP_DEFINES', '')))
ValueError: dictionary update sequence element #0 has length 1; 2 is required
Traceback (most recent call last):
File "src/build/landmines.py", line 133, in <module>
sys.exit(main())
File "src/build/landmines.py", line 127, in main
set_up_landmines(target, landmines)
File "src/build/landmines.py", line 59, in set_up_landmines
out_dir = get_target_build_dir(landmine_utils.builder(), target,
File "C:\chromiumtrunk\home\src_tarball\tarball\chromium\src\build\landmine_ut
ils.py", line 20, in inner
ret = func()
File "C:\chromiumtrunk\home\src_tarball\tarball\chromium\src\build\landmine_ut
ils.py", line 102, in builder
if platform() == 'android':
File "C:\chromiumtrunk\home\src_tarball\tarball\chromium\src\build\landmine_ut
ils.py", line 20, in inner
ret = func()
File "C:\chromiumtrunk\home\src_tarball\tarball\chromium\src\build\landmine_ut
ils.py", line 73, in platform
if 'OS' in gyp_defines():
File "C:\chromiumtrunk\home\src_tarball\tarball\chromium\src\build\landmine_ut
ils.py", line 20, in inner
ret = func()
File "C:\chromiumtrunk\home\src_tarball\tarball\chromium\src\build\landmine_ut
ils.py", line 48, in gyp_defines
for arg in shlex.split(os.environ.get('GYP_DEFINES', '')))
ValueError: dictionary update sequence element #0 has length 1; 2 is required
Error: Command C:\chromium\depot_tools\python_bin\python.exe src/build/landmines
.py returned non-zero exit status 1 in C:\chromiumtrunk\home\src_tarball\tarball
\chromium
From the error it looks like there is something wrong with your GYP_DEFINES environment variable. what does echo $GYP_DEFINES output? It should be a set of space separated key=value pairs.

nosetest Ran 0 test on pandas

I try to follow pandas documentation. Installed it on Ubuntu 10.4 but when run nose test got result 0 test
~$ nosetests pandas
----------------------------------------------------------------------
Ran 0 tests in 0.002s
OK
It seems everything is installed correctly, so don't know what to do with it or how to interpret (I am new to nose test).
Can you help me interpret the output or advise how I should run this test
thanks
I got the ran 0 tests message in every directory I tried until I tried this:
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.11.0-py2.7-macosx-10.6-intel.egg/pandas/tests$ sudo nosetests *
sudo was necessary to get rid of access errors on the first go round. Then I got these errors:
======================================================================
FAIL: test_cast_internals (pandas.tests.test_frame.TestDataFrame)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.11.0-py2.7-macosx-10.6-intel.egg/pandas/tests/test_frame.py", line 9092, in test_cast_internals
assert_frame_equal(casted, expected)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.11.0-py2.7-macosx-10.6-intel.egg/pandas/util/testing.py", line 250, in assert_frame_equal
assert(left.columns.names == right.columns.names)
AssertionError
======================================================================
FAIL: test_constructor_from_items (pandas.tests.test_frame.TestDataFrame)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.11.0-py2.7-macosx-10.6-intel.egg/pandas/tests/test_frame.py", line 2765, in test_constructor_from_items
assert_frame_equal(recons, self.frame)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.11.0-py2.7-macosx-10.6-intel.egg/pandas/util/testing.py", line 250, in assert_frame_equal
assert(left.columns.names == right.columns.names)
AssertionError
======================================================================
FAIL: test_constructor_more (pandas.tests.test_frame.TestDataFrame)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.11.0-py2.7-macosx-10.6-intel.egg/pandas/tests/test_frame.py", line 2565, in test_constructor_more
tm.assert_frame_equal(dm, self.frame)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.11.0-py2.7-macosx-10.6-intel.egg/pandas/util/testing.py", line 250, in assert_frame_equal
assert(left.columns.names == right.columns.names)
AssertionError
======================================================================
FAIL: test_constructor_orient (pandas.tests.test_frame.TestDataFrame)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.11.0-py2.7-macosx-10.6-intel.egg/pandas/tests/test_frame.py", line 2713, in test_constructor_orient
assert_frame_equal(recons, expected)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.11.0-py2.7-macosx-10.6-intel.egg/pandas/util/testing.py", line 249, in assert_frame_equal
assert(left.index.names == right.index.names)
AssertionError
======================================================================
FAIL: test_constructor_subclass_dict (pandas.tests.test_frame.TestDataFrame)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.11.0-py2.7-macosx-10.6-intel.egg/pandas/tests/test_frame.py", line 2267, in test_constructor_subclass_dict
assert_frame_equal(self.frame.sort_index(), frame)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.11.0-py2.7-macosx-10.6-intel.egg/pandas/util/testing.py", line 249, in assert_frame_equal
assert(left.index.names == right.index.names)
AssertionError
======================================================================
FAIL: test_getitem_fancy_2d (pandas.tests.test_frame.TestDataFrame)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.11.0-py2.7-macosx-10.6-intel.egg/pandas/tests/test_frame.py", line 620, in test_getitem_fancy_2d
assert_frame_equal(ix[:, :2], f.reindex(columns=['A', 'B']))
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.11.0-py2.7-macosx-10.6-intel.egg/pandas/util/testing.py", line 250, in assert_frame_equal
assert(left.columns.names == right.columns.names)
AssertionError
======================================================================
FAIL: test_getitem_fancy_boolean (pandas.tests.test_frame.TestDataFrame)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.11.0-py2.7-macosx-10.6-intel.egg/pandas/tests/test_frame.py", line 1106, in test_getitem_fancy_boolean
assert_frame_equal(result, expected)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.11.0-py2.7-macosx-10.6-intel.egg/pandas/util/testing.py", line 250, in assert_frame_equal
assert(left.columns.names == right.columns.names)
AssertionError
======================================================================
FAIL: test_time_series_plot_color_with_empty_kwargs (pandas.tests.test_graphics.TestDataFrameGroupByPlots)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas-0.11.0-py2.7-macosx-10.6-intel.egg/pandas/tests/test_graphics.py", line 752, in test_time_series_plot_color_with_empty_kwargs
self.assert_(line_colors == ['b', 'g', 'r'])
AssertionError: False is not true
----------------------------------------------------------------------
Ran 3382 tests in 341.290s
FAILED (SKIP=46, failures=8)