DevOps | Abhinav | 9th March

Discussion in 'Web App and Programming' started by Ravi T, Mar 6, 2019.

  1. Abhinav_59

    Abhinav_59 Active Member

    Joined:
    Jul 5, 2016
    Messages:
    33
    Likes Received:
    19
  2. Abhinav_59

    Abhinav_59 Active Member

    Joined:
    Jul 5, 2016
    Messages:
    33
    Likes Received:
    19
    Assignment -2
    Refer to the attached .txt file .

    It contains playbook file(8 different Playbook examples) .You need to execute each of them and share results(Snapshots) in the forum.

    In case of errors share the steps tried out and error snapshot.

    Note:
    1. All execution needs to happen in Ubuntu
    2. There could be error in YAML syntax check before execution.
    3. There could be errors in some of the playbooks ,You need to troubleshoot and fix them
    Happy Learning !! :)

     

    Attached Files:

    #52
    Knox Kamusweke likes this.
  3. Giftson Jeyakumar

    Joined:
    Aug 4, 2018
    Messages:
    2
    Likes Received:
    0
    Do we need to create ansible slave nodes ourselves for these assignments? Any particular specs for it?
     
    #53
  4. rajeswaran.devarajan(2805202)

    rajeswaran.devarajan(2805202) Mr. Rajeswaran Devarajan
    Alumni

    Joined:
    Nov 25, 2014
    Messages:
    7
    Likes Received:
    2
  5. VISWANATH VENKATA YERRA

    Joined:
    Jun 5, 2018
    Messages:
    9
    Likes Received:
    1
    Hi,

    Nothing worked, so I forced the update.

    git push -f origin master
     
    #55
  6. _49553

    _49553 Member

    Joined:
    Nov 26, 2018
    Messages:
    4
    Likes Received:
    0
    friend, Can you share the URL where solution was provided to resolve the below error :
    docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
     
    #56
  7. Abhinav_59

    Abhinav_59 Active Member

    Joined:
    Jul 5, 2016
    Messages:
    33
    Likes Received:
    19
    Attached Docker Commands Reference !!
     

    Attached Files:

    #57
  8. Abhinav_59

    Abhinav_59 Active Member

    Joined:
    Jul 5, 2016
    Messages:
    33
    Likes Received:
    19
    Docker and Jenkins
    Docker and Jenkins.PNG
     
    #58
  9. Abhinav_59

    Abhinav_59 Active Member

    Joined:
    Jul 5, 2016
    Messages:
    33
    Likes Received:
    19
    Hi ...

    I found below link quite useful .This should help
    https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging

    If you face any specific issue then do share the error message

    Regards,
    Abhinav
     
    #59
    Knox Kamusweke likes this.
  10. Ganesh Narayan Chandore

    Joined:
    Mar 7, 2019
    Messages:
    4
    Likes Received:
    0
    Hi Abhinav,
    Please find attached GIT assignment document.

    Thanks,
    Ganesh_
     
    #60
  11. VISWANATH VENKATA YERRA

    Joined:
    Jun 5, 2018
    Messages:
    9
    Likes Received:
    1

    Hi,

    Create a POM.xml file in the git hub repository in which you want to create your maven project and paste the following code. And it will work..

    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.mycompany.app</groupId>
    <artifactId>my-app</artifactId>
    <packaging>jar</packaging>
    <version>1.0-SNAPSHOT</version>
    <name>my-app</name>
    <url>http://maven.apache.org</url>
    <dependencies>
    <dependency>
    <groupId>junit</groupId>
    <artifactId>junit</artifactId>
    <version>4.11</version>
    <scope>test</scope>
    </dependency>
    </dependencies>
    <build>
    <plugins>
    <plugin>
    <!-- Build an executable JAR -->
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-jar-plugin</artifactId>
    <version>3.0.2</version>
    <configuration>
    <archive>
    <manifest>
    <addClasspath>true</addClasspath>
    <classpathPrefix>lib/</classpathPrefix>
    <mainClass>com.mycompany.app.App</mainClass>
    </manifest>
    </archive>
    </configuration>
    </plugin>
    </plugins>
    </build>
    </project>
     
    #61
    Dharmendra Gour likes this.
  12. Ganesh Narayan Chandore

    Joined:
    Mar 7, 2019
    Messages:
    4
    Likes Received:
    0
    ===
    Thanks Abhinav,
    Issue has been resolved now, I am able to launch Jenkins Agents.

    Ganesh_
     
    #62
  13. _48301

    _48301 Member

    Joined:
    Nov 14, 2018
    Messages:
    5
    Likes Received:
    0
    Thanks Abhinav for the assignments. I could not fix the issue I faced for #8. I have uploaded the outputs I got.
     

    Attached Files:

    #63
  14. _48301

    _48301 Member

    Joined:
    Nov 14, 2018
    Messages:
    5
    Likes Received:
    0
    Hello Abhinav,
    Did you post an assignment for Docker? I did not see it in the forum.
    Thanks
     
    #64
  15. Trupti_001

    Trupti_001 Member
    Alumni

    Joined:
    Mar 18, 2019
    Messages:
    2
    Likes Received:
    0
    I am getting below error. Searching for resolution. If any one have the solution, please send.

    E: Malformed entry 60 in list file /etc/apt/sources.list (Component)
    E: The list of sources could not be read.
     
    #65
  16. rajeswaran.devarajan(2805202)

    rajeswaran.devarajan(2805202) Mr. Rajeswaran Devarajan
    Alumni

    Joined:
    Nov 25, 2014
    Messages:
    7
    Likes Received:
    2
     

    Attached Files:

    #66
    Last edited: Mar 29, 2019
  17. rajeswaran.devarajan(2805202)

    rajeswaran.devarajan(2805202) Mr. Rajeswaran Devarajan
    Alumni

    Joined:
    Nov 25, 2014
    Messages:
    7
    Likes Received:
    2
    git config --global alias.co checkout
    git config --global alias.ci commit
    git config --global alias.st status
    git config --global alias.br branch
     
    #67
  18. rajeswaran.devarajan(2805202)

    rajeswaran.devarajan(2805202) Mr. Rajeswaran Devarajan
    Alumni

    Joined:
    Nov 25, 2014
    Messages:
    7
    Likes Received:
    2
    git help
    git help -a
    git help -g
    git help <command> example git help branch
     

    Attached Files:

    #68
  19. Abhinav_59

    Abhinav_59 Active Member

    Joined:
    Jul 5, 2016
    Messages:
    33
    Likes Received:
    19
  20. Abhinav_59

    Abhinav_59 Active Member

    Joined:
    Jul 5, 2016
    Messages:
    33
    Likes Received:
    19
  21. Abhinav_59

    Abhinav_59 Active Member

    Joined:
    Jul 5, 2016
    Messages:
    33
    Likes Received:
    19
  22. _48301

    _48301 Member

    Joined:
    Nov 14, 2018
    Messages:
    5
    Likes Received:
    0
    Hello , I get this error message "Oops, the course doesn't have any labs" for my DevOps practitioner course. Could you help me contact support to fix this issue.
    Thanks
    Vigneshwar
     
    #72
  23. Ganesh Narayan Chandore

    Joined:
    Mar 7, 2019
    Messages:
    4
    Likes Received:
    0
    Hi Abhinav,
    Please find an attached assignments doc.
    Thanks,
    Ganesh
     
    #73
  24. _48301

    _48301 Member

    Joined:
    Nov 14, 2018
    Messages:
    5
    Likes Received:
    0
    #74
  25. _48301

    _48301 Member

    Joined:
    Nov 14, 2018
    Messages:
    5
    Likes Received:
    0
    Hello Abhinav,
    Attached are the steps and and output of assignments 1-4 given in class. In assignment 5 I could clone from the master branch in my repository. But I got stuck in how to check in the cloned files into the new branch. Because git status reported that there are no new files to commit inthe new branch.
     

    Attached Files:

    #75
  26. Knox Kamusweke

    Joined:
    Feb 28, 2019
    Messages:
    2
    Likes Received:
    0

    Hello Abhinav,
    Please help me with "DevOps Practitioner Training" course admin. I am not able to access the lab as iam getting this message : "You have exceeded the access limit for this lab". I want to finish and submit my project in order to unlock my certificate!!
     
    #76
  27. sairohith Vatturi

    Customer

    Joined:
    Mar 5, 2019
    Messages:
    6
    Likes Received:
    0
    hi abhinav,

    i am unable to complete the project 1 need help as only 2 days left to complete it.

    please respond
     
    #77
  28. Kartikeya Sinha_1

    Joined:
    Mar 28, 2019
    Messages:
    12
    Likes Received:
    1
    Hi Vatturi,

    Please use the below steps to complete the "Dockerizing Jenkins Pipeline " project:
    Installation:
    1)Jenkins
    2)Docker

    STEPS:
    1)You should have code base on git, use the below link:
    https://github.com/SimplilearnDevOpsOfficial/DockerizeJenkins.git
    2)Pull it in Jenkins
    3)Use a Dockerfile to build the application
    4)Build using jenkins (Hint:pipeline script)
    5)Push to dockerhub
    6)Deploy as container

    We would also share the project mentoring session recording, that would help you to understand the deliverable and submit the project.

    Regards,
    Kartikeya Sinha
     
    #78
  29. sairohith Vatturi

    Customer

    Joined:
    Mar 5, 2019
    Messages:
    6
    Likes Received:
    0
     
    #79
  30. sairohith Vatturi

    Customer

    Joined:
    Mar 5, 2019
    Messages:
    6
    Likes Received:
    0
  31. sairohith Vatturi

    Customer

    Joined:
    Mar 5, 2019
    Messages:
    6
    Likes Received:
    0
    I am not able to get
    5)Push to dockerhub
    6)Deploy as container

    Code is successful please help
     
    #81
  32. sairohith Vatturi

    Customer

    Joined:
    Mar 5, 2019
    Messages:
    6
    Likes Received:
    0
    Hi

    i also request please share me the Document which has shared by srikanth sir class
     
    #82

Share This Page