Skip to content

Instantly share code, notes, and snippets.

@nuthanc
nuthanc / README.md
Last active September 10, 2020 09:22
Danil's MAAS setup config
@nuthanc
nuthanc / steps.md
Created September 9, 2020 06:16
Venky automation steps #13066 #Joint #Automation

Instructions from Venky

Pod, Deployment, Service, Ingress, NAD, Namespace, DS, NetworkPolicy
    get, delete and create
    Default namespace
    Later with Isolated namespace
    Negative test case
    Verb as delete, create shouldn't happen
@nuthanc
nuthanc / 18906.txt
Last active September 8, 2020 05:40
CEM-18906 debug history #Ignatious #k8s deployment failing with Error "template error while templating string: no filter named 'extract_roles'"
### Within contrail-command container
ls
vi /var/tmp/contrail_cluster/2911da4c-ed1a-11ea-ac09-002590aaa945/instances.yml
exit
ll
cd /
ll
ll opt/
ll home/
@nuthanc
nuthanc / jenkins.html
Created September 3, 2020 05:41
Nuthan_contrail_command Config.html
<!DOCTYPE html>
<!-- saved from url=(0076)http://anamika.englab.juniper.net:8080/job/Nuthan_contrail_command/configure -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Nuthan_contrail_command Config [Jenkins]</title><link rel="stylesheet" type="text/css" href="./Nuthan_contrail_command Config [Jenkins]_files/style.css"><link rel="stylesheet" type="text/css" href="./Nuthan_contrail_command Config [Jenkins]_files/color.css"><link rel="shortcut icon" type="image/vnd.microsoft.icon" href="http://anamika.englab.juniper.net:8080/static/5eba508f/favicon.ico"><script>var isRunAsTest=false; var rootURL=""; var resURL="/static/5eba508f";</script><script src="./Nuthan_contrail_command Config [Jenkins]_files/prototype.js" type="text/javascript"></script><script src="./Nuthan_contrail_command Config [Jenkins]_files/behavior.js" type="text/javascript"></script><script src="./Nuthan_contrail_command Config [Jenkins]_files/bind.js" type="text/javascript"></script><script sr
@nuthanc
nuthanc / README.md
Last active September 2, 2020 14:07
1912 deploy, ansible and instances

1912 deploy, ansible and instances

@nuthanc
nuthanc / README.md
Last active November 6, 2020 10:22
k8s deployment failures

k8s deployment failures

  • start contrail kubemanager failure
@nuthanc
nuthanc / dns.md
Last active August 20, 2020 16:25
DNS in maas to avoid /etc/hosts #kanika

Suggestion from Kanika

There are 3 things that we need to do in MAAS UI > Settings > Network Services
1. I have turned off your network discovery
2. for NTP settings…I need to know your ntp server IP… for example in SVL we have 10.84.5.101 and also check mark the option “Use external NTP servers only”
3. for DNS settings, disable “Enable DNSSEC validation of upstream zones” and give the DNS server IP which I think you seem to have already added

What was done in my MAAS UI

@nuthanc
nuthanc / README.md
Created August 10, 2020 06:31
Adding new test cases or suite in TestRail

Adding new test cases in TestRail

  • Go to Test Suites and Cases header
  • Go to your particular Test Suite
  • Import or Add new Test case manually
    • While Importing you can Export to CSV in Excel App of MAC
  • After everything is done, go to Test Runs and Results header
  • Edit your particular Test Run and select the newly added Test Suite or Case
@nuthanc
nuthanc / bundle.yaml
Last active August 7, 2020 11:09
Aswani juju manual cloud history
series: "bionic"
machines:
# kubernetes pods
0:
series: "bionic"
constraints: mem=8G cores=2 root-disk=60G
# kubernetes master
@nuthanc
nuthanc / contrail_test_input.yaml
Created August 6, 2020 15:03
Juju k8s contrail_test_input of Aswani #k8s sanity #juju #aswani
deployment:
type:
contrail:
branch: master
registry: bng-artifactory.juniper.net/contrail-nightly
sku: queens
os: centos7
version: null
orchestrator: kubernetes
deployer: contrail-ansible-deployer