
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 3,024 Views
I executed the following command to create a project.
oc new-project ${RHT_OCP4_DEV_USER}-template
The guide says that the following .json will be created, but the file does not exist.
/home/student/DO180/labs/multicontainer-openshift/todo-template.json
When I check it in my environment, the following exists.
Why doesn't the file exist?
[student@workstation multicontainer-application]$ls -l total 8 -rw-rw-r--. 1 student student 300 Aug 16 11:45 db.sql -rw-rw-r--. 1 student student 1799 Aug 16 11:45 todo-app.yml
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 3,019 Views
Try running
lab multicontainer-openshift finish
then
lab multucontainer-openshift start
For more clues have a look at what happened in /var/tmp/labs/

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 3,006 Views
Hi!
The `oc new-project` command does not create any file in your local filesystem, but only a new project in your openshift cluster.
The file you are expecting is to be created by the `lab multicontainer-openshift start` command.
As @ricardodacosta said, try finishing the exercise and start it again. If the files are not present, then something is not working as expected.
Hope that helps.
Jordi

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 2,984 Views
Hi,
Thank you for your reply.
I checked / var / tmp / labs / multicontainer-openhift.
Everything was !!!!!!!SUCCESS !!!!!!! and there was no problem.
After checking the video, I was running this command.
The file was created and this issue was resolved.
$ oc process -f todo-templte.json | oc create -f -
pod/mysql created
pod/todoapi created
...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 3,020 Views
Try running
lab multicontainer-openshift finish
then
lab multucontainer-openshift start
For more clues have a look at what happened in /var/tmp/labs/

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 2,985 Views
Hi,
Thank you for your reply.
I checked / var / tmp / labs / multicontainer-openhift.
Everything was !!!!!!!SUCCESS !!!!!!! and there was no problem.
After checking the video, I was running this command.
The file was created and this issue was resolved.
$ oc process -f todo-templte.json | oc create -f -
pod/mysql created
pod/todoapi created
...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 3,007 Views
Hi!
The `oc new-project` command does not create any file in your local filesystem, but only a new project in your openshift cluster.
The file you are expecting is to be created by the `lab multicontainer-openshift start` command.
As @ricardodacosta said, try finishing the exercise and start it again. If the files are not present, then something is not working as expected.
Hope that helps.
Jordi

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 2,982 Views
Hi!
As you reply to @ricardodacosta ,
I was able to solve it by executing the command that was being executed in the video.
The cause was that I didn't execute the command that originally created the file.
Thank you for contacting us.