Manage utility failing against cluster
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Backup/Restore and DR (Freezer) |
Fix Released
|
High
|
Mohammed Naser | ||
Ocata |
New
|
High
|
Mohammed Naser | ||
Pike |
Fix Released
|
High
|
Mohammed Naser |
Bug Description
https:/
That part splits the list of servers and passes it to the driver, however:
https:/
It doesn't do the same, therefore, it fails with an error similar to this:
# freezer-manage db sync
{'retries': 20, 'endpoint': '', 'index': 'freezer', 'db': 'elasticsearch', 'hosts': 'http://
2017-04-11 20:04:31.778 72 ERROR freezer_
invalid literal for int() with base 10: '9200,http'
Changed in freezer: | |
milestone: | none → pike-2 |
importance: | Undecided → High |
Reviewed: https:/ /review. openstack. org/456735 /git.openstack. org/cgit/ openstack/ freezer- api/commit/ ?id=e0976af072b adf78b335fea606 b1efb2c24cc32a
Committed: https:/
Submitter: Jenkins
Branch: master
commit e0976af072badf7 8b335fea606b1ef b2c24cc32a
Author: Mohammed Naser <email address hidden>
Date: Thu Apr 13 15:13:15 2017 -0400
Allow bootstrapping against clusters and unify host options
The current settings inside freezer-manage reflect on using host and
port which are no longer used. In addition, there seems to be no
splitting of the values in freezer-manage which means that it would
create a problem when trying to install against a list of hosts as
the ElasticSearch driver will refuse to accept the list.
This patch unifies all references of to 'hosts' and changes the option
to use ListOpt which is comma seperated values in the configuration
file which are then split into an array by oslo.config, which avoids
having to split things inside freezer.
Closes-Bug: #1681931
Change-Id: I613d0672ec2b18 6cd0d6365e795b3 5d9cff26dcd