Skip to content

Instantly share code, notes, and snippets.

View Rohithzr's full-sized avatar
🏠
Working from home

Rohit Hazra Rohithzr

🏠
Working from home
View GitHub Profile
#! /bin/bash
# File to replace
CONFIG_FILE="/etc/containerd/config.toml"
# Ensure MIRROR_EP is set
if [ -z "$MIRROR_EP" ]; then
echo "MIRROR_EP is not set. Exiting."
exit 1
fi
-- Subject: Unit dremio.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit dremio.service has finished shutting down.
Dec 21 18:10:32 ip-173-16-51-224.us-east-2.compute.internal systemd[1]: Started Dremio Daemon Server.
-- Subject: Unit dremio.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
<samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" ID="_7daeed5d448c454a61cf" Version="2.0" IssueInstant="2020-02-21T19:35:18.607Z" Destination="https://manage.auth0.com/tester/samlp">
<saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">urn:tenant.auth0.com</saml:Issuer>
<samlp:Status>
<samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/>
</samlp:Status>
<saml:Assertion xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" Version="2.0" ID="_jHWZRBU4zpCsgQhIfssMrcHSDrzpcxy8" IssueInstant="2020-02-21T19:35:18.603Z">
<saml:Issuer>urn:tenant.auth0.com</saml:Issuer>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
{
"_id" : ObjectId("5a61a868454d53e2753967ed"),
"invoiceId" : "171112",
"__v" : 0,
"ship_date" : ISODate("2017-11-30T00:00:00.000Z"),
"name" : "Name",
"sections" : [
{
"servicePeriod" : {
"startDate" : ISODate("2017-11-01T00:00:00.000Z"),
-- Logs begin at Tue 2019-07-16 14:56:00 GMT, end at Fri 2019-08-09 06:47:19 GMT. --
Aug 09 06:47:16 ks-blush.labroots.com systemd[1]: dcos-rexray.service: Failed with result 'exit-code'.
Aug 09 06:47:16 ks-blush.labroots.com systemd[1]: dcos-rexray.service: Main process exited, code=exited, status=1/FAILURE
Aug 09 06:47:16 ks-blush.labroots.com rexray[24821]: error: service startup failed: agent: mod init failed: error initializing instance ID cache
Aug 09 06:47:16 ks-blush.labroots.com rexray[24821]: time="2019-08-09T06:47:16Z" level=info msg="all servers closed"
Aug 09 06:47:16 ks-blush.labroots.com rexray[24821]: time="2019-08-09T06:47:16Z" level=info msg="closed server error channel" server=rain-hornet-sy time=1565333236290
Aug 09 06:47:16 ks-blush.labroots.com rexray[24821]: time="2019-08-09T06:47:16Z" level=info msg="shutting down endpoint" host="unix:///var/run/rexray/720793672.sock" server=rain-hornet-sy time=1565333236289 tls=false
Aug 09 06:47:16 ks-blush.labroots.com rexray[24821]: time="2019-08-0
@Rohithzr
Rohithzr / log-with-istio
Created July 26, 2019 16:13
log-with-istio
kubectl version
Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.2", GitCommit:"66049e3b21efe110454d67df4fa62b08ea79a19b", GitTreeState:"clean", BuildDate:"2019-05-16T18:55:03Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.3", GitCommit:"5e53fd6bc17c0dec8434817e69b04a25d8ae0ff0", GitTreeState:"clean", BuildDate:"2019-06-06T01:36:19Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}
~/work/keystone/data-platform/platform-architecture/kubeflow   master ●  kubectl get sc
NAME PROVISIONER AGE
airflow-01 example.com/aws-efs 39d
ebs-gp2 (default) ebs.csi.aws.com 3d
keystonehub example.com/aws-efs 3d
kubeflow example.com/aws-efs 3d20h
~/work/keystone/data-platform/platform-architecture/kubeflow   master ●  kubectl get nodes
...
module "dcos" {
source = "dcos-terraform/dcos/aws"
version = "~> 0.2.0"
dcos_instance_os = "centos_7.5"
cluster_name = "${var.cluster_name}"
...
#other config of the module
(AT BEGINNING OF FILE)
waiting 5 seconds for dns
calculated initial discovery members: 9.0.21.130:5000
Starting Neo4j.
2019-04-25 19:23:05.767+0000 INFO No SSL certificate found, generating a self-signed certificate..
2019-04-25 19:23:06.494+0000 INFO Starting...
2019-04-25 19:23:07.379+0000 INFO Bolt enabled on 0.0.0.0:7687.
2019-04-25 19:23:07.399+0000 INFO Initiating metrics...
2019-04-25 19:23:39.930+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@56290dd0' was successfully initialized, but failed to start. Please see attached cause exception. Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@56290dd0' was successfully initialized, but failed to start. Please see attached cause exception.
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@56290dd0' was successfully initialized, but failed to start. Please see attached ca
@Rohithzr
Rohithzr / txt
Created April 3, 2019 12:18
temp-email
rohithzr@live.com
vishalvr@2595@gmail.com
apiVersion: "v1"
kind: "Service"
metadata:
labels:
run: k8s-api-proxy
name: k8s-api-proxy
namespace: default
spec:
ports:
- port: 8118