Skip to content

Instantly share code, notes, and snippets.

(check-openshift) [sebastien@ecudehe check-openshift]$ python check_poc_openshift.py
The db connection
Database(MongoClient(['osbmdbp02.leshop.local:27017', 'osbmdbp01:27017', 'osbmdbp03.leshop.local:27017']), 'openshift_b_prod')
The collection
Collection(Database(MongoClient(['osbmdbp02.leshop.local:27017', 'osbmdbp01:27017', 'osbmdbp03.leshop.local:27017']), 'openshift_b_prod'), 'districts')
The district
{'_id': ObjectId('557a9f7a2496b29694000001'),
'servers': [{'_id': ObjectId('557d92332496b226ae000001'),
'active': True,
'name': 'osbnodp01.osb.internal.leshop.ch',
#tribe config
tribe.b.cluster.name: b_logbam_leshop_elasticsearch
tribe.b.discovery.zen.ping.multicast.enabled: false
tribe.b.discovery.zen.ping.unicast.hosts: ["esblbmasterp01", "esblbmasterp02", "esblbmasterp03"]
tribe.kibana.cluster.name: leshop_kibana_data
tribe.kibana.discovery.zen.ping.multicast.enabled: false
tribe.kibana.discovery.zen.ping.unicast.hosts: ["mtblbkibdatap01", "mtalbkibdatap01"]
tribe.blocks.indices.write: ci-*,int-*,acc-*,prd-*
[2015-10-30 10:23:01,527][INFO ][tribe ] [Frank Drake] [kibana] adding index [.kibana_prod]
[2015-10-30 10:23:01,530][INFO ][cluster.service ] [Frank Drake] added {[Obliterator][PhuB6cqPQMe48lQvGyiA9Q][mtblbkibdatap01][inet[/10.180.203.166:9300]]{tribe.name=kibana, master=true},[Agony][vrmjD8TXSTiDL-yFpV8OjA][mtalbkibdatap01][inet[/10.180.202.18:9300]]{tribe.name=kibana, master=true},[Frank Drake/kibana][rRdTP8ZPQhecljCR74DTkQ][mtblbclientp01][inet[/10.180.203.156:9302]]{data=false, tribe.name=kibana, client=true},}, reason: cluster event from kibana, zen-disco-receive(from master [[Agony][vrmjD8TXSTiDL-yFpV8OjA][mtalbkibdatap01][inet[/10.180.202.18:9300]]{master=true}])
[2015-10-30 10:23:01,532][INFO ][node ] [Frank Drake/kibana] started
[2015-10-30 10:23:01,532][INFO ][node ] [Frank Drake] started
[2015-10-30 10:23:07,509][DEBUG][action.admin.indices.mapping.put] [Frank Drake] no known master node, scheduling a retry
[2015-10-30 10:23:37,51
curl 'http://mtblbkibdatap01:9200/.kibana_prod' --data-binary '{"settings":{"number_of_shards":1,"number_of_replicas":1}}' --compressed
curl 'http://mtblbkibdatap01:9200/.kibana_prod/_mapping/index-pattern' -X PUT --data-binary '{"index-pattern":{"properties":{"title":{"type":"string"},"timeFieldName":{"type":"string"},"intervalName":{"type":"string"},"customFormats":{"type":"string"},"fields":{"type":"string"}}}}' --compressed
curl 'http://mtblbkibdatap01:9200/.kibana_prod/_mapping/search' -X PUT --data-binary '{"search":{"properties":{"title":{"type":"string"},"description":{"type":"string"},"hits":{"type":"integer"},"columns":{"type":"string"},"sort":{"type":"string"},"version":{"type":"integer"},"kibanaSavedObjectMeta":{"properties":{"searchSourceJSON":{"type":"string"}}}}}}' --compressed
curl 'http://mtblbkibdatap01:9200/.kibana_prod/_mapping/visualization' -X PUT --data-binary '{"visualization":{"properties":{"title":{"type":"string"},"visState":{"type":"string"},"description":{"type":"string"},"save
%packages
##common stuff
@standard
@core
@hardware-support
@guest-agents
#core
kernel-devel
#Kickstart fedora 22 docker package
##
%packages
# Product Selection
##
-fedora-productimg-cloud
-fedora-productimg-workstation
fedora-productimg-server
06:14:00,759 DEBUG packaging: getting release version from tree at None (22)
06:14:00,759 DEBUG packaging: got a release version of 22
06:14:00,788 DEBUG packaging: Restarting payload thread
06:14:00,793 DEBUG packaging: Updating payload thread state: 0
06:14:00,803 DEBUG packaging: Updating payload thread state: 1
06:14:01,462 DEBUG packaging: Updating payload thread state: 2
06:14:01,463 DEBUG packaging: Updating payload thread state: 3
06:14:01,463 INFO packaging: configuring base repo
06:14:01,497 DEBUG packaging: getting release version from tree at http://b-rpm-fedora22.internal.leshop.ch/fedora/linux/releases/22/Server/x86_64/os/ (22)
06:14:01,497 DEBUG packaging: retrieving treeinfo from http://b-rpm-fedora22.internal.leshop.ch/fedora/linux/releases/22/Server/x86_64/os/ (proxy: ; sslverify: True)
  • 4 data nodes
    • 64GB vm
    • 30GB java
    • 36 cpu
    • 40 GB eth link
    • 1.5tb ssd
indices.memory.index_buffer_size: 50%
index.compound_format: false
Deutheros:dev braoru$ git clone git@github.com:braoru/test123.git
Cloning into 'test123'...
The authenticity of host 'github.com (192.30.252.130)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,192.30.252.130' (RSA) to the list of known hosts.
remote: Counting objects: 4, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 4 (delta 0), reused 0 (delta 0), pack-reused 0
Receiving objects: 100% (4/4), done.