> To edit the entry of storage connection in database, you can use > hosted-engine --set-shared-config mnt_options > backup-volfile-servers=<server2>:<server3>
I tried editing shared configuration but it failed.
----
# hosted-engine --get-shared-config mnt_options --type=vm
Invalid configuration key mnt_options.
Available keys are:
Traceback (most recent call last):
File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/get_shared_config.py",
line 71, in <module>
value_and_type = get_shared_config.get_shared_config(*sys.argv)
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/get_shared_config.py",
line 55, in get_shared_config
for c_type in config_keys_for_type:
TypeError: 'NoneType' object is not iterable
# hosted-engine --get-shared-config mnt_options --type=broker
Invalid configuration key mnt_options.
Available keys are:
broker : ['email.smtp-server', 'email.smtp-port', 'email.source-email',
'email.destination-emails', 'notify.state_transition']
# hosted-engine --set-shared-config mnt_options backup-volfile-servers=lvh2:lvh4
Duplicate key mnt_options, please specify the key type
# hosted-engine --set-shared-config mnt_options
backup-volfile-servers=lvh2:lvh4 --type=broker
Invalid configuration key mnt_options.
Available keys are:
broker : ['email.smtp-server', 'email.smtp-port', 'email.source-email',
'email.destination-emails', 'notify.state_transition']
# hosted-engine --set-shared-config mnt_options
backup-volfile-servers=lvh2.lab.gematik.de:lvh4.lab.gematik.de --type=vm
Invalid configuration key mnt_options.
Available keys are:
Traceback (most recent call last):
File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/set_shared_config.py",
line 71, in <module>
if not set_shared_config.set_shared_config(*sys.argv):
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/set_shared_config.py",
line 54, in set_shared_config
for c_type in config_keys_for_type:
TypeError: 'NoneType' object is not iterable
----
André
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Users mailing list -- [email protected] To unsubscribe send an email to [email protected] Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/[email protected]/message/Z6NKBFRBUVN6X4NB5IKKBOTRAGODDXHW/

