Comments (6)
hi @aszecowka , please try to do
make all
from the root of the repository
from cassandra-operator.
@aszecowka try this branch
https://github.com/instaclustr/cassandra-operator/tree/issue-413
make all
passes there
from cassandra-operator.
@smiklosovic On the branch issue-413
everything works like a charm, thanks for your support!
I have one additional question, to publish images to my registry, can I just execute the following commands?
make all
export REGISTRY=<TBD>
export TAG=<TBD>
./buildenv/build-all prod
./buildenv/release-all prod
In release-all
I am going to comment out release_helm
because I am not interested in helm chart right now.
I assume, that after that operation, we should be able to replace images from version v7.1.0
with images build on branch issue-413
and new images should work with the same configuration as we have previously out-of-the-box? In other words, issue-413
is backward compatible with v7.1.0
?
from cassandra-operator.
hi @smiklosovic
thanks for quick response 👍
I got the following error for make all
DEBIAN_RELEASE=buster OPENJRE_BASE_IMAGE=debian:buster OPENJRE_VERSION=11.0.8+10-1~deb10u1 OPENJRE_IMAGE_TAG=buster-11.0.8-10-1-deb10u1 OPENJDK_PACKAGE=openjdk-11-jre-headless CASSANDRA_IMAGE_VERSION="1.0.0" /Library/Developer/CommandLineTools/usr/bin/make -C base-openjre
docker build \
--build-arg OPENJRE_BASE_IMAGE=debian:buster \
--build-arg openjre_version=11.0.8+10-1~deb10u1 \
--build-arg openjre_package=openjdk-11-jre-headless \
-t base-openjre \
-t base-openjre:buster-11.0.8-10-1-deb10u1 \
.
[+] Building 3.7s (7/7) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 37B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/debian:buster 0.3s
=> [internal] load build context 0.0s
=> => transferring context: 26B 0.0s
=> [1/3] FROM docker.io/library/debian:buster@sha256:bb8c62f9f540a5f5f49f7ed5caae0e2889f999cd14553f2aaccaf1fa4fcb998d 0.0s
=> CACHED [2/3] COPY dagi /usr/local/bin/ 0.0s
=> ERROR [3/3] RUN dagi locales gnupg2 dirmngr curl uuid-runtime openjdk-11-jre-headless=11.0.8+10-1~deb10u1 libjna-java libjna-jni procps 3.3s
------
> [3/3] RUN dagi locales gnupg2 dirmngr curl uuid-runtime openjdk-11-jre-headless=11.0.8+10-1~deb10u1 libjna-java libjna-jni procps:
#7 0.221 + '[' locales == file ']'
#7 0.221 + apt-get update
#7 0.382 Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
#7 0.446 Get:2 http://deb.debian.org/debian-security buster/updates InRelease [34.8 kB]
#7 0.472 Get:3 http://deb.debian.org/debian buster-updates InRelease [56.6 kB]
#7 0.557 Get:4 http://deb.debian.org/debian buster/main amd64 Packages [7909 kB]
#7 0.865 Get:5 http://deb.debian.org/debian-security buster/updates/main amd64 Packages [423 kB]
#7 0.883 Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [8788 B]
#7 1.824 Fetched 8554 kB in 2s (5421 kB/s)
#7 1.824 Reading package lists...
#7 2.418 + DEBIAN_FRONTEND=noninteractive
#7 2.418 + apt-get -qy --no-install-recommends install locales gnupg2 dirmngr curl uuid-runtime openjdk-11-jre-headless=11.0.8+10-1~deb10u1 libjna-java libjna-jni procps
#7 2.429 Reading package lists...
#7 3.029 Building dependency tree...
#7 3.147 Reading state information...
#7 3.227 E: Version '11.0.8+10-1~deb10u1' for 'openjdk-11-jre-headless' was not found
------
executor failed running [/bin/sh -c dagi locales gnupg2 dirmngr curl uuid-runtime ${openjre_package}=${openjre_version} libjna-java libjna-jni procps]: exit code: 100
make[2]: *** [base-openjre] Error 1
make[1]: *** [base-openjre-11] Error 2
make: *** [docker] Error 2
Should I set up some environment variables before running the build?
from cassandra-operator.
I am not sure about the commands, you need to try it, it was quite a while I was dealing with this but your suggestion seems reasonable.
It should be compatible, yes. All I did was I bumped versions of openjdk because there are different versions already and I bumped Cassandra 4.0-beta4 to 4.0.0. These 4 releases should be compatible as well.
from cassandra-operator.
Thanks. No more questions from my side. Feel free to close this issue.
from cassandra-operator.
Related Issues (20)
- How to use sstable tools with a cassandra cluster deployed through the operator? HOT 8
- init container image cannot be changed, is using "latest" tag HOT 5
- Better default passwords? HOT 4
- SeedsResolver relies on cluster_domain to be cluster.local HOT 4
- Better explain CassandraCluster CRD HOT 1
- [BUG] Cluster fails with error HOT 6
- Cassandra on GKE port forwarding connection refused HOT 48
- Restore process fails HOT 2
- Consider listing operator in Artifact Hub
- CassandraRoleManager skipped default role setup: some nodes were not ready HOT 2
- [BUG] Reconcile() fails to delete the corresponding pvc if missing deletionTimestamp of Cassandra pod HOT 5
- [BUG] Cassandra node can be decommissioned wrongly which blocks scale down HOT 3
- [BUG] PVC can be accidentally deleted when controller reads stale data from apiserver HOT 4
- [BUG] Stale statefulset can be accidentally re-created when reading stale data from apiserver HOT 1
- Deployment in another namespace HOT 2
- [BUG] Reading stale pod information can lead to undesired PVC deletion HOT 2
- Fade out to another Cassandra operator HOT 2
- [BUG] Cassandra node gets decommissioned forever if scaling is partially done
- Any release that works with latest k8s version (1.24, 1.25, 1.26)? [FEATURE]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cassandra-operator.