Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wip] SmartState analysis POC #119

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ GO_FILES := $(shell find ./ -name ".go" -not -path "./bin" -not -path "./packagi
GO_CACHE := -v $${HOME}/go/migration-planner-go-cache:/opt/app-root/src/go:Z -v $${HOME}/go/migration-planner-go-cache/.cache:/opt/app-root/src/.cache:Z
TIMEOUT ?= 30m
VERBOSE ?= false
MIGRATION_PLANNER_AGENT_IMAGE ?= quay.io/kubev2v/migration-planner-agent
MIGRATION_PLANNER_API_IMAGE ?= quay.io/kubev2v/migration-planner-api
MIGRATION_PLANNER_AGENT_IMAGE ?= quay.io/bodnopoz/migration-planner-agent
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please keep the defaul kubev2v

MIGRATION_PLANNER_API_IMAGE ?= quay.io/bodnopoz/migration-planner-api
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above

MIGRATION_PLANNER_API_IMAGE_PULL_POLICY ?= Always
MIGRATION_PLANNER_UI_IMAGE ?= quay.io/kubev2v/migration-planner-ui
MIGRATION_PLANNER_NAMESPACE ?= assisted-migration
Expand Down
44 changes: 22 additions & 22 deletions api/v1alpha1/agent/spec.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion api/v1alpha1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,9 @@ components:
infra:
type: object
$ref: '#/components/schemas/Infra'

smartState:
type: object
$ref: '#/components/schemas/SmartState'
VCenter:
type: object
required:
Expand Down Expand Up @@ -440,6 +442,12 @@ components:
type: object
$ref: '#/components/schemas/MigrationIssues'

SmartState:
type: array
items:
type: object
additionalProperties: true

Infra:
type: object
required:
Expand Down
50 changes: 25 additions & 25 deletions api/v1alpha1/spec.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions api/v1alpha1/types.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions data/ignition.template
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,27 @@ storage:
name: core
group:
name: core

- path: /home/core/.config/containers/systemd/manageiq-service.container
mode: 0644
contents:
inline: |
[Unit]
Description=ManageIQ SmartState Service

[Container]
ContainerName=manageiq-service
Image=quay.io/bodnopoz/manageiq-service:latest
PublishPort=3334:3334
Network=host
UserNS=keep-id:uid=1001

[Service]
Restart=on-failure
RestartSec=5

[Install]
WantedBy=multi-user.target default.target
- path: /home/core/.config/containers/systemd/planner-agent.container
mode: 0644
contents:
Expand Down
Loading
Loading