DevOps | 11th July 2020 Batch | Ajay

Discussion in 'Web App and Programming' started by Ashik Thomson, Jul 11, 2020.

  1. Ashik Thomson

    Ashik Thomson Active Member
    Simplilearn Support Alumni

    Joined:
    Nov 15, 2019
    Messages:
    17
    Likes Received:
    7
    Hi learner,

    Official community thread for the DevOps course batch delivered by trainer Ajay from 11th July.
     
    #1
    MostafaGoda likes this.
  2. Ajay Prajapati ajay.cs

    Ajay Prajapati ajay.cs Active Member
    Alumni

    Joined:
    May 15, 2015
    Messages:
    31
    Likes Received:
    8
    Git Commands
     

    Attached Files:

    #2
    Rafiq Zaman and MostafaGoda like this.
  3. Rafiq Zaman

    Rafiq Zaman New Member

    Joined:
    Jun 22, 2020
    Messages:
    1
    Likes Received:
    0
    Hi Ajay, Is there any tool that provides the tracking of complete DevOps cycle?
     
    #3
    Last edited: Jul 14, 2020
  4. Toyin Ahmed OGUNMEFUN

    Joined:
    Jun 24, 2020
    Messages:
    3
    Likes Received:
    0
    Good day Ajay, Which version of Linux are we using for today's demo?

    Regards,

    Toyin
     
    #4
  5. Rahul Garg_7

    Rahul Garg_7 Member

    Joined:
    Jul 8, 2020
    Messages:
    3
    Likes Received:
    0
    Hi Ajay,

    Can you please post the document related to installation of linux to running jenkins on oracle virtual box here. Would appreciate.

    Also, please post some jenkin documents from which we can explore new options related to devops.

    Thanks,
    Rahul Garg
     
    #5
  6. Pawan Basu

    Pawan Basu New Member

    Joined:
    Jul 12, 2020
    Messages:
    1
    Likes Received:
    0
    Hi I am getting below log while executing the job.

    Started by user admin
    Running as SYSTEM
    Building in workspace C:\WINDOWS\system32\config\systemprofile\.jenkins\workspace\MyFirstProject
    using credential 92288d22-f347-47c7-8c0f-43ec95c70005
    Wiping out workspace first.
    Cloning the remote Git repository
    Cloning repository https://github.com/spring-projects/spring-petclinic.git
    > C:\Program Files\Git\bin\git.exe init C:\WINDOWS\system32\config\systemprofile\.jenkins\workspace\MyFirstProject # timeout=10
    Fetching upstream changes from https://github.com/spring-projects/spring-petclinic.git
    > C:\Program Files\Git\bin\git.exe --version # timeout=10
    using GIT_ASKPASS to set credentials
    > C:\Program Files\Git\bin\git.exe fetch --tags --force --progress -- https://github.com/spring-projects/spring-petclinic.git +refs/heads/*:refs/remotes/origin/* # timeout=10

    > C:\Program Files\Git\bin\git.exe config remote.origin.url https://github.com/spring-projects/spring-petclinic.git # timeout=10
    > C:\Program Files\Git\bin\git.exe config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
    > C:\Program Files\Git\bin\git.exe config remote.origin.url https://github.com/spring-projects/spring-petclinic.git # timeout=10
    Fetching upstream changes from https://github.com/spring-projects/spring-petclinic.git
    using GIT_ASKPASS to set credentials
    > C:\Program Files\Git\bin\git.exe fetch --tags --force --progress -- https://github.com/spring-projects/spring-petclinic.git +refs/heads/*:refs/remotes/origin/* # timeout=10

    > C:\Program Files\Git\bin\git.exe rev-parse "refs/remotes/origin/main^{commit}" # timeout=10
    > C:\Program Files\Git\bin\git.exe rev-parse "refs/remotes/origin/origin/main^{commit}" # timeout=10
    Checking out Revision 02cc84223b296e7b401cdba74905b2e18a87e51e (refs/remotes/origin/main)
    > C:\Program Files\Git\bin\git.exe config core.sparsecheckout # timeout=10
    > C:\Program Files\Git\bin\git.exe checkout -f 02cc84223b296e7b401cdba74905b2e18a87e51e # timeout=10

    Commit message: "Polish"
    > C:\Program Files\Git\bin\git.exe rev-list --no-walk 02cc84223b296e7b401cdba74905b2e18a87e51e # timeout=10
    [MyFirstProject] $ sh -xe "C:\Program Files\Apache Software Foundation\Tomcat 9.0\temp\jenkins7349161949982953516.sh"
    The system cannot find the file specified
    FATAL: command execution failed
    java.io.IOException: CreateProcess error=2, The system cannot find the file specified
    at java.lang.ProcessImpl.create(Native Method)
    at java.lang.ProcessImpl.<init>(Unknown Source)
    at java.lang.ProcessImpl.start(Unknown Source)
    Caused: java.io.IOException: Cannot run program "sh" (in directory "C:\WINDOWS\system32\config\systemprofile\.jenkins\workspace\MyFirstProject"): CreateProcess error=2, The system cannot find the file specified
    at java.lang.ProcessBuilder.start(Unknown Source)
    at hudson.Proc$LocalProc.<init>(Proc.java:252)
    at hudson.Proc$LocalProc.<init>(Proc.java:221)
    at hudson.Launcher$LocalLauncher.launch(Launcher.java:936)
    at hudson.Launcher$ProcStarter.start(Launcher.java:454)
    at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:109)
    at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66)
    at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
    at hudson.model.Build$BuildExecution.build(Build.java:206)
    at hudson.model.Build$BuildExecution.doRun(Build.java:163)
    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
    at hudson.model.Run.execute(Run.java:1880)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    at hudson.model.ResourceController.execute(ResourceController.java:97)
    at hudson.model.Executor.run(Executor.java:428)
    Build step 'Execute shell' marked build as failure

    Finished: FAILURE


    Please help
     
    #6
  7. Lopamudra Panda

    Joined:
    Jun 26, 2020
    Messages:
    3
    Likes Received:
    0
    Hi Ajay,

    It would be great if you can share the document of installation of vagrant,oracle virtual box setup and installation of linux to running jenkins
     
    #7
  8. Lopamudra Panda

    Joined:
    Jun 26, 2020
    Messages:
    3
    Likes Received:
    0
    Hi Rahul,
    Just would like to check did you get any document related to installation of linux to running jenkins on oracle virtual box. I could not see here. Please let me know
     
    #8
  9. Rahul Garg_7

    Rahul Garg_7 Member

    Joined:
    Jul 8, 2020
    Messages:
    3
    Likes Received:
    0
    Hi,

    I did check but haven't received one till now.
     
    #9
  10. Ajay Prajapati ajay.cs

    Ajay Prajapati ajay.cs Active Member
    Alumni

    Joined:
    May 15, 2015
    Messages:
    31
    Likes Received:
    8
    Please find enclosed steps to setup vagrant and oracle
     

    Attached Files:

    #10
  11. Ajay Prajapati ajay.cs

    Ajay Prajapati ajay.cs Active Member
    Alumni

    Joined:
    May 15, 2015
    Messages:
    31
    Likes Received:
    8
    Automation testing
     

    Attached Files:

    #11
  12. Toyin Ahmed OGUNMEFUN

    Joined:
    Jun 24, 2020
    Messages:
    3
    Likes Received:
    0
    Ajay, the recording for July 19 has no audio. Please can you help check and re-upload one with audio
     
    #12
  13. Balaji M

    Balaji M New Member
    Alumni

    Joined:
    Jun 26, 2016
    Messages:
    1
    Likes Received:
    0
    I am using a .rar file for deployment. Using jenkins the built was successful. But, which plugin can be used for deployment using Tomcat server. Also please suggest any configuration changes, if any for the same requirement in addition to plugin installation.

    I tried using WebLogic Deployment Plugin.
     
    #13
  14. Lopamudra Panda

    Joined:
    Jun 26, 2020
    Messages:
    3
    Likes Received:
    0
    Ajay: Is it possible to upload Ansible installation document
     
    #14
  15. Ajay Prajapati ajay.cs

    Ajay Prajapati ajay.cs Active Member
    Alumni

    Joined:
    May 15, 2015
    Messages:
    31
    Likes Received:
    8
    Puppet documentation
     

    Attached Files:

    #15
  16. Ajay Prajapati ajay.cs

    Ajay Prajapati ajay.cs Active Member
    Alumni

    Joined:
    May 15, 2015
    Messages:
    31
    Likes Received:
    8
    Anisible Deployment using Roles
     

    Attached Files:

    #16
  17. Ajay Prajapati ajay.cs

    Ajay Prajapati ajay.cs Active Member
    Alumni

    Joined:
    May 15, 2015
    Messages:
    31
    Likes Received:
    8
    Ansible playbooks
     

    Attached Files:

    #17
  18. Ajay Prajapati ajay.cs

    Ajay Prajapati ajay.cs Active Member
    Alumni

    Joined:
    May 15, 2015
    Messages:
    31
    Likes Received:
    8
    Ansible Vault
     

    Attached Files:

    #18
  19. Toyin Ahmed OGUNMEFUN

    Joined:
    Jun 24, 2020
    Messages:
    3
    Likes Received:
    0
    Good day Ajay ,

    I will recommend if we can have the projects for Windows and Linux environment as training participants might only be working in the Wintel environment.

    regards

    Toyin
     
    #19
  20. Ajay Prajapati ajay.cs

    Ajay Prajapati ajay.cs Active Member
    Alumni

    Joined:
    May 15, 2015
    Messages:
    31
    Likes Received:
    8
    jenkins key issue while installation
     

    Attached Files:

    #20
  21. Rahul Garg_7

    Rahul Garg_7 Member

    Joined:
    Jul 8, 2020
    Messages:
    3
    Likes Received:
    0
    Hi Ajay,

    I have installed ansible on centos and later ran playbook succesfully. Now the issue is while running it again its throwing below error and i tried to restart the system, clear cache & reinstalled the ansible as well but no luck. Please let me know how can we resolve this issue.

    Traceback (most recent call last):
    File "/usr/bin/ansible", line 62, in <module>
    import ansible.constants as C
    File "/usr/lib/python2.7/site-packages/ansible/constants.py", line 12, in <module>
    from jinja2 import Template
    File "/usr/lib/python2.7/site-packages/jinja2/__init__.py", line 33, in <module>
    from jinja2.environment import Environment, Template

    Thanks & Regards,
    Rahul Garg
     
    #21

Share This Page