2016-03-15 19:56:53 |
Travis Tripp |
description |
The fact that we added resource groups with zero downtime re-indexing doesn't get reflected in the output from the CLI when indexing. Making it confusing as to why when I only specified a single type, they all show up. This needs to be fixed:
ttripp@ubuntu:/opt/stack/searchlight$ searchlight-manage index sync --type OS::Cinder::Volume
Resource types (and indices) matching selection:
OS::Neutron::Net (searchlight)
--> OS::Neutron::Port (searchlight)
OS::Cinder::Volume (searchlight)
--> OS::Cinder::Snapshot (searchlight)
OS::Nova::Server (searchlight)
OS::Cinder::Snapshot (searchlight)
OS::Neutron::Port (searchlight)
OS::Glance::Image (searchlight)
OS::Designate::Zone (searchlight)
--> OS::Designate::RecordSet (searchlight)
OS::Designate::RecordSet (searchlight)
OS::Glance::Metadef (searchlight)
Indexing will NOT delete existing data or mapping(s). It will reindex all resources.
Use '--force' to suppress this message.
OK to continue? [y/n]: |
The fact that we added resource groups with zero downtime re-indexing doesn't get reflected in the output from the CLI when indexing. Making it confusing as to why when I only specified a single type, they all show up. This needs to be fixed:
ttripp@ubuntu:/opt/stack/searchlight$ searchlight-manage index sync --type OS::Cinder::Volume
Resource types (and indices) matching selection:
OS::Neutron::Net (searchlight)
--> OS::Neutron::Port (searchlight)
OS::Cinder::Volume (searchlight)
--> OS::Cinder::Snapshot (searchlight)
OS::Nova::Server (searchlight)
OS::Cinder::Snapshot (searchlight)
OS::Neutron::Port (searchlight)
OS::Glance::Image (searchlight)
OS::Designate::Zone (searchlight)
--> OS::Designate::RecordSet (searchlight)
OS::Designate::RecordSet (searchlight)
OS::Glance::Metadef (searchlight)
Indexing will NOT delete existing data or mapping(s). It will reindex all resources.
Use '--force' to suppress this message.
OK to continue? [y/n]:
*******************************
IN ADDITION: things get listed twice.
ttripp@ubuntu:/opt/stack/searchlight$ searchlight-manage index sync
Resource types (and indices) matching selection:
OS::Neutron::Net (searchlight)
--> OS::Neutron::Port (searchlight)
OS::Cinder::Volume (searchlight)
--> OS::Cinder::Snapshot (searchlight)
OS::Swift::Object (searchlight-swift)
OS::Nova::Server (searchlight)
OS::Cinder::Snapshot (searchlight)
OS::Neutron::Port (searchlight)
OS::Glance::Image (searchlight)
OS::Designate::Zone (searchlight)
--> OS::Designate::RecordSet (searchlight)
OS::Designate::RecordSet (searchlight)
OS::Swift::Container (searchlight)
--> OS::Swift::Object (searchlight-swift)
OS::Glance::Metadef (searchlight)
OS::Swift::Account (searchlight-swift)
--> OS::Swift::Container (searchlight)
--> OS::Swift::Object (searchlight-swift)
Show less
object is listed twice
ttripp@ubuntu:/opt/stack/searchlight$ searchlight-manage index sync --type OS::Swift::Account
Resource types (and indices) matching selection:
OS::Swift::Object (searchlight-swift)
OS::Swift::Account (searchlight-swift)
--> OS::Swift::Container (searchlight)
--> OS::Swift::Object (searchlight-swift) |
|