Skip to content

Instantly share code, notes, and snippets.

View psturc's full-sized avatar
🎸

Pavel Sturc psturc

🎸
  • Red Hat
  • Brno, Czech Republic
  • 08:29 (UTC +02:00)
View GitHub Profile
@psturc
psturc / asb.log
Created April 20, 2018 10:47
ASB cannot be deployed
Using config file mounted to /etc/ansible-service-broker/config.yaml
============================================================
== Starting Ansible Service Broker... ==
============================================================
[2018-04-20T10:44:47.951Z] [NOTICE] - Initializing clients...
[2018-04-20T10:44:47.951Z] [DEBUG] - Trying to connect to etcd
[2018-04-20T10:44:47.952Z] [INFO] - == ETCD CX ==
[2018-04-20T10:44:47.952Z] [INFO] - EtcdHost: asb-etcd.ansible-service-broker.svc
[2018-04-20T10:44:47.952Z] [INFO] - EtcdPort: 2379
[2018-04-20T10:44:47.952Z] [INFO] - Endpoints: [https://asb-etcd.ansible-service-broker.svc:2379 ]
@psturc
psturc / mongo.log
Created May 2, 2018 13:34
api-server-mongo-pod log
=> sourcing 10-check-env-vars.sh ...
=> sourcing 20-setup-wiredtiger-cache.sh ...
=> [Wed May 02 13:33:55] wiredTiger cacheSizeGB set to 1
=> sourcing 30-set-config-file.sh ...
=> sourcing 35-setup-default-datadir.sh ...
=> sourcing 40-setup-keyfile.sh ...
=> Waiting for MongoDB daemon up
2018-05-02T13:33:55.872+0000 I CONTROL [initandlisten] MongoDB starting : pid=23 port=27017 dbpath=/var/lib/mongodb/data 64-bit host=mongodb-1-bn9rl
2018-05-02T13:33:55.872+0000 I CONTROL [initandlisten] db version v3.2.10
2018-05-02T13:33:55.872+0000 I CONTROL [initandlisten] git version: 79d9b3ab5ce20f51c272b4411202710a082d0317
@psturc
psturc / apb-minishift.log
Created May 9, 2018 13:40
APB error when using Minishift (3.9.0) & origin-ansible-service-broker:sprint147.2
λ ~/ oc projects
You have access to the following projects and can switch between them with 'oc project <projectname>':
ansible-service-broker
default
kube-public
kube-service-catalog
kube-system
* myproject - My Project
openshift
@psturc
psturc / ups.log
Created May 10, 2018 13:36
ups, PR 1002
13:31:22,334 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 71) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./: java.lang.RuntimeException: RESTEASY003190: Could not find constructor for class: org.jboss.aerogear.unifiedpush.rest.registry.installations.ExportEndpoint
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:81)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.
@psturc
psturc / bug-ups-api-delete.log
Created May 10, 2018 14:40
Bug: Deletion of variant using id of non-existing app works
✅ Should get all variants of the specific app
λ ~/ curl -s http://localhost:18081/rest/applications/cdcd7b5d-9a3d-4a7c-93bf-c04df04e7316
{"id":"c1a79257-dfb7-431d-9486-476201cd0992","name":"testapp","description":null,"pushApplicationID":"cdcd7b5d-9a3d-4a7c-93bf-c04df04e7316","masterSecret":"edc5d4f4-feff-4d61-bb67-79a05575a403","developer":"admin","variants":[{"id":"c95d2e29-7432-41e9-9807-bc65e1f61adb","name":"android-variant","description":null,"variantID":"2cc9de5f-62f6-4f04-bdb7-3044064f4100","secret":"7d6935bc-18b9-4025-b873-11eecc0d18e9","developer":"admin","googleKey":"asdf","projectNumber":"ios-variant","type":"android"},{"id":"dc54f4af-229b-4c0b-9e99-79f9712bcb3c","name":"ios-variant","description":null,"variantID":"26da6dd3-6b64-4b4b-8e17-0cffb36e7392","secret":"318ae357-0b8b-4f7e-aeaa-994075123f31","developer":"admin","production":false,"type":"ios"}]}%
✅ Sho
@psturc
psturc / client-config.json
Last active May 15, 2018 12:40
Keycloak name & type values missing
{
"version": 1,
"clusterName": "https://192.168.37.1:8443",
"namespace": "myproject",
"clientId": "myapp-android",
"services": [
{
"id": "keycloak-myapp-android-public",
"name": "",
"type": "",
~/work/aerogear/aerogear-js-sdk/ master npm run build
> AeroGearServicesWeb@1.0.0 build /Users/psturc/work/aerogear/aerogear-js-sdk
> lerna run build
lerna info version 2.11.0
> @aerogear/core@0.3.0 build /Users/psturc/work/aerogear/aerogear-js-sdk/packages/core
> tsc
@psturc
psturc / mobile-core-install.log
Created May 29, 2018 08:38
Installation of OC client with Mobile Core installer does not work
~/work/aerogear/mobile-core/ pr/88 ./installer/install.sh
__ __ ____ ____
| \/ |/ ___| _ \
| |\/| | | | |_) |
| | | | |___| __/
|_| |_|\____|_|
Checking Docker exists
✓ Docker check passed.
@psturc
psturc / ups-provision.log
Created May 29, 2018 10:09
UPS provision fails
TASK [provision-unifiedpush-apb : Wait for all UPS containers to become ready] ***
changed: [localhost]
TASK [provision-unifiedpush-apb : Create myproject PushApplication on service host 172.30.123.172] ***
FAILED - RETRYING: Create myproject PushApplication on service host 172.30.123.172 (5 retries left).
FAILED - RETRYING: Create myproject PushApplication on service host 172.30.123.172 (4 retries left).
FAILED - RETRYING: Create myproject PushApplication on service host 172.30.123.172 (3 retries left).
FAILED - RETRYING: Create myproject PushApplication on service host 172.30.123.172 (2 retries left).
FAILED - RETRYING: Create myproject PushApplication on service host 172.30.123.172 (1 retries left).
fatal: [localhost]: FAILED! => {"attempts": 5, "changed": false, "connection": "close", "content": "<html><head><title>Error</title></head><body>404 - Not Found</body></html>", "content_length": "74", "content_type": "text/html", "date": "Tue, 29 May 2018 10:06:23 GMT", "msg": "Status code was 404 and not [201
@psturc
psturc / cordova-ios-ups.json
Last active June 19, 2018 13:49
cordova config ups
{
"version": 1,
"clusterName": "https://192.168.37.1:8443",
"namespace": "myproject",
"clientId": "myapp-cordova",
"services": [
{
"id": "ups-secret-myapp-cordova-ledlc",
"name": "ups",
"type": "push",