Skip to content

Instantly share code, notes, and snippets.

💩
Focusing

magick93

💩
Focusing
Block or report user

Report or block magick93

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am magick93 on github.
  • I am magick93 (https://keybase.io/magick93) on keybase.
  • I have a public key ASC6lz4yIkL55VRZPNz32r2_t-ZN7qe4CXFl95qz-JVN-Ao

To claim this, I am signing this object:

@magick93
magick93 / Approve node certificates when bootstrapping
Created Mar 22, 2019
Unable to install okd 3.11 due to error with Approve node certificates when bootstrapping
View Approve node certificates when bootstrapping
Using module file /home/user/git/sourcetopia/openshift-install/openshift/ansible/roles/lib_openshift/library/oc_csr_approve.py
<k8s-ctl01.dev.mydomain.com> ESTABLISH SSH CONNECTION FOR USER: deploy
<k8s-ctl01.dev.mydomain.com> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
<k8s-ctl01.dev.mydomain.com> SSH: ansible_password/ansible_ssh_pass not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
<k8s-ctl01.dev.mydomain.com> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=deploy)
<k8s-ctl01.dev.mydomain.com> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<k8s-ctl01.dev.mydomain.com> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/home/user/.ansible/cp/2ea0bd867d)
<k8s-ctl01.dev.mydomain.com> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=g
View gist:86fc28b8baa5994a98637832d22d460c
[OSEv3:children]
masters
etcd
nodes
[masters]
mydomain.com openshift_ip=xxx.xxx.xxx.xxx openshift_schedulable=true
#openshift_node_groups=[{'name': 'node-config-master', 'labels': ['node-role.kubernetes.io/master=true']}, {'name': 'node-config-infra', 'labels': ['node-role.kubernetes.io/infra=true']}, {'name': 'node-config-compute', 'labels': ['node-role.kubernetes.io/compute=false']}]
View okd-3.11-inventory
[OSEv3:children]
masters
nodes
etcd
[masters]
xxx.xxx.xxx.xxx openshift_ip=xxx.xxx.xxx.xxx openshift_schedulable=true
[etcd]
xxx.xxx.xxx.xxx openshift_ip=xxx.xxx.xxx.xxx
@magick93
magick93 / CFX error
Created May 13, 2018
Trying to deploy in karaf
View CFX error
ERROR org.apache.aries.blueprint.container.BlueprintContainerImpl - Unable to start blueprint container for bundle section6.assessment.karaf2-cxf-rest/2.0.0.SNAPSHOT
org.osgi.service.blueprint.container.ComponentDefinitionException: Error setting property: PropertyDescriptor <name: serviceBeans, getter: null, setter: [class org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setServiceBeans(interface java.util.List)]
at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:963)
at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:929)
at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:910)
at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:844)
at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:811)
at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.aries.blueprint.di.
@magick93
magick93 / device-information.yml
Created May 13, 2018
OpenShift template for Device Information
View device-information.yml
apiVersion: v1
kind: Template
metadata:
name: ${PROJECT_NAME}
objects:
- apiVersion: v1
kind: Project
metadata:
annotations:
openshift.io/description: ${PROJECT_DESCRIPTION}
@magick93
magick93 / remove swagger
Created May 13, 2018
Trying to solve previous CXF OSGi bug by removing dependencies, starting with swagger
View remove swagger
java.lang.IllegalArgumentException: Alias [/cxf] was never registered
at org.ops4j.pax.web.service.internal.HttpServiceStarted.unregister(HttpServiceStarted.java:278)[72:org.ops4j.pax.web.pax-web-runtime:4.3.0]
at org.ops4j.pax.web.service.internal.HttpServiceProxy.unregister(HttpServiceProxy.java:77)[72:org.ops4j.pax.web.pax-web-runtime:4.3.0]
at org.apache.cxf.transport.http.osgi.ServletExporter.updated(ServletExporter.java:54)[104:org.apache.cxf.cxf-rt-transports-http:3.1.5.redhat-630187]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:189)[105:org.apache.felix.configadmin:1.8.8]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152)[105:org.apache.felix.configadmin:1.8.8]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85)[105:org.apache.felix.configadmin:1.8.8]
at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(Configuration
View upgrading camel
[ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.0.8:assembly (karaf-assembly) on project karaf2-cxf-rest: Unable to build assembly: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=jline-internal; type=karaf.feature; filter:="(&(osgi.identity=jline-internal)(type=karaf.feature))" -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.0.8:assembly (karaf-assembly) on project karaf2-cxf-rest: Unable to build assembly
View osgi-deploy-error1
2018-05-12 21:28:40,379 | INFO | FelixStartLevel | HttpServiceFactoryImpl | 72 - org.ops4j.pax.web.pax-web-runtime - 4.3.0 | Binding bundle: [org.apache.cxf.cxf-rt-transports-http [104]] to http service
2018-05-12 21:28:41,472 | ERROR | pache.cxf.osgi]) | configadmin | 105 - org.apache.felix.configadmin - 1.8.8 | [org.osgi.service.cm.ManagedService, id=111, bundle=104/reference:file:system/org/apache/cxf/cxf-rt-transports-http/3.1.5.redhat-630187/cxf-rt-transports-http-3.1.5.redhat-630187.jar]: Unexpected problem updating configuration org.apache.cxf.osgi
java.lang.IllegalArgumentException: Alias [/cxf] was never registered
at org.ops4j.pax.web.service.internal.HttpServiceStarted.unregister(HttpServiceStarted.java:278)[72:org.ops4j.pax.web.pax-web-runtime:4.3.0]
at org.ops4j.pax.web.service.internal.HttpServiceProxy.unregister(HttpServiceProxy.java:77)[72:org.ops4j.pax.web.pax-web-runtime:4.3.0]
at org.apache.cxf.transport.http.osgi.ServletExporter.updated(ServletExporter.j
View grpc debug.txt
mt4server_1 | login() starts. IsConnected() returns 1
mt4server_1 | login() return RET_OK
mt4server_1 | mServiceAddr: 0.0.0.0
mt4server_1 | mServicePort: 50051
mt4server_1 | connectionString: 0.0.0.0:50051
mt4server_1 | I1110 23:00:06.363430583 1 ev_epollsig_linux.c:71] epoll engine will be using signal: 40
mt4server_1 | D1110 23:00:06.363474930 1 ev_posix.c:111] Using polling engine: epollsig
mt4server_1 | D1110 23:00:06.364106354 1 dns_resolver.c:301] Using native dns resolver
mt4server_1 | D1110 23:00:06.364151378 1 timer_manager.c:82] Spawn timer thread
You can’t perform that action at this time.