-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ext-firestore-semantic-search never finished deplying the index? #360
Comments
@fabiopolimeni Deploying indexes usually takes few hours, to check the status of an index (if it failed) go to https://console.cloud.google.com/vertex-ai/matching-engine/indexes (make sure to pick your location) and see if the index is there |
OK thanks. Unfortunately, I have uninstalled the extension by now, but I can see an index available on the region I was using. Were I supposed to deploy that to an endpoint manually? |
If you click on the index you can see the endpoints it's deployed to, the extension is supposed to the do the deployment for you, so if that was successful you should see an "Index Endpoint" |
Then it was not successful. It was not deployed. |
With no error logs? If you would like to try again, I will try to help you go through why is it happening. |
same here #369 Still wating some hours to see if a problem of time, but It seems it is not. |
This doesn't seem to be the same issue as #369. I changed my embeddings and re-installed but it never created the index. Trying to trigger this from the CLI with: gcloud functions --project xxxxx call ext-firestore-semantic-search-queryIndex --data '{"data": {"query":["some query"]}}' I get: error: '{"error":{"message":"Endpoint or index endpoint is not found.","status":"NOT_FOUND"}}' |
I have now waited for two days and the index never completed. I also tried uninstalling and re-installing to no avail. Interestingly in _ext-firestore-semantic-search -> tasks -> totalTasks I see that the totalTasks is 73433 and it gets to 72500 and stops. Anyone know why that might happen? |
Thanks for letting us know, this is likely an issue with trigger a deployment, we're investigating it. |
Hi @hygu98! Are there any error logs around the time when the processed tasks number approaches 72500 and stops? |
I am having the same issue @pr-Mais. |
@jauntybrain I think you were referring to me so I will reply. Around the time that it seems to stop processing, I don't see errors in any of the 10 function logs. Interestingly, I do see this: "Embeddings uploaded to the bucket <app_name>-ext-firestore-semantic-search in datapoints/ext-firestore-semantic-search-task1450.json 🚀" And if I go to that bucket, it is completely empty so if data is being uploaded to that bucket, it doesn't seem to be successful. I looked at the on onIndexCreated and onIndexDeployed and I don't see any errors there that I can tell. If I go into Vertex AI I don't see any Vector Search Indexes or End Points either so, it seems like the logs show the index was successfully created and deployed but it wasn't? |
@hygu98 On the vertex ai console, you have a dropdown menu with locations, and only the indexes on that location is showed, so probably you're not viewing the correct location? |
I see in the last json file you sent theres this error:
So thats why the tasks are stacking up. We will investigate it further. |
Hi @antman786, could you please tell us more about the issue you're facing? Could you please also share your extension configuration and error logs, if there are any? |
@pr-Mais - Sorry for the delay, been wrapped up. I'm guessing you are referring to the Region select? I verified that I was in the right region and no, there is no index there. In addition, when I try to run the function via command line it still says there is no index. To be sure I checked all 31 regions and there is no index in any of them. Any luck investigating the error? |
Sorry for the delay, I will be looking into the issue this week. |
It took me ages but I managed to solve and use the query endpoint. I had all the problems listed above and on similar issues. The following are things that I did:
|
Thank you @ElementTech for providing these details, super helpful. |
Hi folks I'm having similar issues. Spent a couple of weeks going back and forth with google cloud support and they finally suggested I submit a bug report. Deciding to post here rather than make a new bug report because the issue looks to be similar: backfill pausing/not working and not seeing a vector index created in Vertex AI. The behaviour I'm seeing is:
|
@TTrapper yeah, though in your case the backfill has been skipped after the first try, the extension attempts to create the index after backfill is completed, but try that first and let me know. |
Could you also check for any error logs in the function named |
Thanks. After reinstalling I'm back to the behaviour of the first 50 documents being embedded and then it gets stuck. The first 50 look good though.
|
Describe your configuration
I have installed this extension, but I don't seem to be able to get anything out of it, and I am not sure where to look.
Whenever I insert a new document into DB, which is supposed to be indexed with a backfill trigger, I then can see on the log the following error.
Also, some log earlier I can spot and entry saying
But has been more than 5 hours now, so I am not sure the issue is the index has not be built, or somehow that building task failed. The collection it watches is very small so far, 10 documents only.
Also, trying the queryIndex call I get this error
The function is there so I am not sure what it is failing on.
The metadata status field on my DB says INDEX_BUILDING, but I am not sure this is really doing anything at this point.
Can anyone help me figure what's possibly going wrong?
The text was updated successfully, but these errors were encountered: