Skip to content
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
1 change: 0 additions & 1 deletion pkg/nova/cellmapping.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ func CellMappingJob(
args := []string{"-c", KollaServiceCommand}

envVars := map[string]env.Setter{}
envVars["KOLLA_CONFIG_STRATEGY"] = env.SetValue("COPY_ALWAYS")
envVars["KOLLA_BOOTSTRAP"] = env.SetValue("true")
envVars["CELL_NAME"] = env.SetValue(cell.Spec.CellName)

Expand Down
1 change: 0 additions & 1 deletion pkg/nova/host_discover.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ func HostDiscoveryJob(
args := []string{"-c", KollaServiceCommand}

envVars := map[string]env.Setter{}
envVars["KOLLA_CONFIG_STRATEGY"] = env.SetValue("COPY_ALWAYS")
envVars["KOLLA_BOOTSTRAP"] = env.SetValue("true")

// This is stored in the Job so that if the input of the job changes
Expand Down
1 change: 0 additions & 1 deletion pkg/novaapi/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ func StatefulSet(
}

envVars := map[string]env.Setter{}
envVars["KOLLA_CONFIG_STRATEGY"] = env.SetValue("COPY_ALWAYS")
// NOTE(gibi): The statefulset does not use this hash directly. We store it
// in the environment to trigger a Pod restart if any input of the
// statefulset has changed. The k8s will trigger a restart automatically if
Expand Down
2 changes: 1 addition & 1 deletion pkg/novacompute/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func StatefulSet(
}

envVars := map[string]env.Setter{}
envVars["KOLLA_CONFIG_STRATEGY"] = env.SetValue("COPY_ALWAYS")

// NOTE(gibi): The statefulset does not use this hash directly. We store it
// in the environment to trigger a Pod restart if any input of the
// statefulset has changed. The k8s will trigger a restart automatically if
Expand Down
1 change: 0 additions & 1 deletion pkg/novaconductor/dbpurge.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ func DBPurgeCronJob(
args := []string{"-c", nova.KollaServiceCommand}

envVars := map[string]env.Setter{}
envVars["KOLLA_CONFIG_STRATEGY"] = env.SetValue("COPY_ALWAYS")
envVars["KOLLA_BOOTSTRAP"] = env.SetValue("true")

envVars["ARCHIVE_AGE"] = env.SetValue(fmt.Sprintf("%d", *instance.Spec.DBPurge.ArchiveAge))
Expand Down
1 change: 0 additions & 1 deletion pkg/novaconductor/dbsync.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ func CellDBSyncJob(
args := []string{"-c", nova.KollaServiceCommand}

envVars := map[string]env.Setter{}
envVars["KOLLA_CONFIG_STRATEGY"] = env.SetValue("COPY_ALWAYS")
envVars["KOLLA_BOOTSTRAP"] = env.SetValue("true")

envVars["CELL_NAME"] = env.SetValue(instance.Spec.CellName)
Expand Down
1 change: 0 additions & 1 deletion pkg/novaconductor/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ func StatefulSet(
}

envVars := map[string]env.Setter{}
envVars["KOLLA_CONFIG_STRATEGY"] = env.SetValue("COPY_ALWAYS")
// NOTE(gibi): The statefulset does not use this hash directly. We store it
// in the environment to trigger a Pod restart if any input of the
// statefulset has changed. The k8s will trigger a restart automatically if
Expand Down
1 change: 0 additions & 1 deletion pkg/novametadata/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ func StatefulSet(
}

envVars := map[string]env.Setter{}
envVars["KOLLA_CONFIG_STRATEGY"] = env.SetValue("COPY_ALWAYS")
// NOTE(gibi): The statefulset does not use this hash directly. We store it
// in the environment to trigger a Pod restart if any input of the
// statefulset has changed. The k8s will trigger a restart automatically if
Expand Down
1 change: 0 additions & 1 deletion pkg/novascheduler/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ func StatefulSet(
}

envVars := map[string]env.Setter{}
envVars["KOLLA_CONFIG_STRATEGY"] = env.SetValue("COPY_ALWAYS")
// NOTE(gibi): The statefulset does not use this hash directly. We store it
// in the environment to trigger a Pod restart if any input of the
// statefulset has changed. The k8s will trigger a restart automatically if
Expand Down
1 change: 0 additions & 1 deletion pkg/novncproxy/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ func StatefulSet(
}

envVars := map[string]env.Setter{}
envVars["KOLLA_CONFIG_STRATEGY"] = env.SetValue("COPY_ALWAYS")
// NOTE(gibi): The statefulset does not use this hash directly. We store it
// in the environment to trigger a Pod restart if any input of the
// statefulset has changed. The k8s will trigger a restart automatically if
Expand Down
4 changes: 0 additions & 4 deletions test/kuttl/test-suites/default/scale-tests/01-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -533,8 +533,6 @@ spec:
value: "30"
- name: KOLLA_BOOTSTRAP
value: "true"
- name: KOLLA_CONFIG_STRATEGY
value: COPY_ALWAYS
- name: PURGE_AGE
value: "90"
image: quay.io/podified-antelope-centos9/openstack-nova-conductor:current-podified
Expand Down Expand Up @@ -591,8 +589,6 @@ spec:
value: "30"
- name: KOLLA_BOOTSTRAP
value: "true"
- name: KOLLA_CONFIG_STRATEGY
value: COPY_ALWAYS
- name: PURGE_AGE
value: "90"
image: quay.io/podified-antelope-centos9/openstack-nova-conductor:current-podified
Expand Down