This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| soren@gcp1-testjenkins-puppet-rjil-gate-202:~$ sudo PYTHONPATH=/usr/lib/python2.7/dist-packages/contrail_vrouter_api/gen_py/instance_service /usr/sbin/contrail-provision-vgw-interface --interface vgw1 --subnets 100.1.0.0/24 --routes 0.0.0.0/0 --vrf default-domain:services:public:public --oper create | |
| Creating virtual-gateway ... | |
| /usr/bin/vif --create vgw1 --mac 00:01:00:5e:00:00 | |
| ifconfig vgw1 up | |
| route add -net 100.1.0.0/24 dev vgw1 | |
| Done creating virtual-gateway... | |
| soren@gcp1-testjenkins-puppet-rjil-gate-202:~$ sudo vif --list | |
| vif0/0 OS: eth0 | |
| Type:Physical HWaddr:fa:16:3e:70:f9:f2 IPaddr:0 | |
| Vrf:0 Flags:TcL3 MTU:1514 Ref:13 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vif0/0 OS: eth0 | |
| Type:Physical HWaddr:fa:16:3e:70:f9:f2 IPaddr:0 | |
| Vrf:0 Flags:TcL3 MTU:1514 Ref:13 | |
| RX packets:196570 bytes:28779708 errors:0 | |
| TX packets:212052 bytes:43200261 errors:0 | |
| vif0/1 OS: vhost0 | |
| Type:Host HWaddr:fa:16:3e:70:f9:f2 IPaddr:0 | |
| Vrf:0 Flags:L3 MTU:1514 Ref:3 | |
| RX packets:211697 bytes:43184991 errors:0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| eth0 Link encap:Ethernet HWaddr fa:16:3e:70:f9:f2 | |
| inet6 addr: fe80::f816:3eff:fe70:f9f2/64 Scope:Link | |
| UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
| RX packets:348746 errors:0 dropped:0 overruns:0 frame:0 | |
| TX packets:276884 errors:0 dropped:0 overruns:0 carrier:0 | |
| collisions:0 txqueuelen:1000 | |
| RX bytes:316631464 (316.6 MB) TX bytes:47887516 (47.8 MB) | |
| lo Link encap:Local Loopback | |
| inet addr:127.0.0.1 Mask:255.0.0.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Puppet::Type.type(:contrail_vgw).provide( | |
| :provisioner | |
| ) do | |
| # commands :provision_vgw => setCommand | |
| # commands :provision_vgw => 'export PYTHONPATH=/usr/lib/python2.7/dist-packages/contrail_vrouter_api/gen_py/instance_service;/usr/sbin/contrail-provision-vgw-interface' | |
| # commands :provision_vgw => '/usr/sbin/contrail-provision-vgw-interface' | |
| # Stolen from Keystone provider | |
| # the path to withenv changes between versions of puppet, so redefining this function here, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash -xe | |
| export env={env} | |
| chmod +x ./build_scripts/deploy.sh | |
| export mapping=/var/lib/jenkins/cloud.{env}.map.yaml | |
| BUILD_NUMBER=$deploy_id ./build_scripts/deploy.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| root@ct1-staging:~# bash -x /usr/lib/jiocloud/tests//ifmap.sh | |
| + '[' 0 -gt 0 ']' | |
| + /usr/bin/ifmap-view localhost 8443 reader reader | |
| + grep 'project = default-project' | |
| + rv=1 | |
| + '[' 1 -eq 0 ']' | |
| + echo 'CRITICAL: Ifmap is down' | |
| CRITICAL: Ifmap is down | |
| + exit 2 | |
| root@ct1-staging:~# /usr/bin/ifmap-view localhost 8443 reader reader |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| from __future__ import print_function | |
| import argparse | |
| import hpilo | |
| from ironicclient import client | |
| import os | |
| import sys | |
| def get_ilo_connection(hostname, username, password): | |
| return hpilo.Ilo(hostname, username, password) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GLOBAL: | |
| SIZE AVAIL RAW USED %RAW USED | |
| 60940G 60938G 2841M 0 | |
| POOLS: | |
| NAME ID USED %USED MAX AVAIL OBJECTS | |
| data 0 0 0 20309G 0 | |
| metadata 1 0 0 20309G 0 | |
| rbd 2 0 0 20309G 0 | |
| volumes 3 0 0 20309G 0 | |
| backups 4 0 0 20309G 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Opening to: ubuntu@stmonleader1 sudo ceph df | |
| df session closed | |
| ceph session closed | |
| stmonleader1 session closed | |
| sudo session closed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| architecture => amd64 | |
| augeasversion => 1.2.0 | |
| bios_release_date => 09/22/2013 | |
| bios_vendor => HP | |
| bios_version => P70 | |
| blockdevice_sda_model => LOGICAL VOLUME | |
| blockdevice_sda_size => 1000171331584 | |
| blockdevice_sda_vendor => HP | |
| blockdevice_sdb_model => LOGICAL VOLUME | |
| blockdevice_sdb_size => 1000171331584 |