Re: [PR] Documentation related to Instance lease feature [cloudstack-documentation]
sudo87 commented on PR #492: URL: https://github.com/apache/cloudstack-documentation/pull/492#issuecomment-2834930784 @blueorangutan docbuild -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] Documentation related to Instance lease feature [cloudstack-documentation]
blueorangutan commented on PR #492: URL: https://github.com/apache/cloudstack-documentation/pull/492#issuecomment-2834933230 @sudo87 a Jenkins job has been kicked to build the document. I'll keep you posted as I make progress. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] Documentation related to Instance lease feature [cloudstack-documentation]
blueorangutan commented on PR #492: URL: https://github.com/apache/cloudstack-documentation/pull/492#issuecomment-2834935567 QA-Doc build preview: https://qa.cloudstack.cloud/builds/docs-build/pr/492. (QA-JID 329) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] Allow users to send requests from CMK using POST requests. [cloudstack-cloudmonkey]
sureshanaparti commented on code in PR #161: URL: https://github.com/apache/cloudstack-cloudmonkey/pull/161#discussion_r2063483002 ## config/config.go: ## @@ -282,6 +284,9 @@ func saveConfig(cfg *Config) *Config { core.AutoComplete = true core.Output = JSON } + if conf.Section(ini.DEFAULT_SECTION).HasKey("postrequest") { Review Comment: `if !conf.Section(ini.DEFAULT_SECTION).HasKey("postrequest") {` - cond. should be this one, right @kevin-lii ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Building Cloudstack Issues
I've been trying to get cloudstack to build with varrying results. If I do get it to build by adjusting some parameters of the mvn command it will be successful, but the file size for my cloud-server-4.19.2.0.jar will only be 3.7MB when on my Test environment Cloudstack management server it is ~150MB. Right now I'd like to just be able to get a successful build from the 4.19.2.0 branch of the repo with NO changes, and then add my changes once I get a successful build. Below is my current attepmt that fails on the vmware module part, that I don't need and all ways of excluding it have failed too. I'm doing this in Docker to hopefully avoid any potential issues with my local machine. I've been following this document and doing as much research and testing as I can too: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment+on+Linux I just keep hitting issues and was hoping I could get some help from this mailing list. Any help with this would be greatly appreciated. Dockerfile: FROM ubuntu:20.04 # Set non-interactive frontend and preconfigure tzdata ENV DEBIAN_FRONTEND=noninteractive RUN echo "tzdata tzdata/Areas select Etc" | debconf-set-selections && \ echo "tzdata tzdata/Zones/Etc select UTC" | debconf-set-selections # Install dependencies RUN apt-get update && apt-get install -y \ openjdk-11-jdk \ maven \ git \ genisoimage \ python3-setuptools \ python3-dev \ python3-pip \ mkisofs \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* # Set JAVA_HOME ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 ENV PATH=$JAVA_HOME/bin:$PATH # Create working directory WORKDIR /cloudstack # Ensure Maven uses the correct Java version RUN update-alternatives --set java /usr/lib/jvm/java-11-openjdk-amd64/bin/java Docker Compose file: services: cloudstack-builder: build: context: . dockerfile: Dockerfile volumes: # Mount local CloudStack repository - /home/user/git_repos/cloudstack:/cloudstack # Mount host directory for build output - ./cloudstack-build:/cloudstack-build # Cache Maven repository - maven-repo:/root/.m2 environment: - DEBIAN_FRONTEND=noninteractive working_dir: /cloudstack command: > bash -c " mvn clean package -P developer,systemvm -DskipTests -Dnoredist -Dmaven.parallel.build=true && cp server/target/cloud-server-4.19.2.0.jar /cloudstack-build/ || true && cp server/target/*.war /cloudstack-build/ || true " volumes: maven-repo: name: maven-repo cloudstack-builder-1 | [INFO] Apache CloudStack VMware Base .. FAILURE [ 0.045 s] cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - Hypervisor VMware ... SKIPPED cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - API VMware SIOC . SKIPPED cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - Veeam Backup and Recovery Plugin SKIPPED cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - Cisco VNMC .. SKIPPED cloudstack-builder-1 | [INFO] Apache CloudStack Framework - Spring Life Cycle SKIPPED cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - Network Juniper Contrail SKIPPED cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - Tungsten-Fabric Network . SKIPPED cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - MySQL HA Strategy ... SKIPPED cloudstack-builder-1 | [INFO] Apache CloudStack Framework - Spring Module SKIPPED cloudstack-builder-1 | [INFO] Apache CloudStack Secondary Storage Controller . SKIPPED cloudstack-builder-1 | [INFO] Apache CloudStack Console Proxy SKIPPED cloudstack-builder-1 | [INFO] Apache CloudStack Console Proxy - RDP Client ... SKIPPED cloudstack-builder-1 | [INFO] Apache CloudStack Console Proxy - Server ... SKIPPED cloudstack-builder-1 | [INFO] Apache CloudStack System VM SKIPPED cloudstack-builder-1 | [INFO] Apache CloudStack Client UI SKIPPED cloudstack-builder-1 | [INFO] Apache CloudStack Framework - QuickCloud ... SKIPPED cloudstack-builder-1 | [INFO] Apache CloudStack Test . SKIPPED cloudstack-builder-1 | [INFO] Apache CloudStack Developer Mode ... SKIPPED cloudstack-builder-1 | [INFO] Apache CloudStack Developer Tools .. SKIPPED cloudstack-builder-1 | [INFO] Apache CloudStack apidocs .. SKIPPED cloudstack-builder-1 | [INFO] Apache CloudStack marvin ... SKIPPED cloudstack-builder-1 | [INFO] Apache CloudStack DevCloud4 SKIPPED cloudstack-builder-1 | [INFO] Apache CloudStack DevCloud-KVM . SKIPPED cloudstack-builder-1 | [INFO] cloudstack-builder-1 |
Re: Request for Recommended Issues to Contribute To
Try the Github issues search by labels, for example issues by hypervisor-related labels: KVM: https://github.com/apache/cloudstack/issues?q=is%3Aissue%20state%3Aopen%20label%3Acomponent%3Akvm VMware: https://github.com/apache/cloudstack/issues?q=is%3Aissue%20state%3Aopen%20label%3Acomponent%3Avmware XenServer: https://github.com/apache/cloudstack/issues?q=is%3Aissue%20state%3Aopen%20label%3Acomponent%3AXenServer If/when you start working on it, just mention that you're putting serious efforts to avoid duplicate effort and PRs. Cheers. From: Jerome B Conkright Sent: Friday, April 25, 2025 01:05 To: dev@cloudstack.apache.org Subject: Re: Request for Recommended Issues to Contribute To Hi Rohit, Thanks for the resources! We’ll check them out. Since this is for a virtualization class, we’re especially interested in hypervisor-related issues, but we’re open to others with good learning value and some guidance. If any come to mind, we’d appreciate your suggestions! Best, Jerome & Brady On Wed, Apr 23, 2025 at 11:38 PM Rohit Yadav wrote: > Hi Jerome and Brady, > > You may find this CloudStack self-learning course useful: > https://github.com/shapeblue/hackerbook along with > https://github.com/shapeblue/mbx to create local CloudStack dev-testing > environments on Ubuntu/Fedora/EL. > > You can explore issues from here > https://github.com/apache/cloudstack/issues but also: > https://github.com/apache/cloudstack-cloudmonkey/issues > Https://github.com/apache/cloudstack-terraform-provider/issues > https://github.com/apache/cloudstack-kubernetes-provider/issues > > Do you have a particular preference for any type of issues you'd like to > work on, such as on the UI, build system, business logic, hypervisor (kvm, > vmware, xs/xcp-ng), storage, network etc? > > Regards. > > > > > From: Jerome B Conkright > Sent: Wednesday, April 23, 2025 23:17 > To: dev@cloudstack.apache.org > Subject: Request for Recommended Issues to Contribute To > > Hi Apache CloudStack Team, > > We’re two students from the University of Texas at Austin working on a > project for our virtualization class, where we are required to contribute > to an open source virtualization project. > > As part of our project requirements, we need to work on a total of three > issues. We have already found two with sufficient engagement, but we’re > still looking for a third issue that would be suitable for contribution and > has some level of maintainer involvement or feedback. > > If there are any open issues that you think would be a good fit for > contributors with general experience in virtualization and cloud > infrastructure (but who are new to CloudStack), we’d greatly appreciate any > suggestions or guidance you can offer. > > Thanks in advance for your time and support! > > Best regards, > Jerome Conkright & Brady Wilkin > jerome.conkri...@utexas.edu > bradywil...@utexas.edu >
Re: Building Cloudstack Issues
Hi, when you build with vmware support or other 3rd party jars, you need to install the jars. please refer to https://github.com/shapeblue/cloudstack-nonoss the file /usr/share/cloudstack-management/lib/cloudstack-.jar is a copy of client/target/cloud-client-ui-.jar, not server/target/cloud-server-.jar -Wei On Mon, Apr 28, 2025 at 7:29 PM Jason Hollis wrote: > I've been trying to get cloudstack to build with varrying results. If I > do get it to build by adjusting some parameters of the mvn command it will > be successful, but the file size for my cloud-server-4.19.2.0.jar will only > be 3.7MB when on my Test environment Cloudstack management server it is > ~150MB. Right now I'd like to just be able to get a successful build from > the 4.19.2.0 branch of the repo with NO changes, and then add my changes > once I get a successful build. > > Below is my current attepmt that fails on the vmware module part, that I > don't need and all ways of excluding it have failed too. > > I'm doing this in Docker to hopefully avoid any potential issues with my > local machine. > > I've been following this document and doing as much research and testing > as I can too: > > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment+on+Linux > > I just keep hitting issues and was hoping I could get some help from this > mailing list. > > Any help with this would be greatly appreciated. > > > > Dockerfile: > FROM ubuntu:20.04 > > # Set non-interactive frontend and preconfigure tzdata > ENV DEBIAN_FRONTEND=noninteractive > RUN echo "tzdata tzdata/Areas select Etc" | debconf-set-selections && \ > echo "tzdata tzdata/Zones/Etc select UTC" | debconf-set-selections > > # Install dependencies > RUN apt-get update && apt-get install -y \ > openjdk-11-jdk \ > maven \ > git \ > genisoimage \ > python3-setuptools \ > python3-dev \ > python3-pip \ > mkisofs \ > && apt-get clean \ > && rm -rf /var/lib/apt/lists/* > > # Set JAVA_HOME > ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 > ENV PATH=$JAVA_HOME/bin:$PATH > > # Create working directory > WORKDIR /cloudstack > > # Ensure Maven uses the correct Java version > RUN update-alternatives --set java > /usr/lib/jvm/java-11-openjdk-amd64/bin/java > > > Docker Compose file: > services: > cloudstack-builder: > build: > context: . > dockerfile: Dockerfile > volumes: > # Mount local CloudStack repository > - /home/user/git_repos/cloudstack:/cloudstack > # Mount host directory for build output > - ./cloudstack-build:/cloudstack-build > # Cache Maven repository > - maven-repo:/root/.m2 > environment: > - DEBIAN_FRONTEND=noninteractive > working_dir: /cloudstack > command: > > bash -c " > mvn clean package -P developer,systemvm -DskipTests -Dnoredist > -Dmaven.parallel.build=true && > cp server/target/cloud-server-4.19.2.0.jar /cloudstack-build/ || > true && > cp server/target/*.war /cloudstack-build/ || true > " > > volumes: > maven-repo: > name: maven-repo > > > cloudstack-builder-1 | [INFO] Apache CloudStack VMware Base > .. FAILURE [ 0.045 s] > cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - Hypervisor > VMware ... SKIPPED > cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - API VMware SIOC > . SKIPPED > cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - Veeam Backup and > Recovery Plugin SKIPPED > cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - Cisco VNMC > .. SKIPPED > cloudstack-builder-1 | [INFO] Apache CloudStack Framework - Spring Life > Cycle SKIPPED > cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - Network Juniper > Contrail SKIPPED > cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - Tungsten-Fabric > Network . SKIPPED > cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - MySQL HA > Strategy ... SKIPPED > cloudstack-builder-1 | [INFO] Apache CloudStack Framework - Spring Module > SKIPPED > cloudstack-builder-1 | [INFO] Apache CloudStack Secondary Storage > Controller . SKIPPED > cloudstack-builder-1 | [INFO] Apache CloudStack Console Proxy > SKIPPED > cloudstack-builder-1 | [INFO] Apache CloudStack Console Proxy - RDP > Client ... SKIPPED > cloudstack-builder-1 | [INFO] Apache CloudStack Console Proxy - Server > ... SKIPPED > cloudstack-builder-1 | [INFO] Apache CloudStack System VM > SKIPPED > cloudstack-builder-1 | [INFO] Apache CloudStack Client UI > SKIPPED > cloudstack-builder-1 | [INFO] Apache CloudStack Framework - QuickCloud > ... SKIPPED > cloudstack-builder-1 | [INFO] Apache CloudStack Test > . SKIPPED > cloudstack-builder-1 | [INFO] Apache CloudStack Developer Mode > ... SKIPPED > cloudstack-build
Re: Building Cloudstack Issues
If you do not need vmware and other 3rd party jars, you can remove "-Dnoredist " from the maven command. -Wei On Mon, Apr 28, 2025 at 7:48 PM Wei ZHOU wrote: > Hi, > > when you build with vmware support or other 3rd party jars, you need to > install the jars. > please refer to https://github.com/shapeblue/cloudstack-nonoss > > the file /usr/share/cloudstack-management/lib/cloudstack-.jar is > a copy of client/target/cloud-client-ui-.jar, not > server/target/cloud-server-.jar > > > -Wei > > > On Mon, Apr 28, 2025 at 7:29 PM Jason Hollis > wrote: > >> I've been trying to get cloudstack to build with varrying results. If I >> do get it to build by adjusting some parameters of the mvn command it will >> be successful, but the file size for my cloud-server-4.19.2.0.jar will only >> be 3.7MB when on my Test environment Cloudstack management server it is >> ~150MB. Right now I'd like to just be able to get a successful build from >> the 4.19.2.0 branch of the repo with NO changes, and then add my changes >> once I get a successful build. >> >> Below is my current attepmt that fails on the vmware module part, that I >> don't need and all ways of excluding it have failed too. >> >> I'm doing this in Docker to hopefully avoid any potential issues with my >> local machine. >> >> I've been following this document and doing as much research and testing >> as I can too: >> >> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment+on+Linux >> >> I just keep hitting issues and was hoping I could get some help from this >> mailing list. >> >> Any help with this would be greatly appreciated. >> >> >> >> Dockerfile: >> FROM ubuntu:20.04 >> >> # Set non-interactive frontend and preconfigure tzdata >> ENV DEBIAN_FRONTEND=noninteractive >> RUN echo "tzdata tzdata/Areas select Etc" | debconf-set-selections && \ >> echo "tzdata tzdata/Zones/Etc select UTC" | debconf-set-selections >> >> # Install dependencies >> RUN apt-get update && apt-get install -y \ >> openjdk-11-jdk \ >> maven \ >> git \ >> genisoimage \ >> python3-setuptools \ >> python3-dev \ >> python3-pip \ >> mkisofs \ >> && apt-get clean \ >> && rm -rf /var/lib/apt/lists/* >> >> # Set JAVA_HOME >> ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 >> ENV PATH=$JAVA_HOME/bin:$PATH >> >> # Create working directory >> WORKDIR /cloudstack >> >> # Ensure Maven uses the correct Java version >> RUN update-alternatives --set java >> /usr/lib/jvm/java-11-openjdk-amd64/bin/java >> >> >> Docker Compose file: >> services: >> cloudstack-builder: >> build: >> context: . >> dockerfile: Dockerfile >> volumes: >> # Mount local CloudStack repository >> - /home/user/git_repos/cloudstack:/cloudstack >> # Mount host directory for build output >> - ./cloudstack-build:/cloudstack-build >> # Cache Maven repository >> - maven-repo:/root/.m2 >> environment: >> - DEBIAN_FRONTEND=noninteractive >> working_dir: /cloudstack >> command: > >> bash -c " >> mvn clean package -P developer,systemvm -DskipTests -Dnoredist >> -Dmaven.parallel.build=true && >> cp server/target/cloud-server-4.19.2.0.jar /cloudstack-build/ || >> true && >> cp server/target/*.war /cloudstack-build/ || true >> " >> >> volumes: >> maven-repo: >> name: maven-repo >> >> >> cloudstack-builder-1 | [INFO] Apache CloudStack VMware Base >> .. FAILURE [ 0.045 s] >> cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - Hypervisor >> VMware ... SKIPPED >> cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - API VMware SIOC >> . SKIPPED >> cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - Veeam Backup >> and Recovery Plugin SKIPPED >> cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - Cisco VNMC >> .. SKIPPED >> cloudstack-builder-1 | [INFO] Apache CloudStack Framework - Spring Life >> Cycle SKIPPED >> cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - Network Juniper >> Contrail SKIPPED >> cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - Tungsten-Fabric >> Network . SKIPPED >> cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - MySQL HA >> Strategy ... SKIPPED >> cloudstack-builder-1 | [INFO] Apache CloudStack Framework - Spring >> Module SKIPPED >> cloudstack-builder-1 | [INFO] Apache CloudStack Secondary Storage >> Controller . SKIPPED >> cloudstack-builder-1 | [INFO] Apache CloudStack Console Proxy >> SKIPPED >> cloudstack-builder-1 | [INFO] Apache CloudStack Console Proxy - RDP >> Client ... SKIPPED >> cloudstack-builder-1 | [INFO] Apache CloudStack Console Proxy - Server >> ... SKIPPED >> cloudstack-builder-1 | [INFO] Apache CloudStack System VM >> SKIPPED >> cloudstack-builder-1 | [INFO] Apache CloudStack Client UI >> SK
Re: Building Cloudstack Issues
Hi Jason, Please refer to the second paragraph of my first reply (see below). the file /usr/share/cloudstack-management/lib/cloudstack-.jar is a copy of client/target/cloud-client-ui-.jar, not server/target/cloud-server-.jar Kind regards, Wei On Mon, Apr 28, 2025 at 8:22 PM Jason Hollis wrote: > Wei, > > Thanks for the info, however when I do remove the -Dnoredist it does > build successfully, but the generated .jar file is only 3.7MB. On my Test > environment Cloudstack management server it is ~150MB. > > ls -alh cloudstack-build/cloud-server-4.19.2.0.jar > -rw-r--r-- 1 root root 3.7M Apr 28 14:15 > cloudstack-build/cloud-server-4.19.2.0.jar > > on test CS server: > > $:/usr/share/cloudstack-management/lib# ls -lahtr cloudstack* > -rw-r--r-- 1 root root 151M Feb 26 14:06 cloudstack-4.19.2.0.jar > > > What am I missing? > > Thanks, > Jason > > > > On Mon Apr 28, 2025 at 1:49 PM EDT, Wei ZHOU wrote: > > If you do not need vmware and other 3rd party jars, you can remove > > "-Dnoredist " from the maven command. > > > > > > -Wei > > > > > > On Mon, Apr 28, 2025 at 7:48 PM Wei ZHOU wrote: > > > >> Hi, > >> > >> when you build with vmware support or other 3rd party jars, you need to > >> install the jars. > >> please refer to https://github.com/shapeblue/cloudstack-nonoss > >> > >> the file /usr/share/cloudstack-management/lib/cloudstack-.jar > is > >> a copy of client/target/cloud-client-ui-.jar, not > >> server/target/cloud-server-.jar > >> > >> > >> -Wei > >> > >> > >> On Mon, Apr 28, 2025 at 7:29 PM Jason Hollis > >> wrote: > >> > >>> I've been trying to get cloudstack to build with varrying results. If > I > >>> do get it to build by adjusting some parameters of the mvn command it > will > >>> be successful, but the file size for my cloud-server-4.19.2.0.jar will > only > >>> be 3.7MB when on my Test environment Cloudstack management server it is > >>> ~150MB. Right now I'd like to just be able to get a successful build > from > >>> the 4.19.2.0 branch of the repo with NO changes, and then add my > changes > >>> once I get a successful build. > >>> > >>> Below is my current attepmt that fails on the vmware module part, that > I > >>> don't need and all ways of excluding it have failed too. > >>> > >>> I'm doing this in Docker to hopefully avoid any potential issues with > my > >>> local machine. > >>> > >>> I've been following this document and doing as much research and > testing > >>> as I can too: > >>> > >>> > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment+on+Linux > >>> > >>> I just keep hitting issues and was hoping I could get some help from > this > >>> mailing list. > >>> > >>> Any help with this would be greatly appreciated. > >>> > >>> > >>> > >>> Dockerfile: > >>> FROM ubuntu:20.04 > >>> > >>> # Set non-interactive frontend and preconfigure tzdata > >>> ENV DEBIAN_FRONTEND=noninteractive > >>> RUN echo "tzdata tzdata/Areas select Etc" | debconf-set-selections && \ > >>> echo "tzdata tzdata/Zones/Etc select UTC" | debconf-set-selections > >>> > >>> # Install dependencies > >>> RUN apt-get update && apt-get install -y \ > >>> openjdk-11-jdk \ > >>> maven \ > >>> git \ > >>> genisoimage \ > >>> python3-setuptools \ > >>> python3-dev \ > >>> python3-pip \ > >>> mkisofs \ > >>> && apt-get clean \ > >>> && rm -rf /var/lib/apt/lists/* > >>> > >>> # Set JAVA_HOME > >>> ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 > >>> ENV PATH=$JAVA_HOME/bin:$PATH > >>> > >>> # Create working directory > >>> WORKDIR /cloudstack > >>> > >>> # Ensure Maven uses the correct Java version > >>> RUN update-alternatives --set java > >>> /usr/lib/jvm/java-11-openjdk-amd64/bin/java > >>> > >>> > >>> Docker Compose file: > >>> services: > >>> cloudstack-builder: > >>> build: > >>> context: . > >>> dockerfile: Dockerfile > >>> volumes: > >>> # Mount local CloudStack repository > >>> - /home/user/git_repos/cloudstack:/cloudstack > >>> # Mount host directory for build output > >>> - ./cloudstack-build:/cloudstack-build > >>> # Cache Maven repository > >>> - maven-repo:/root/.m2 > >>> environment: > >>> - DEBIAN_FRONTEND=noninteractive > >>> working_dir: /cloudstack > >>> command: > > >>> bash -c " > >>> mvn clean package -P developer,systemvm -DskipTests -Dnoredist > >>> -Dmaven.parallel.build=true && > >>> cp server/target/cloud-server-4.19.2.0.jar /cloudstack-build/ > || > >>> true && > >>> cp server/target/*.war /cloudstack-build/ || true > >>> " > >>> > >>> volumes: > >>> maven-repo: > >>> name: maven-repo > >>> > >>> > >>> cloudstack-builder-1 | [INFO] Apache CloudStack VMware Base > >>> .. FAILURE [ 0.045 s] > >>> cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - Hypervisor > >>> VMware ... SKIPPED > >>> cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - AP
Re: [PR] Add/Update UserData / Update SSH Keys / Add LDAP Note [cloudstack-documentation]
DaanHoogland commented on PR #495: URL: https://github.com/apache/cloudstack-documentation/pull/495#issuecomment-2834565136 note please @scottsignal , this will only be added to the documentation when v21 is released. Hope that is alright with you. If not, please rebase on an earlier branch. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] Allow users to send requests from CMK using POST requests. [cloudstack-cloudmonkey]
DaanHoogland commented on code in PR #161: URL: https://github.com/apache/cloudstack-cloudmonkey/pull/161#discussion_r2063309680 ## config/config.go: ## @@ -282,6 +284,9 @@ func saveConfig(cfg *Config) *Config { core.AutoComplete = true core.Output = JSON } + if conf.Section(ini.DEFAULT_SECTION).HasKey("postrequest") { Review Comment: @kevin-lii , @sureshanaparti sugested `**_!_**conf.Section(ini.DEFAITL_SECTION).HasKey(“postrequest”)`, you have without the negation. Are you sure this is what you intend to do? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: Building Cloudstack Issues
Thanks Wei for your help. Using the cloud-client-ui-4.19.2.0.jar,I was able to place that file on my management server and test things out. The file I built was 128MB. Not sure why the one on the management server is 150MB, and what I built from checing out 4.19.2.0 is 128MB, but it seems to be working for what I need right now. Thanks again. Jason On Mon Apr 28, 2025 at 2:33 PM EDT, Wei ZHOU wrote: > Hi Jason, > > Please refer to the second paragraph of my first reply (see below). > > the file /usr/share/cloudstack-management/lib/cloudstack-.jar is a > copy of client/target/cloud-client-ui-.jar, not > server/target/cloud-server-.jar > > > > Kind regards, > Wei > > > On Mon, Apr 28, 2025 at 8:22 PM Jason Hollis > wrote: > >> Wei, >> >> Thanks for the info, however when I do remove the -Dnoredist it does >> build successfully, but the generated .jar file is only 3.7MB. On my Test >> environment Cloudstack management server it is ~150MB. >> >> ls -alh cloudstack-build/cloud-server-4.19.2.0.jar >> -rw-r--r-- 1 root root 3.7M Apr 28 14:15 >> cloudstack-build/cloud-server-4.19.2.0.jar >> >> on test CS server: >> >> $:/usr/share/cloudstack-management/lib# ls -lahtr cloudstack* >> -rw-r--r-- 1 root root 151M Feb 26 14:06 cloudstack-4.19.2.0.jar >> >> >> What am I missing? >> >> Thanks, >> Jason >> >> >> >> On Mon Apr 28, 2025 at 1:49 PM EDT, Wei ZHOU wrote: >> > If you do not need vmware and other 3rd party jars, you can remove >> > "-Dnoredist " from the maven command. >> > >> > >> > -Wei >> > >> > >> > On Mon, Apr 28, 2025 at 7:48 PM Wei ZHOU wrote: >> > >> >> Hi, >> >> >> >> when you build with vmware support or other 3rd party jars, you need to >> >> install the jars. >> >> please refer to https://github.com/shapeblue/cloudstack-nonoss >> >> >> >> the file /usr/share/cloudstack-management/lib/cloudstack-.jar >> is >> >> a copy of client/target/cloud-client-ui-.jar, not >> >> server/target/cloud-server-.jar >> >> >> >> >> >> -Wei >> >> >> >> >> >> On Mon, Apr 28, 2025 at 7:29 PM Jason Hollis >> >> wrote: >> >> >> >>> I've been trying to get cloudstack to build with varrying results. If >> I >> >>> do get it to build by adjusting some parameters of the mvn command it >> will >> >>> be successful, but the file size for my cloud-server-4.19.2.0.jar will >> only >> >>> be 3.7MB when on my Test environment Cloudstack management server it is >> >>> ~150MB. Right now I'd like to just be able to get a successful build >> from >> >>> the 4.19.2.0 branch of the repo with NO changes, and then add my >> changes >> >>> once I get a successful build. >> >>> >> >>> Below is my current attepmt that fails on the vmware module part, that >> I >> >>> don't need and all ways of excluding it have failed too. >> >>> >> >>> I'm doing this in Docker to hopefully avoid any potential issues with >> my >> >>> local machine. >> >>> >> >>> I've been following this document and doing as much research and >> testing >> >>> as I can too: >> >>> >> >>> >> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment+on+Linux >> >>> >> >>> I just keep hitting issues and was hoping I could get some help from >> this >> >>> mailing list. >> >>> >> >>> Any help with this would be greatly appreciated. >> >>> >> >>> >> >>> >> >>> Dockerfile: >> >>> FROM ubuntu:20.04 >> >>> >> >>> # Set non-interactive frontend and preconfigure tzdata >> >>> ENV DEBIAN_FRONTEND=noninteractive >> >>> RUN echo "tzdata tzdata/Areas select Etc" | debconf-set-selections && \ >> >>> echo "tzdata tzdata/Zones/Etc select UTC" | debconf-set-selections >> >>> >> >>> # Install dependencies >> >>> RUN apt-get update && apt-get install -y \ >> >>> openjdk-11-jdk \ >> >>> maven \ >> >>> git \ >> >>> genisoimage \ >> >>> python3-setuptools \ >> >>> python3-dev \ >> >>> python3-pip \ >> >>> mkisofs \ >> >>> && apt-get clean \ >> >>> && rm -rf /var/lib/apt/lists/* >> >>> >> >>> # Set JAVA_HOME >> >>> ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 >> >>> ENV PATH=$JAVA_HOME/bin:$PATH >> >>> >> >>> # Create working directory >> >>> WORKDIR /cloudstack >> >>> >> >>> # Ensure Maven uses the correct Java version >> >>> RUN update-alternatives --set java >> >>> /usr/lib/jvm/java-11-openjdk-amd64/bin/java >> >>> >> >>> >> >>> Docker Compose file: >> >>> services: >> >>> cloudstack-builder: >> >>> build: >> >>> context: . >> >>> dockerfile: Dockerfile >> >>> volumes: >> >>> # Mount local CloudStack repository >> >>> - /home/user/git_repos/cloudstack:/cloudstack >> >>> # Mount host directory for build output >> >>> - ./cloudstack-build:/cloudstack-build >> >>> # Cache Maven repository >> >>> - maven-repo:/root/.m2 >> >>> environment: >> >>> - DEBIAN_FRONTEND=noninteractive >> >>> working_dir: /cloudstack >> >>> command: > >> >>> bash -c " >> >>> mvn clean package -P developer,systemvm -DskipTests -Dnoredist >>
[PR] notes on guest os category changes and modern image selection [cloudstack-documentation]
shwstppr opened a new pull request, #500: URL: https://github.com/apache/cloudstack-documentation/pull/500 Related #10773 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] notes on guest os category changes and modern image selection [cloudstack-documentation]
shwstppr commented on PR #500: URL: https://github.com/apache/cloudstack-documentation/pull/500#issuecomment-2835077877 @blueorangutan docbuild -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] notes on guest os category changes and modern image selection [cloudstack-documentation]
blueorangutan commented on PR #500: URL: https://github.com/apache/cloudstack-documentation/pull/500#issuecomment-2835079435 @shwstppr a Jenkins job has been kicked to build the document. I'll keep you posted as I make progress. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] notes on guest os category changes and modern image selection [cloudstack-documentation]
blueorangutan commented on PR #500: URL: https://github.com/apache/cloudstack-documentation/pull/500#issuecomment-2835082136 QA-Doc build preview: https://qa.cloudstack.cloud/builds/docs-build/pr/500. (QA-JID 330) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[I] Unable to get the loadbalancer IP's in a CKS Cluster deployed in a VPC [cloudstack-kubernetes-provider]
kiranchavala opened a new issue, #76: URL: https://github.com/apache/cloudstack-kubernetes-provider/issues/76 Steps to reproduce the issue Env details Cloudstack version 4.20.0 KVM 1. Create a vpc network 2. Create a tier in the vpc network (step1) 3. Deploy a cks cluster in the tier (step 2) 4. Deploy a nginx application 5. Expose the application via loadbalancer IP 6. There is no loadbalancer IP associated Exception in the logs of ``` I0428 10:38:28.410408 1 serving.go:348] Generated self-signed cert in-memory W0428 10:38:41.113777 1 client_config.go:617] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work. I0428 10:38:41.308527 1 controllermanager.go:143] Version: v0.0.0-master+$Format:%H$ I0428 10:38:41.318197 1 secure_serving.go:210] Serving securely on [::]:10258 I0428 10:38:41.408664 1 requestheader_controller.go:169] Starting RequestHeaderAuthRequestController I0428 10:38:41.409763 1 leaderelection.go:248] attempting to acquire leader lease kube-system/cloud-controller-manager... I0428 10:38:41.410704 1 shared_informer.go:252] Waiting for caches to sync for RequestHeaderAuthRequestController I0428 10:38:41.408700 1 configmap_cafile_content.go:202] "Starting controller" name="client-ca::kube-system::extension-apiserver-authentication::client-ca-file" I0428 10:38:41.411011 1 shared_informer.go:252] Waiting for caches to sync for client-ca::kube-system::extension-apiserver-authentication::client-ca-file I0428 10:38:41.408713 1 configmap_cafile_content.go:202] "Starting controller" name="client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file" I0428 10:38:41.411049 1 shared_informer.go:252] Waiting for caches to sync for client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file I0428 10:38:41.408715 1 tlsconfig.go:240] "Starting DynamicServingCertificateController" I0428 10:38:41.811240 1 shared_informer.go:259] Caches are synced for client-ca::kube-system::extension-apiserver-authentication::client-ca-file I0428 10:38:41.911994 1 shared_informer.go:259] Caches are synced for client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file I0428 10:38:41.912114 1 shared_informer.go:259] Caches are synced for RequestHeaderAuthRequestController I0428 10:38:42.008685 1 leaderelection.go:258] successfully acquired lease kube-system/cloud-controller-manager I0428 10:38:42.111469 1 event.go:294] "Event occurred" object="kube-system/cloud-controller-manager" fieldPath="" kind="Lease" apiVersion="coordination.k8s.io/v1" type="Normal" reason="LeaderElection" message="cloud-controller-manager-79d84c86b7-cc7td_886c7ad3-ef3e-4373-8a10-2dbccc00b094 became leader" I0428 10:38:42.912253 1 node_controller.go:118] Sending events to api server. I0428 10:38:42.913064 1 controllermanager.go:291] Started "cloud-node" I0428 10:38:42.913243 1 node_controller.go:157] Waiting for informer caches to sync I0428 10:38:42.913822 1 node_lifecycle_controller.go:77] Sending events to api server I0428 10:38:42.914003 1 controllermanager.go:291] Started "cloud-node-lifecycle" I0428 10:38:42.914837 1 controllermanager.go:291] Started "service" W0428 10:38:42.914960 1 cloudstack.go:156] This cloud provider doesn't support routes W0428 10:38:42.915053 1 core.go:110] --configure-cloud-routes is set, but cloud provider does not support routes. Will not configure cloud provider routes. W0428 10:38:42.915192 1 controllermanager.go:279] Skipping "route" I0428 10:38:42.914962 1 controller.go:233] Starting service controller I0428 10:38:42.915444 1 shared_informer.go:252] Waiting for caches to sync for service I0428 10:38:43.308269 1 shared_informer.go:259] Caches are synced for service E0428 10:39:13.414707 1 node_controller.go:249] Error getting instance metadata for node addresses: error retrieving instance type: Get "http://10.0.34.111:8080/client/api?apiKey=VUhQVl5vc4ouQq0Ht2CebJfO9jcaLZsL79MTvg7NO9viUYuNA2nSvyE2FEls8WQvzT-wtlz4X56ulbJgIADDvA&command=listVirtualMachines&name=test-control-1967bf69986&response=json&signature=nksb%2FWrsHGLrRO%2FvabnzV2igIPE%3D": dial tcp 10.0.34.111:8080: i/o timeout I0428 10:39:22.010102 1 event.go:294] "Event occurred" object="default/nginx-deployment" fieldPath="" kind="Service" apiVersion="v1" type="Normal" reason="EnsuringLoadBalancer" message="Ensuring load balancer" E0428 10:39:43.416042 1 node_controller.go:249] Error getting instance metadata for node addresses: error retrieving instance type: Get "http://10.0.34.111:8080/client/api?apiKey=VUhQVl5vc4ouQq0Ht2CebJfO9jcaLZsL79MTv
Re: [PR] Instructions about alerts via SMTP and Thresholds [cloudstack-documentation]
DaanHoogland merged PR #498: URL: https://github.com/apache/cloudstack-documentation/pull/498 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] Add/Update UserData / Update SSH Keys / Add LDAP Note [cloudstack-documentation]
scottsignal commented on PR #495: URL: https://github.com/apache/cloudstack-documentation/pull/495#issuecomment-2835474941 > note please @scottsignal , this will only be added to the documentation when v21 is released. Hope that is alright with you. If not, please rebase on an earlier branch. This is fine. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] Add/Update UserData / Update SSH Keys / Add LDAP Note [cloudstack-documentation]
DaanHoogland merged PR #495: URL: https://github.com/apache/cloudstack-documentation/pull/495 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: Building Cloudstack Issues
Wei, Thanks for the info, however when I do remove the -Dnoredist it does build successfully, but the generated .jar file is only 3.7MB. On my Test environment Cloudstack management server it is ~150MB. ls -alh cloudstack-build/cloud-server-4.19.2.0.jar -rw-r--r-- 1 root root 3.7M Apr 28 14:15 cloudstack-build/cloud-server-4.19.2.0.jar on test CS server: $:/usr/share/cloudstack-management/lib# ls -lahtr cloudstack* -rw-r--r-- 1 root root 151M Feb 26 14:06 cloudstack-4.19.2.0.jar What am I missing? Thanks, Jason On Mon Apr 28, 2025 at 1:49 PM EDT, Wei ZHOU wrote: > If you do not need vmware and other 3rd party jars, you can remove > "-Dnoredist " from the maven command. > > > -Wei > > > On Mon, Apr 28, 2025 at 7:48 PM Wei ZHOU wrote: > >> Hi, >> >> when you build with vmware support or other 3rd party jars, you need to >> install the jars. >> please refer to https://github.com/shapeblue/cloudstack-nonoss >> >> the file /usr/share/cloudstack-management/lib/cloudstack-.jar is >> a copy of client/target/cloud-client-ui-.jar, not >> server/target/cloud-server-.jar >> >> >> -Wei >> >> >> On Mon, Apr 28, 2025 at 7:29 PM Jason Hollis >> wrote: >> >>> I've been trying to get cloudstack to build with varrying results. If I >>> do get it to build by adjusting some parameters of the mvn command it will >>> be successful, but the file size for my cloud-server-4.19.2.0.jar will only >>> be 3.7MB when on my Test environment Cloudstack management server it is >>> ~150MB. Right now I'd like to just be able to get a successful build from >>> the 4.19.2.0 branch of the repo with NO changes, and then add my changes >>> once I get a successful build. >>> >>> Below is my current attepmt that fails on the vmware module part, that I >>> don't need and all ways of excluding it have failed too. >>> >>> I'm doing this in Docker to hopefully avoid any potential issues with my >>> local machine. >>> >>> I've been following this document and doing as much research and testing >>> as I can too: >>> >>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment+on+Linux >>> >>> I just keep hitting issues and was hoping I could get some help from this >>> mailing list. >>> >>> Any help with this would be greatly appreciated. >>> >>> >>> >>> Dockerfile: >>> FROM ubuntu:20.04 >>> >>> # Set non-interactive frontend and preconfigure tzdata >>> ENV DEBIAN_FRONTEND=noninteractive >>> RUN echo "tzdata tzdata/Areas select Etc" | debconf-set-selections && \ >>> echo "tzdata tzdata/Zones/Etc select UTC" | debconf-set-selections >>> >>> # Install dependencies >>> RUN apt-get update && apt-get install -y \ >>> openjdk-11-jdk \ >>> maven \ >>> git \ >>> genisoimage \ >>> python3-setuptools \ >>> python3-dev \ >>> python3-pip \ >>> mkisofs \ >>> && apt-get clean \ >>> && rm -rf /var/lib/apt/lists/* >>> >>> # Set JAVA_HOME >>> ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 >>> ENV PATH=$JAVA_HOME/bin:$PATH >>> >>> # Create working directory >>> WORKDIR /cloudstack >>> >>> # Ensure Maven uses the correct Java version >>> RUN update-alternatives --set java >>> /usr/lib/jvm/java-11-openjdk-amd64/bin/java >>> >>> >>> Docker Compose file: >>> services: >>> cloudstack-builder: >>> build: >>> context: . >>> dockerfile: Dockerfile >>> volumes: >>> # Mount local CloudStack repository >>> - /home/user/git_repos/cloudstack:/cloudstack >>> # Mount host directory for build output >>> - ./cloudstack-build:/cloudstack-build >>> # Cache Maven repository >>> - maven-repo:/root/.m2 >>> environment: >>> - DEBIAN_FRONTEND=noninteractive >>> working_dir: /cloudstack >>> command: > >>> bash -c " >>> mvn clean package -P developer,systemvm -DskipTests -Dnoredist >>> -Dmaven.parallel.build=true && >>> cp server/target/cloud-server-4.19.2.0.jar /cloudstack-build/ || >>> true && >>> cp server/target/*.war /cloudstack-build/ || true >>> " >>> >>> volumes: >>> maven-repo: >>> name: maven-repo >>> >>> >>> cloudstack-builder-1 | [INFO] Apache CloudStack VMware Base >>> .. FAILURE [ 0.045 s] >>> cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - Hypervisor >>> VMware ... SKIPPED >>> cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - API VMware SIOC >>> . SKIPPED >>> cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - Veeam Backup >>> and Recovery Plugin SKIPPED >>> cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - Cisco VNMC >>> .. SKIPPED >>> cloudstack-builder-1 | [INFO] Apache CloudStack Framework - Spring Life >>> Cycle SKIPPED >>> cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - Network Juniper >>> Contrail SKIPPED >>> cloudstack-builder-1 | [INFO] Apache CloudStack Plugin - Tungsten-Fabric >>> Network . SKIPPED >>> cloudstack-builder-1 | [INFO] Apache CloudStack Plugin -