Skip to content

Instantly share code, notes, and snippets.

View eriknelson's full-sized avatar
🤘

Erik Nelson eriknelson

🤘
View GitHub Profile
# velero restore logs -n openshift-migration 0c57c8c0-b567-11ea-91e8-9bdf16623cc0-fwm69 | grep -i error
time="2020-06-23T15:35:45Z" level=info msg="error restoring mongodb-enterprise-jk4nm: Subscription.operators.coreos.com \"mongodb-enterprise-jk4nm\" is invalid: spec.sourceNamespace: Required value" logSource="pkg/restore/restore.go:1199" restore=openshift-migration/0c57c8c0-b567-11ea-91e8-9bdf16623cc0-fwm69
apiVersion: migration.openshift.io/v1alpha1
kind: MigrationController
metadata:
creationTimestamp: "2020-06-08T20:57:04Z"
generation: 4
name: migration-controller
namespace: openshift-migration
resourceVersion: "18480745"
selfLink: /apis/migration.openshift.io/v1alpha1/namespaces/openshift-migration/migrationcontrollers/migration-controller
uid: b9bb6be4-031f-455d-800b-5b35210dad4a
Errors during downloading metadata for repository 'updates-modular':
- Status code: 404 for http://mirror.arizona.edu/fedora/linux/updates/31/Modular/x86_64/repodata/ac8b100eee3af6854470dbf98a602ecf7e50f02c445886a66c279d0dd8342840-primary.xml.zck (IP: 128.196.204.204)
apiVersion: migration.openshift.io/v1alpha1
kind: MigrationController
metadata:
[...] SNIP
spec:
azure_resource_group: ""
cluster_name: host
mig_namespace_limit: "10"
mig_pod_limit: "100"
mig_pv_limit: "100"
#
# TABLE STRUCTURE FOR: authors
#
DROP TABLE IF EXISTS `authors`;
CREATE TABLE `authors` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`first_name` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`last_name` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
import { createActions } from 'reduxsauce';
const { Creators, Types } = createActions({
clusterFetchSuccess: ['clusterList'],
clusterFetchRequest: [],
clusterFetchFailure: [],
updateSearchTerm: ['searchTerm'],
addClusterSuccess: ['newCluster'],
addClusterFailure: ['error'],
removeClusterSuccess: ['name'],
function foo(x,y) {
ajax(
"http://some.url.1/?x=" + x + "&y=" + y,
function(err,data){
if (err) {
// throw an error into `*main()`
it.throw( err );
}
else {
// resume `*main()` with received `data`
json:
{message: "Network Error", name: "Error", description: undefined, number: undefined, fileName: undefined, …}
code: undefined
columnNumber: undefined
config: {url: "https://api.ernelson.mg.dog8code.com:6443/.well-known/oauth-authorization-server", method: "get", headers: {…}, transformRequest: Array(1), transformResponse: Array(1), …}
description: undefined
fileName: undefined
lineNumber: undefined
message: "Network Error"
name: "Error"
apiVersion: v1
items:
- apiVersion: v1
kind: Pod
metadata:
annotations:
k8s.v1.cni.cncf.io/networks-status: |-
[{
"name": "openshift-sdn",
"interface": "eth0",
diff --git a/ansible/roles/openshift_setup/tasks/main.yml b/ansible/roles/openshift_setup/tasks/main.yml
index 0b28c4c..a957a55 100644
--- a/ansible/roles/openshift_setup/tasks/main.yml
+++ b/ansible/roles/openshift_setup/tasks/main.yml
@@ -153,64 +153,64 @@
become: 'true'
when: ansible_os_family == "RedHat"
- - name: Pull docker images for all openshift versions
- docker_image: