Skip to content

Commit c86b204

Browse files
authored
WMS 3427 OpenSearch Conversational Search, fix typos and more details. (oracle-livelabs#421)
* Opensearch Conversational Search Demo app stack lab * more image alt text * fix image * more specific file names to avoid confusion * typo * WMS 3427 OpenSearch Conversational Search, fix typos and more details.
1 parent ae6e77c commit c86b204

File tree

2 files changed

+31
-6
lines changed

2 files changed

+31
-6
lines changed

oci-opensearch/conversational-with-rag/conversational-with-rag-demo-stack.md

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Estimated Time: 15 minutes
1111

1212
In this lab, you will:
1313

14-
- Deploy the Conversational Search Demo application via the Ressource Manager.
14+
- Deploy the Conversational Search Demo application via the Resource Manager.
1515

1616
The stack deploys a new VCN (if needed) a new cluster (if needed), the application (in a container inastance), and a load balancer.
1717

@@ -31,7 +31,7 @@ You will also need a subscription to the Chicago or Frankfurt regions, which hos
3131

3232
## Step 2: Launch the Demo Stack
3333

34-
The stack consists in a terraform script launched via Ressource Manager.
34+
The stack consists in a terraform script launched via Resource Manager.
3535

3636
Click the following link to get started:
3737

@@ -84,8 +84,13 @@ You will be prompted to enter the OCID of the OpenSearch cluster.
8484

8585
![Paste OCID](../images/image-demo-opensearch-ocid2.png)
8686

87+
## Step 7: Enter the Username and Password For the Cluster
8788

88-
## Step 7: Configure Networking Information
89+
- **Enter** the **user** and **password** you specified at the time of cluster creation.
90+
91+
![Enter User and Password](../images/image-demo-cluster-user-pass.png)
92+
93+
## Step 8: Configure Networking Information
8994

9095
The application needs to be deployed in the same VCN and subnet as the cluster, so you will be prompted to enter the VCN and subnet information.
9196

@@ -102,7 +107,7 @@ If you followed the labs from the start, you should only have 1 VCN in the compa
102107
![Select VCN, Private and Public Subnets](../images/image-demo-network.png)
103108

104109

105-
## Step 8: Deploy
110+
## Step 9: Deploy
106111

107112
**Click** the **Next** button at the bottom of the page to start the deployment.
108113

@@ -111,7 +116,7 @@ The Stack will deploy and show logs
111116
![Deploy Stack - Accepted](../images/image-demo-rmj-accepted.png)
112117

113118

114-
## Step 9: Find the Application URL
119+
## Step 10: Find the Application URL
115120

116121
- Once done, the stack switches to green.
117122

@@ -125,7 +130,7 @@ The Stack will deploy and show logs
125130

126131
- **Copy** the URL, and paste it in you browser
127132

128-
## Step 10: Interact With the Application
133+
## Step 11: Interact With the Application
129134

130135
You should see the application interface in your browser. If it doesn't show right away, wait a minute or two. The application loads and embeds data at start up, which can take a couple minutes.
131136

@@ -146,6 +151,26 @@ You can ask questions like:
146151

147152
To learn more about how this works, you can now proceed to the next lab, which guides you through the process the app uses step-by-step.
148153

154+
## Step 12: Troubleshooting the Deployment
155+
156+
- When accessing the URL, the page shows error 402 Bad Gateway:
157+
- Give it a minute or two before reloading the page: when the app loads, it ingests the demo data which may take a couple minutes, before the app is effectively started.
158+
159+
- After several minutes, the page still shows error 402 Bad Gateway:
160+
- Check the application logs:
161+
- Search the menu for Container Instances
162+
- Look up the Container instance created by the stack, named `opensearch-demo-YYYY`.
163+
- Select the container `opensearch-demo-YYY` in the resources menu (bottom left)
164+
- Open the logs, and look for latest error if any.
165+
166+
There may be auth error 401 trying to authenticate to the cluster: this indicates that wrong credentials were provided. You can open the stack and look at variables. There you can choose to Edit variables and update the credentials, then re-apply the stack.
167+
168+
There may be 409 errors with rate limit exceeded. This is normal as long as the 500 dem data records get ingested. However if the startup process never finished, and the last logs don't indicate the app was started, something went wrong during ingestion.
169+
170+
Timeout during ingestion may indicate the VCN configuration is wrong. If the VN was created with the wizard, it should have a public nad private subnets, with an Internet Gateway on the public subnet, and a Service Gateway and NAT gateway in the private subnet. You should also have created a security list to open port 9200 for OpenSearch API.
171+
172+
If you can't figure what may be wrong, feel free to contact us with the contact button, and please provide the full app log in your email.
173+
149174

150175
## Acknowledgements
151176

147 KB
Loading

0 commit comments

Comments
 (0)