Devops Practitioner/Batch 3/Apr 14,15,21,22,28,29 May 5,6,12 2018

Discussion in 'Cloud Computing' started by The Novice, Apr 14, 2018.

  1. The Novice

    The Novice Well-Known Member
    Alumni

    Joined:
    Feb 19, 2015
    Messages:
    353
    Likes Received:
    372
    Thread created for the DevOps Practitioner Certification Training batch being taken up by Siddharth.
    • This forum/thread has been created for each and everyone who has taken up all or partially the classes/sessions of this batch.
    • Ensure all your queries regarding DevOps certification are posted here as and when you have it.
    • This forum will not only be active till the session ends but post that forever. So whenever you have any concerns even after the session completes don't hesitate to use thread.
    • Ensure that maximum benefit of this platform is used by each one of you.
    PS: Please like / comment on the forum messages so that it is visible that you are engaged in the forum discussions. Thanks.
     
    #1
  2. _29032

    _29032 New Member

    Joined:
    Apr 12, 2018
    Messages:
    1
    Likes Received:
    1
    hi
     
    #2
    The Novice likes this.
  3. Sudheendra R

    Sudheendra R Customer
    Customer

    Joined:
    Sep 12, 2017
    Messages:
    1
    Likes Received:
    1
    Waiting for a fruitful discussion :)
     
    #3
    The Novice likes this.
  4. Edwin_25

    Edwin_25 Member

    Joined:
    Apr 9, 2018
    Messages:
    4
    Likes Received:
    3
    good to go
     
    #4
    The Novice likes this.
  5. Yashpal Singh Rathore

    Customer

    Joined:
    Sep 6, 2017
    Messages:
    1
    Likes Received:
    1
    test test.....
     
    #5
    The Novice likes this.
  6. _26665

    _26665 Member

    Joined:
    Mar 21, 2018
    Messages:
    3
    Likes Received:
    1
    test....
     
    #6
    The Novice likes this.
  7. Rahul_349

    Rahul_349 Member

    Joined:
    Jun 16, 2016
    Messages:
    3
    Likes Received:
    2
    hey sidharth can we have get the hard copied of after completion of session...
     
    #7
    The Novice likes this.
  8. _26931

    _26931 New Member

    Joined:
    Mar 22, 2018
    Messages:
    1
    Likes Received:
    1
    Hi there,

    Its been an hour that I have been trying to set up google account. I am getting this error at every stage, looks like. Please advise. I am currently stuck at a page after I clicked 'images', it doesn't seem to display anything!
    upload_2018-4-14_16-18-17.png

    upload_2018-4-14_16-16-51.png
     
    #8
    Last edited: Apr 14, 2018
    The Novice likes this.
  9. _28857

    _28857 New Member

    Joined:
    Apr 10, 2018
    Messages:
    1
    Likes Received:
    1
    What is root password of debian server? Please share "student" password, it would be helpful to use putty
     
    #9
    The Novice likes this.
  10. kiran .(4084)

    kiran .(4084) Member
    Alumni

    Joined:
    Oct 28, 2012
    Messages:
    2
    Likes Received:
    2
    finding some issue in step3 : i was able to create but not able to list after copying please advise

    kiran_mullangidevops@bamboo-velocity-201118:~$ gsutil mb gs://devops-msk-20170119
    Creating gs://devops-msk-20170119/...
    kiran_mullangidevops@bamboo-velocity-201118:~$ gsutil cp gs://simplilearn-devops-image/* gs://devops-msk-20170119/
    Copying gs://simplilearn-devops-image/debian-8-student-gui-v20161130.tar.gz [Content-Type=application/x-tar]...
    Copying gs://simplilearn-devops-image/debian-8-student-gui-v20170108.tar.gz [Content-Type=application/x-tar]...
    \ [2 files][ 5.5 GiB/ 5.5 GiB]
    Operation completed over 2 objects/5.5 GiB.
    kiran_mullangidevops@bamboo-velocity-201118:~$ ll
    -bash: ll: command not found
    kiran_mullangidevops@bamboo-velocity-201118:~$ ls
    README-cloudshell.txt
    kiran_mullangidevops@bamboo-velocity-201118:~$ ls gs://devops-msk-20170119
    ls: cannot access 'gs://devops-msk-20170119': No such file or directory
     
    #10
    The Novice likes this.
  11. The Novice

    The Novice Well-Known Member
    Alumni

    Joined:
    Feb 19, 2015
    Messages:
    353
    Likes Received:
    372
    Leave aside the LS command . It won't show like this. Rest all seems good to me.

    Go ahead and start creating your image and instance thereafter.


    PS: Please like / comment on the forum messages so that it is visible that you are engaged in the forum discussions. Thanks.
     
    #11
  12. kiran .(4084)

    kiran .(4084) Member
    Alumni

    Joined:
    Oct 28, 2012
    Messages:
    2
    Likes Received:
    2
    PS: Kiran: Thank you :) I was able to create the image successfully without any issues
     
    #12
    The Novice likes this.
  13. _27883

    _27883 Member

    Joined:
    Mar 30, 2018
    Messages:
    3
    Likes Received:
    1
    #13
  14. The Novice

    The Novice Well-Known Member
    Alumni

    Joined:
    Feb 19, 2015
    Messages:
    353
    Likes Received:
    372
    Of which hard copy you looking forward to Rahul ??

    Can you elaborate more please.


    PS: Please like / comment on the forum messages so that it is visible that you are engaged in the forum discussions. Thanks.
     
    #14
    Last edited: May 6, 2018
  15. The Novice

    The Novice Well-Known Member
    Alumni

    Joined:
    Feb 19, 2015
    Messages:
    353
    Likes Received:
    372
    For this session we are only using Google Cloud Free Tier account.

    Password cannot be shared as it is not only generic but many configurations prior to the session has been done against that account.

    Suggest you to use google account for this session atleast.


    PS: Please like / comment on the forum messages so that it is visible that you are engaged in the forum discussions. Thanks.
     
    #15
    Last edited: Apr 15, 2018
  16. The Novice

    The Novice Well-Known Member
    Alumni

    Joined:
    Feb 19, 2015
    Messages:
    353
    Likes Received:
    372
    Please check your account and credit card credentials. There may be a problem at time after you create account.

    If that looks good. then follow below given steps:

    Create bucket on google storage.
    gsutil mb <<given your bucket name like this --- gs://devops-testing-08032018 >>

    Copy from Simplilearn Image to your Google Storage bucket --->
    gsutil cp gs://simplilearn-devops-image/* <<Give your bucket name which you created in above step>>

    Then go ahead and create image. Hope it helps.


    PS: Please like / comment on the forum messages so that it is visible that you are engaged in the forum discussions. Thanks.
     
    #16
  17. Vishal Sehgal(1558)

    Joined:
    Apr 23, 2014
    Messages:
    2
    Likes Received:
    1
    I was able to connect to GCP VM through Putty. In your public key replace the last word with "student" and add it to SSH keys field in the VM configuration. Make sure that VM is stopped while editing. Add private key to putty and connect using the IP address. It works.
     
    #17
    The Novice likes this.
  18. Rahul_349

    Rahul_349 Member

    Joined:
    Jun 16, 2016
    Messages:
    3
    Likes Received:
    2
    hey sid just asking about slides now able to get from simplilearn labs.
     
    #18
    The Novice likes this.
  19. _29075

    _29075 Member

    Joined:
    Apr 12, 2018
    Messages:
    6
    Likes Received:
    2
    Unable to create SSD disk size as 200
     
    #19
    The Novice likes this.
  20. Arunamoy Roy

    Arunamoy Roy Member

    Joined:
    Apr 3, 2018
    Messages:
    2
    Likes Received:
    2
    #20
    The Novice likes this.
  21. Rahul_349

    Rahul_349 Member

    Joined:
    Jun 16, 2016
    Messages:
    3
    Likes Received:
    2
    while creating account in google cloud two times charges applied firstly 50 rs and 2 rs. have any body faces like that..
     
    #21
  22. The Novice

    The Novice Well-Known Member
    Alumni

    Joined:
    Feb 19, 2015
    Messages:
    353
    Likes Received:
    372
    Yeh it happens....just normal ;)


    PS: Please like / comment on the forum messages so that it is visible that you are engaged in the forum discussions. Thanks.
     
    #22
    Last edited: May 6, 2018
  23. Arunamoy Roy

    Arunamoy Roy Member

    Joined:
    Apr 3, 2018
    Messages:
    2
    Likes Received:
    2
    Have anyone faced this? Whats the fix please?
     
    #23
    The Novice likes this.
  24. Edwin_25

    Edwin_25 Member

    Joined:
    Apr 9, 2018
    Messages:
    4
    Likes Received:
    3
    nothing wrong there....just the debian image we used to create needs to be updated...
    try sudo ap-get update
    then try sudo apt-get install maven --fix-missing
     
    #24
    The Novice likes this.
  25. Edwin_25

    Edwin_25 Member

    Joined:
    Apr 9, 2018
    Messages:
    4
    Likes Received:
    3
    yaa....quota for asia-south region is 100 gb only.....if u really want 200 gb go with standard disk as option
     
    #25
    The Novice likes this.
  26. _25282

    _25282 Member

    Joined:
    Mar 7, 2018
    Messages:
    3
    Likes Received:
    1
    To Start Private Registry, we need to run first registry image as a container by below mentioned command....

    docker run -d -p 5000:5000 --restart=always --name registry registry:2

    then we pull another image and tag as a private registry..

    So here my question is that what is this registry image that first run as a container on port 5000...is this image only require to start private registry as container in demon thread mode or we can use any image to start private registry....
     
    #26
    The Novice likes this.
  27. The Novice

    The Novice Well-Known Member
    Alumni

    Joined:
    Feb 19, 2015
    Messages:
    353
    Likes Received:
    372
    Let me answer your ques in parts:

    1. On hub.docker.com things are stored in form of an image. Be it linux or windows or any software. Registry is one of them https://hub.docker.com/_/registry/
    2. We are storing under registry something. Which could again be any OS, software etc...
    3. Follow this link to know more: https://docs.docker.com/registry/introduction/
    Hope it helps. Let me know if you still have any queries.


    PS: Please like / comment on the forum messages so that it is visible that you are engaged in the forum discussions. Thanks.
     
    #27
  28. Gaurav Hamroll

    Joined:
    Feb 6, 2018
    Messages:
    5
    Likes Received:
    2
    Assistance need in creating Windows Dockerfile using YAML

    I was able to pull the window image using following

    FROM microsoft/nanoserver

    however, how will can i install any windows application on top of this and where can i find the YAML commands for it

    thank you
     
    #28
    The Novice likes this.
  29. The Novice

    The Novice Well-Known Member
    Alumni

    Joined:
    Feb 19, 2015
    Messages:
    353
    Likes Received:
    372
    Gaurav, kindly see if the following links helps out:


    PS: Please like / comment on the forum messages so that it is visible that you are engaged in the forum discussions. Thanks.
     
    #29
    Last edited: May 1, 2018
    Gaurav Hamroll likes this.
  30. _28489

    _28489 Member
    Alumni

    Joined:
    Apr 5, 2018
    Messages:
    7
    Likes Received:
    8
    Hi,

    I am able to create bucket and copy successfully but unable to create image in compute engine. I am getting "Make sure all information is correct and you've completed all required entries, then submit again.".

    satheeshmuarli@devops-test-demo:~$ gsutil cp gs://simplilearn-devops-image/* gs://devops-test-demo1
    Copying gs://simplilearn-devops-image/debian-8-student-gui-v20161130.tar.gz [Content-Type=application/x-tar]...
    Copying gs://simplilearn-devops-image/debian-8-student-gui-v20170108.tar.gz [Content-Type=application/x-tar]...
    - [2 files][ 5.5 GiB/ 5.5 GiB]
    Operation completed over 2 objects/5.5 GiB.

    Regards,
    satheesh C.M
     
    #30
    The Novice likes this.
  31. The Novice

    The Novice Well-Known Member
    Alumni

    Joined:
    Feb 19, 2015
    Messages:
    353
    Likes Received:
    372
    Could you please share the screenshot and the command/s that are failing.


    PS: Please like / comment on the forum messages so that it is visible that you are engaged in the forum discussions. Thanks.
     
    #31
    Last edited: May 6, 2018
  32. _28489

    _28489 Member
    Alumni

    Joined:
    Apr 5, 2018
    Messages:
    7
    Likes Received:
    8
     

    Attached Files:

    #32
    The Novice likes this.
  33. _27883

    _27883 Member

    Joined:
    Mar 30, 2018
    Messages:
    3
    Likes Received:
    1
    #33
    The Novice likes this.
  34. _26786

    _26786 Member

    Joined:
    Mar 21, 2018
    Messages:
    9
    Likes Received:
    2
    Hi. i am having an issue with DevOps Project 3 Numbers - not able to unzip the ant file.

    ache-ant-1.10.1-bin.zip . Archive: apache-ant-1.10.1-bin.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of apache-ant-1.10.1-bin.zip or apache-ant-1.10.1-bin.zip.zip, and cannot find apache-ant-1.10.1-bin.zip.ZIP, period. student@lab:~/Project-Numbers

    Please advice on how to move forward
     
    #34
    The Novice likes this.
  35. _19940

    _19940 Member

    Joined:
    Jan 10, 2018
    Messages:
    11
    Likes Received:
    7
    Hi Team,

    Can you please let me know where can i find the code for Exercises 3 and 4 from lesson 8 , to complete the media solution project.

    Here are the files i am looking for:

    Photograph.sql
     Photograph.java
     Hibernate.cfg.xml
     PhotographDAO.java
     PhotographDAOImpl.java
     PhotographDAOTests.java

    Please let me know as this is blocking me from starting the project.

    Regards,
    Jigar Pota
     
    #35
    The Novice likes this.
  36. _19940

    _19940 Member

    Joined:
    Jan 10, 2018
    Messages:
    11
    Likes Received:
    7
    Hi Batch3 Mates,

    Here are the steps I copied from Manika's one of the replies on this forum to install Jenkins.

    She asked us to find out the steps from forum.

    Pasting here for everyone's ease.
    **************************************************************************************
    Please use the following steps to do standalone installation of Jenkins. Do your project and all Jenkins labs in this installation of Jenkins

    wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add -

    echo deb http://pkg.jenkins.io/debian-stable binary/ | sudo tee /etc/apt/sources.list.d/jenkins.list

    sudo apt-get update

    sudo apt-get install jenkins

    sudo systemctl start jenkins

    sudo systemctl status jenkins

    By default, Jenkins runs on port 8080, so we'll open that port

    To set up our installation, we'll visit Jenkins on its default port, 8080, using the server domain name or IP address: http://ip_address_or_domain_name:8080
    We should see "Unlock Jenkins" screen, which displays the location of the initial password

    In the terminal window, we'll use the cat command to display the password:

    sudo cat /var/lib/jenkins/secrets/initialAdminPassword

    We'll copy the 32-character alphanumeric password from the terminal and paste it into the "Administrator password" field, then click "Continue".

    We'll click the "Install suggested plugins" option, which will immediately begin the installation process

    When the installation is complete, we'll be prompted to set up the first administrative user.

    Thanks & Regards,
    Jigar Pota
     
    #36
    The Novice likes this.
  37. Ish

    Ish Member

    Joined:
    May 8, 2016
    Messages:
    12
    Likes Received:
    1
    =============================================
    Hi, As per the blogs it seems the file is corrupt.
    https://askubuntu.com/questions/54904/unzip-error-end-of-central-directory-signature-not-found.

    Another reason is that Apache-ant.1.10* version has been removed fro this path.

    Try the following url, it works - https://archive.apache.org/dist/ant/binaries/apache-ant-1.10.1-bin.zip
    Working for me.
     
    #37
  38. _29100

    _29100 New Member

    Joined:
    Apr 13, 2018
    Messages:
    1
    Likes Received:
    0
    I am unable to load vncserver, getting some file not found issue
    student@devops-rj-bucket-instance-14042018:~/devops-lesson-4/lab-4.1$ cat /home/student/.vnc/devops-rj-bucket-instance-14042018:1.log
    01/05/18 12:45:49 Xvnc version TightVNC-1.3.9
    01/05/18 12:45:49 Copyright (C) 2000-2007 TightVNC Group
    01/05/18 12:45:49 Copyright (C) 1999 AT&T Laboratories Cambridge
    01/05/18 12:45:49 All Rights Reserved.
    01/05/18 12:45:49 See http://www.tightvnc.com/ for information on TightVNC
    01/05/18 12:45:49 Desktop name 'X' (devops-rj-bucket-instance-14042018:1)
    01/05/18 12:45:49 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
    01/05/18 12:45:49 Listening for VNC connections on TCP port 5901
    xrdb: No such file or directory
    xrdb: can't open file '/home/student/.Xresources'
     
    #38
  39. _19940

    _19940 Member

    Joined:
    Jan 10, 2018
    Messages:
    11
    Likes Received:
    7
    Hi Mate,

    Try installing apache-ant-1.10.3-bin.zip as on the http site which is mentioed in the document there is not ant file as apache-ant-1.10.1-bin.zip.

    I installed 10.3 and it unzipped.

    Regards,
    Jigar
     
    #39
    _28975 and The Novice like this.
  40. _19940

    _19940 Member

    Joined:
    Jan 10, 2018
    Messages:
    11
    Likes Received:
    7
    Hi Batch Mates,

    Anyone have a good headaway in the project work? i started with Numbers one.

    Java not my forte so uphill for me till now. :(

    Regards,
    Jigar
     
    #40
    Ish and The Novice like this.
  41. The Novice

    The Novice Well-Known Member
    Alumni

    Joined:
    Feb 19, 2015
    Messages:
    353
    Likes Received:
    372
    If you are not log-in through the student username on the instance created then it will ask the credentials else not. Please check on this.


    PS: Please like / comment on the forum messages so that it is visible that you are engaged in the forum discussions. Thanks.
     
    #41
    Last edited: May 6, 2018
  42. The Novice

    The Novice Well-Known Member
    Alumni

    Joined:
    Feb 19, 2015
    Messages:
    353
    Likes Received:
    372
    Please confirm if this issue has been resolved now.


    PS: Please like / comment on the forum messages so that it is visible that you are engaged in the forum discussions. Thanks.
     
    #42
    Last edited: May 6, 2018
  43. The Novice

    The Novice Well-Known Member
    Alumni

    Joined:
    Feb 19, 2015
    Messages:
    353
    Likes Received:
    372
    Sateesh, you didn't called out this problem in our previous session as I suggested.

    If this issue is still open and not sorted out please raise it before the session starts so that can resolve during session itself.


    PS: Please like / comment on the forum messages so that it is visible that you are engaged in the forum discussions. Thanks.
     
    #43
  44. Ish

    Ish Member

    Joined:
    May 8, 2016
    Messages:
    12
    Likes Received:
    1
    Hi Jigar

    Same challenge here, let me know if you get any progress. :)
     
    #44
    The Novice likes this.
  45. The Novice

    The Novice Well-Known Member
    Alumni

    Joined:
    Feb 19, 2015
    Messages:
    353
    Likes Received:
    372
    Ish, just a small tweak will help. Try replacing the following commands then what it is written in the project document.

    It will work.

    PS: Please like / comment on the forum messages so that it is visible that you are engaged in the forum discussions. Thanks.
     
    #45
    _28975 likes this.
  46. _19940

    _19940 Member

    Joined:
    Jan 10, 2018
    Messages:
    11
    Likes Received:
    7
    Yes this is correct I was also able to move forward with above command.
     
    #46
    The Novice likes this.
  47. _19940

    _19940 Member

    Joined:
    Jan 10, 2018
    Messages:
    11
    Likes Received:
    7
    Hi Mates,

    Do share updates on progress, tips& tricks or any blocker or issue you resolved so that others can get guidance through it.

    I will try to install Jenkins tommorow. lets see.

    will keep you all posted.

    Regards,
    Jigar
     
    #47
  48. Ish

    Ish Member

    Joined:
    May 8, 2016
    Messages:
    12
    Likes Received:
    1
    Hi Novice.

    1. What is wrong in the link / version i gave ?. Why do i install .3 when i have .1 available in this link ?
    2. I was asking for help with Numbering project , as I do not know development.
     
    #48
  49. Ish

    Ish Member

    Joined:
    May 8, 2016
    Messages:
    12
    Likes Received:
    1
    Hi Jigar

    Did you completed the Project ??
     
    #49
  50. Gaurav Hamroll

    Joined:
    Feb 6, 2018
    Messages:
    5
    Likes Received:
    2
    DevOps Practitioner Project - Library

    The objective of this project is to produce a web application that implements the catalogue. The information required for each CD is: • Title • Artist(s) • Year of release • Number of tracks • Total playing time Each CD will also have a list of tracks containing the following information: • Title • Author(s) • Playing time

    Question: What technology are we expected to use for this project ? and how we can submit this project?
     
    #50
    The Novice likes this.

Share This Page