Re: Still struggling for steps to build pls help

2024-03-20 Thread Wingrunt Platform
Copied below - th management-server.log.
Looking forward to hearing from you.


2024-03-20 17:17:18,407 DEBUG [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(main:null) (logid:) Trying to obtain module [nested-cloudstack] context.
2024-03-20 17:17:18,407 DEBUG [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(main:null) (logid:) Trying to load module [nested-cloudstack] context.
2024-03-20 17:17:18,407 INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(main:null) (logid:) Loading module context [nested-cloudstack] from URL
[jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.0.0.jar!/META-INF/cloudstack/nested-cloudstack/spring-nested-cloudstack-context.xml]
2024-03-20 17:17:18,407 INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(main:null) (logid:) Loading module context [nested-cloudstack] from URL
[jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.0.0.jar!/META-INF/cloudstack/outofbandmanagement/spring-core-lifecycle-outofbandmanagement-context-inheritable.xml]
2024-03-20 17:17:18,407 INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(main:null) (logid:) Loading module context [nested-cloudstack] from URL
[jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.0.0.jar!/META-INF/cloudstack/core/spring-core-lifecycle-core-context-inheritable.xml]
2024-03-20 17:17:18,407 INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(main:null) (logid:) Loading module context [nested-cloudstack] from URL
[jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.0.0.jar!/META-INF/cloudstack/system/spring-core-system-context-inheritable.xml]
2024-03-20 17:17:18,407 INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(main:null) (logid:) Loading module context [nested-cloudstack] from URL
[jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.0.0.jar!/META-INF/cloudstack/system/spring-framework-config-system-context-inheritable.xml]
2024-03-20 17:17:18,407 INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(main:null) (logid:) Loading module context [nested-cloudstack] from URL
[jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.0.0.jar!/META-INF/cloudstack/system/spring-contrail-system-context-inheritable.xml]
2024-03-20 17:17:18,407 INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(main:null) (logid:) Loading module context [nested-cloudstack] from URL
[jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.0.0.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]
2024-03-20 17:17:18,419 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(main:null) (logid:) Failed to start module [nested-cloudstack] due to:
[Error creating bean with name
'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0'
defined in URL
[jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.0.0.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]:
Cannot resolve reference to bean 'DefaultConfigResources' while setting
bean property 'locations'; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'DefaultConfigResources' available].
2024-03-20 17:17:18,419 DEBUG [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
(main:null) (logid:) module start failure of module [nested-cloudstack] was
due to:
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name
'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0'
defined in URL
[jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.0.0.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]:
Cannot resolve reference to bean 'DefaultConfigResources' while setting
bean property 'locations'; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'DefaultConfigResources' available
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1707)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1452)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at

Re: Still struggling for steps to build pls help

2024-03-20 Thread Pearl d'Silva
It would be helpful if you could paste the entire stacktrace of the exception 
thrown.
 



From: Wingrunt Platform 
Sent: March 20, 2024 5:56 PM
To: users@cloudstack.apache.org 
Subject: Re: Still struggling for steps to build pls help

Now I am getting 503 error going by your documentation. When I tried to do
simple installation, I was getting the same issue. Says uri /client/ status
503 , Service Unavailable on SERVLET : 

In log I get
Trying to obtain module [bootstrap] context
Could not get module [bootstrap]. context bean
Trying to obtain module [bootstrap] context

Just above it gives an
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImp;l
Constructor threw exception.

My DB is up and running

Appreciate your help

Thank you,
Regards,
RSK ..

On Wed, Mar 20, 2024 at 2:50 PM Wei ZHOU  wrote:

> You can refer to another page in the same repository As Pearl mentioned.
>
>
> https://github.com/shapeblue/hackerbook/blob/main/2-dev.md#cloudstack-packaging
>
> If you want to support VMware, please add "noredist" flag. The dependecies
> need to be installed.
>
> -Wei
>
>
> On Wednesday, March 20, 2024, Wingrunt Platform 
> wrote:
>
> > Any help with this please ? Documentation could be much better I think.
> > Please let me know how to go about this. OR a source compile is currently
> > not supported ? Thank you Regards, RSK
> >
> > On Tue, Mar 19, 2024 at 3:19 PM Wingrunt Platform 
> > wrote:
> >
> > > Hi Team,
> > > I am tasked with evaluation of cloudstack and others such as
> openstack. I
> > > was able to get through with openstack but not cloudstack. I tried all
> > that
> > > is in README . My versions
> > > a. cloudstack 4.19
> > > b. Java (tried 1.8 as per readme and also Java 11 and 17)
> > > c. It breaks at gmaven in package cloud-engine-schma
> > > d. Changed it to gmavenplus as there is no support for gmaven as of
> now.
> > > e. Groovy included in the pom
> > > f. Maven version 3.6.3
> > >
> > > I was able to install mysql appropriate version specified in README and
> > in
> > > the online apache cloudstack docs. DBs are in good condition.
> > > It wouldn't build successfully with
> > > maven -P deps (This as per online somebody has said you have moved away
> > > from this since 4.11 ?
> > > also tried that in README including -DskipTests
> > >
> > > Any latest documents that can help me build. Any help appreciated.
> > >
> > > Thank you,
> > > Regards,
> > > RSK
> > >
> >
>


Re: Still struggling for steps to build pls help

2024-03-20 Thread Wingrunt Platform
Now I am getting 503 error going by your documentation. When I tried to do
simple installation, I was getting the same issue. Says uri /client/ status
503 , Service Unavailable on SERVLET : 

In log I get
Trying to obtain module [bootstrap] context
Could not get module [bootstrap]. context bean
Trying to obtain module [bootstrap] context

Just above it gives an
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImp;l
Constructor threw exception.

My DB is up and running

Appreciate your help

Thank you,
Regards,
RSK ..

On Wed, Mar 20, 2024 at 2:50 PM Wei ZHOU  wrote:

> You can refer to another page in the same repository As Pearl mentioned.
>
>
> https://github.com/shapeblue/hackerbook/blob/main/2-dev.md#cloudstack-packaging
>
> If you want to support VMware, please add "noredist" flag. The dependecies
> need to be installed.
>
> -Wei
>
>
> On Wednesday, March 20, 2024, Wingrunt Platform 
> wrote:
>
> > Any help with this please ? Documentation could be much better I think.
> > Please let me know how to go about this. OR a source compile is currently
> > not supported ? Thank you Regards, RSK
> >
> > On Tue, Mar 19, 2024 at 3:19 PM Wingrunt Platform 
> > wrote:
> >
> > > Hi Team,
> > > I am tasked with evaluation of cloudstack and others such as
> openstack. I
> > > was able to get through with openstack but not cloudstack. I tried all
> > that
> > > is in README . My versions
> > > a. cloudstack 4.19
> > > b. Java (tried 1.8 as per readme and also Java 11 and 17)
> > > c. It breaks at gmaven in package cloud-engine-schma
> > > d. Changed it to gmavenplus as there is no support for gmaven as of
> now.
> > > e. Groovy included in the pom
> > > f. Maven version 3.6.3
> > >
> > > I was able to install mysql appropriate version specified in README and
> > in
> > > the online apache cloudstack docs. DBs are in good condition.
> > > It wouldn't build successfully with
> > > maven -P deps (This as per online somebody has said you have moved away
> > > from this since 4.11 ?
> > > also tried that in README including -DskipTests
> > >
> > > Any latest documents that can help me build. Any help appreciated.
> > >
> > > Thank you,
> > > Regards,
> > > RSK
> > >
> >
>


Re: Still struggling for steps to build pls help

2024-03-20 Thread Wei ZHOU
You can refer to another page in the same repository As Pearl mentioned.

https://github.com/shapeblue/hackerbook/blob/main/2-dev.md#cloudstack-packaging

If you want to support VMware, please add "noredist" flag. The dependecies
need to be installed.

-Wei


On Wednesday, March 20, 2024, Wingrunt Platform  wrote:

> Any help with this please ? Documentation could be much better I think.
> Please let me know how to go about this. OR a source compile is currently
> not supported ? Thank you Regards, RSK
>
> On Tue, Mar 19, 2024 at 3:19 PM Wingrunt Platform 
> wrote:
>
> > Hi Team,
> > I am tasked with evaluation of cloudstack and others such as openstack. I
> > was able to get through with openstack but not cloudstack. I tried all
> that
> > is in README . My versions
> > a. cloudstack 4.19
> > b. Java (tried 1.8 as per readme and also Java 11 and 17)
> > c. It breaks at gmaven in package cloud-engine-schma
> > d. Changed it to gmavenplus as there is no support for gmaven as of now.
> > e. Groovy included in the pom
> > f. Maven version 3.6.3
> >
> > I was able to install mysql appropriate version specified in README and
> in
> > the online apache cloudstack docs. DBs are in good condition.
> > It wouldn't build successfully with
> > maven -P deps (This as per online somebody has said you have moved away
> > from this since 4.11 ?
> > also tried that in README including -DskipTests
> >
> > Any latest documents that can help me build. Any help appreciated.
> >
> > Thank you,
> > Regards,
> > RSK
> >
>


Re: GPU discovery in the hypervisor

2024-03-20 Thread Nux

Thanks Pierre-Luc

On 2024-03-19 15:01, Pierre-Luc Dion wrote:

yes,



On Fri, Mar 15, 2024 at 5:34 AM Nux  wrote:


Pierre-Luc,

Thanks for that. So for my own clarification, you are saying that for
you, on XenServer Enterprise + drivers + licensing the vGPU feature
"just works" out of the box using the standard Cloudstack feature (the
same that supported NVidia Grid k1/k2 all those years ago) which we 
can

find in the UI/API when definning compute offerings, correct?

Regards

On 2024-03-11 20:06, Pierre-Luc Dion wrote:
> The way we've been delivering GPU offering with Cloudstack is by using
> host
> tags.
> So each host with a specific GPU has the host tags, example: a16,
> and the compute offering with the GPU definition also use the hosttag
> a16.
>
> We've been using this with XenServer Enterprise and so far , no issue
> for
> GPU and vGPU support.
>
>
> Nux: vGPU and GPU are more attractive than ever with AI inferencing
> workload, GPU for AI and desktop, vGPU for desktop mostly.
>
>
> On Tue, Feb 27, 2024 at 7:00 AM Nux  wrote:
>
>> This sounds foreign to me, afaik GPU support is limited to certain
>> (old)
>> NVIDIA Grid cards on Xenserver Enterprise.
>> Modern GPUs are not supported out of the box, although of course many
>> here do use them by means of custom xml/groovy scripts.
>>
>> How you detect them, no idea, let's see how other users do it, if they
>> care to share.
>>
>> On 2024-02-26 18:00, Douglas Oliveira wrote:
>> > Hello,
>> > How does the GPU discovery process work on the hypervisor with SC,
>> > something similar to what Opennebula does? (through lspci)
>> > I currently have a service offering created via API for an Nvidia A16
>> > GPU,
>> > which does not work because it is informed that there are no hosts
>> > available to serve the resource. So I'm unsure whether what doesn't
>> > work is
>> > the service offering or the non-detection of the GPU on the host.
>> >
>> > Regards
>>



Re: Still struggling for steps to build pls help

2024-03-20 Thread Nux

Pearl has replied to you, have you not seen her reply?

https://lists.apache.org/thread/r2onjk6xvoddw20fkrjm29bhn3xzozym

On 2024-03-20 20:26, Wingrunt Platform wrote:

Any help with this please ? Documentation could be much better I think.
Please let me know how to go about this. OR a source compile is 
currently

not supported ? Thank you Regards, RSK

On Tue, Mar 19, 2024 at 3:19 PM Wingrunt Platform 
wrote:


Hi Team,
I am tasked with evaluation of cloudstack and others such as 
openstack. I
was able to get through with openstack but not cloudstack. I tried all 
that

is in README . My versions
a. cloudstack 4.19
b. Java (tried 1.8 as per readme and also Java 11 and 17)
c. It breaks at gmaven in package cloud-engine-schma
d. Changed it to gmavenplus as there is no support for gmaven as of 
now.

e. Groovy included in the pom
f. Maven version 3.6.3

I was able to install mysql appropriate version specified in README 
and in

the online apache cloudstack docs. DBs are in good condition.
It wouldn't build successfully with
maven -P deps (This as per online somebody has said you have moved 
away

from this since 4.11 ?
also tried that in README including -DskipTests

Any latest documents that can help me build. Any help appreciated.

Thank you,
Regards,
RSK



Re: Still struggling for steps to build pls help

2024-03-20 Thread Wingrunt Platform
Any help with this please ? Documentation could be much better I think.
Please let me know how to go about this. OR a source compile is currently
not supported ? Thank you Regards, RSK

On Tue, Mar 19, 2024 at 3:19 PM Wingrunt Platform 
wrote:

> Hi Team,
> I am tasked with evaluation of cloudstack and others such as openstack. I
> was able to get through with openstack but not cloudstack. I tried all that
> is in README . My versions
> a. cloudstack 4.19
> b. Java (tried 1.8 as per readme and also Java 11 and 17)
> c. It breaks at gmaven in package cloud-engine-schma
> d. Changed it to gmavenplus as there is no support for gmaven as of now.
> e. Groovy included in the pom
> f. Maven version 3.6.3
>
> I was able to install mysql appropriate version specified in README and in
> the online apache cloudstack docs. DBs are in good condition.
> It wouldn't build successfully with
> maven -P deps (This as per online somebody has said you have moved away
> from this since 4.11 ?
> also tried that in README including -DskipTests
>
> Any latest documents that can help me build. Any help appreciated.
>
> Thank you,
> Regards,
> RSK
>


Change network offering of a guest network

2024-03-20 Thread jordan j
Hi everyone,

Running a 4.17.2 CS cluster with Advanced network with several guest
networks that use the same network offering with the following services:
-  Security Groups
- DHCP
- User data

Recently a conversation arose about whether we may add a DNS to service one
of the networks. I I started looking for a way to change the Network
offering of a guest network that is already in use.
The documentation says it is possible and also shows how to do it.
https://docs.cloudstack.apache.org/en/4.17.2.0/adminguide/networking_and_traffic.html#changing-the-network-offering-on-a-guest-network

But entering the gui, there is no such option available when editing the
user network.

Is there any reason why and is there any way to make it appear and
reconfigure?

Best  regards,
Jordan