Skip to content

Commit 6f8db3d

Browse files
more documentation information
1 parent 6813e79 commit 6f8db3d

File tree

7 files changed

+31
-1
lines changed

7 files changed

+31
-1
lines changed
344 KB
Loading
31.1 KB
Loading
Loading

troubleshooting/troubleshooting.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Troubleshooting
2+
3+
This document lists the common errors seen when using the stack.
4+
5+
## The job failed due to an error in the Terraform configuration. To troubleshoot this issue, view the job log.
6+
7+
![](./screenshots/1_statefailed.png)
8+
9+
If this error shows up at the end of the stack execution
10+
11+
```
12+
Error: During creation, Terraform expected the resource to reach state(s): SUCCEEDED, but the service reported unexpected state: FAILED.
13+
with oci_devops_build_run.create_docker_image[0],
14+
on devops.tf line 219, in resource "oci_devops_build_run" "create_docker_image"
15+
219: resource "oci_devops_build_run" "create_docker_image" {
16+
```
17+
18+
![](./screenshots/2_logerror.png)
19+
20+
This indicates that the build pipeline failed. Go to the build pipeline log to see the error. In this case the git project branch was not found:
21+
22+
![](./screenshots/3_buildpipelinelog.png)
23+
Loading
Loading

tutorials/mytodolist/tutorial.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,21 @@ Your repo should now be created. Note its OCID as it will be used later.
8484

8585
## Configure the stack
8686

87-
Go to the ![App Stack Product page](https://github.com/oracle-quickstart/appstack) and click on the "Deploy" button:
87+
Go to the [App Stack Product page](https://github.com/oracle-quickstart/appstack) and click on the "Deploy" button:
8888

8989
![](./screenshots/16_stackbutton.png)
9090
![](./screenshots/17_createstack.png)
9191
![](./screenshots/18_generalconfig.png)
92+
For the "DevOps repo", be sure to entre the right OCID. It should start with *ocid1.devopsrepository.* and the branch we're using is **spring-appstack**. The artifact **./target/mytodolist-0.0.1-SNAPSHOT.jar**.
9293
![](./screenshots/19_appconfig.png)
9394
![](./screenshots/20_apm.png)
9495
![](./screenshots/21_db.png)
9596
![](./screenshots/22_vault.png)
97+
We're not creating any DNS record in this tutorial. If you have a domain name and you're using OCI to manage your DNS entries then you can choose to make the stack create a new record for the application by checking the checkbox below.
9698
![](./screenshots/23_url.png)
99+
100+
For the network we can keep the default values:
97101
![](./screenshots/24_network.png)
102+
103+
You can then apply the stack:
104+
![](./screenshots/25_applystack.png)

0 commit comments

Comments
 (0)