Re: Instance with SSH Key pair

2023-01-31 Thread Nux
Or if you want something _very_ small & quick to deploy which supports 
password feature, sshkey as well as user scripts:

http://dl.openvm.eu/cloudstack/macchinina/x86_64/macchinina-kvm.qcow2.bz2

If you add it without "password enabled", then you can login as 
root/password similar to CentOS one.


There are also other templates there on that site, albeit a bit stale, 
but most are working.


On 2023-01-31 22:03, Wei ZHOU wrote:

Hi,

The built-in centos 5.5 template does not support sshkey in configdrive 
iso.


You can use my template for testing , which is also used by component 
test

test_configdrive.py. You can register the template with url
http://people.apache.org/~weizhou/centos55-sshkey-configdrive.qcow2.bz2

-Wei


On Tuesday, 31 January 2023, Stuart Whitman 


wrote:


Hello,

When I launch an instance with an SSH key pair selected using the 
CentOS
5.5(64-bit) no GUI (KVM) template that comes with CloudStack, I cannot 
sign

in using the SSH key. I configured the zone with basic networking and
enabled the ConfigDrive network service provider.

The instance runs, and I can use SSH to sign in to the root account 
using

the default password.

Any help would be appreciated; thanks,
-Stu
_
The information contained in this e-mail and any attachments from 
Group W
may contain confidential and/or proprietary information and is 
intended
only for the named recipient to whom it was originally addressed. If 
you
are not the intended recipient, be aware that any disclosure, 
distribution,
or copying of this e-mail or its attachments is strictly prohibited. 
If you
have received this e-mail in error, please notify the sender 
immediately of

that fact by return e-mail and permanently delete the e-mail and any
attachments to it.



Re: Adding Host in new Zone fails

2023-01-31 Thread Nux

Glad you got it working.
Usually you'd have a regular interface such as "eth0" connected in that 
bridge.


On 2023-01-31 20:02, Evan Marchman wrote:

Thank you for the help Nux!

Your comment on the bridges put me on the right path. Everything was 
indeed
configured correctly. BUT, as VMs were created the MAC address of 
cloudbr0
changed. This explains why the host was mostly configured and then 
dropped

off at the end.

My fix was to add a dummy interface to the cloudbr0 bridge with a low 
MAC.

This keeps the bridge MAC stable throughout the setup and subsequent
operation. Maybe this is brute force but it got me over the hump.

-Evan


On Tue, Jan 31, 2023 at 10:28 AM Nux  wrote:


Making sure that indeed all your bridges are in order, your agent can
connect to the management server (eg telnet to mgmt:8250) and starting
with a clean /etc/cloudstack/agent as well as libvirtd set to
listen_tcp=1 and listen_tls=0, try to add the host again and if it 
fails

send us again DEBUG logs.
Also make sure iptables and selinux are off.

On 2023-01-31 15:45, Evan Marchman wrote:
> I've tried a few more things with no luck. Fully re-installed the
> agent,
> further verified open ports, checked the disks, etc. I keep getting the
> same errors. Any pointers are appreciated!
>
> Thanks!
> -Evan
>
>
> On Thu, Jan 26, 2023 at 5:47 PM Evan Marchman
> 
> wrote:
>
>> I'm stumped. I am trying to add a new off-site zone, which I've
>> already
>> done 3 times from the same management server. This fourth system is
>> thwarting my efforts. It should be a clone of the process I used on
>> the
>> last two. The only delta is this one is a bare metal system in a data
>> center I can't touch. The base OS was installed by the data center but
>> is
>> still CentOS 7.9. It is possible the host has something in the network
>> config I have missed but I cannot find it.
>>
>> The GUI is giving me "Error 530 - Unable to add the host: Cannot find
>> the
>> server resources at http://10.120.10.2"; In the management log I see:
>>
>> Failed to handle host connection:
>> com.cloud.exception.ConnectionException:
>> Incorrect Network setup on agent, Reinitialize agent after network
>> names
>> are setup, details : Can not find network: cloudbr0
>>
>>
>> I have checked and rechecked the network config on the host. cloudbr0
>> is
>> there and properly configured as a bridge. All of my communications
>> with
>> the host are via this interface so I know it's up. I've compared
>> settings
>> on the host and in the Physical Network to my working zones and
>> everything
>> matches. The agent.properties file has the correct "cloudbr0" entries
>> as
>> expected (and no extras).
>>
>> The remote system is connected via VPN. I have verified the VPN is
>> fully
>> functional. The new host has the firewall disabled and iptables
>> entries for
>> all the host/agent ports. I've used nmap to verify connectivity
>> between the
>> management server and the host and that the required ports are
>> actually
>> open. The zone, pod and cluster are all correctly added. I manually
>> added
>> secondary NFS storage successfully.
>>
>> I have posted the relevant management and agent logs here.
>> management.log
>> <
https://drive.google.com/file/d/1UuiD85rzgrJ9zA9_snhad76CAm1b8BTU/view?usp=sharing
>
>> agent.log
>> <
https://drive.google.com/file/d/1z9FfeCuHw05R1Zk5Hqr6IIPW8_W5Wr-N/view?usp=sharing
>
>>
>> You'll see where I removed the host at the start of the logs then
>> re-add
>> it. On the host side, I cleared relevant agent.properties, deleted the
>> cloud.* key files and restarted the agent prior to this test.
>>
>> I'm still a cloudstack newbie so I totally expect that I missed
>> something
>> or slipped in a typo; but I'm not seeing it. Help and pointers are
>> very
>> appreciated!
>>
>> Regards,
>> Evan
>>



Re: Instance with SSH Key pair

2023-01-31 Thread Wei ZHOU
Hi,

The built-in centos 5.5 template does not support sshkey in configdrive iso.

You can use my template for testing , which is also used by component test
test_configdrive.py. You can register the template with url
http://people.apache.org/~weizhou/centos55-sshkey-configdrive.qcow2.bz2

-Wei


On Tuesday, 31 January 2023, Stuart Whitman 
wrote:

> Hello,
>
> When I launch an instance with an SSH key pair selected using the CentOS
> 5.5(64-bit) no GUI (KVM) template that comes with CloudStack, I cannot sign
> in using the SSH key. I configured the zone with basic networking and
> enabled the ConfigDrive network service provider.
>
> The instance runs, and I can use SSH to sign in to the root account using
> the default password.
>
> Any help would be appreciated; thanks,
> -Stu
> _
> The information contained in this e-mail and any attachments from Group W
> may contain confidential and/or proprietary information and is intended
> only for the named recipient to whom it was originally addressed. If you
> are not the intended recipient, be aware that any disclosure, distribution,
> or copying of this e-mail or its attachments is strictly prohibited. If you
> have received this e-mail in error, please notify the sender immediately of
> that fact by return e-mail and permanently delete the e-mail and any
> attachments to it.
>


Re: Adding Host in new Zone fails

2023-01-31 Thread Evan Marchman
Thank you for the help Nux!

Your comment on the bridges put me on the right path. Everything was indeed
configured correctly. BUT, as VMs were created the MAC address of cloudbr0
changed. This explains why the host was mostly configured and then dropped
off at the end.

My fix was to add a dummy interface to the cloudbr0 bridge with a low MAC.
This keeps the bridge MAC stable throughout the setup and subsequent
operation. Maybe this is brute force but it got me over the hump.

-Evan


On Tue, Jan 31, 2023 at 10:28 AM Nux  wrote:

> Making sure that indeed all your bridges are in order, your agent can
> connect to the management server (eg telnet to mgmt:8250) and starting
> with a clean /etc/cloudstack/agent as well as libvirtd set to
> listen_tcp=1 and listen_tls=0, try to add the host again and if it fails
> send us again DEBUG logs.
> Also make sure iptables and selinux are off.
>
> On 2023-01-31 15:45, Evan Marchman wrote:
> > I've tried a few more things with no luck. Fully re-installed the
> > agent,
> > further verified open ports, checked the disks, etc. I keep getting the
> > same errors. Any pointers are appreciated!
> >
> > Thanks!
> > -Evan
> >
> >
> > On Thu, Jan 26, 2023 at 5:47 PM Evan Marchman
> > 
> > wrote:
> >
> >> I'm stumped. I am trying to add a new off-site zone, which I've
> >> already
> >> done 3 times from the same management server. This fourth system is
> >> thwarting my efforts. It should be a clone of the process I used on
> >> the
> >> last two. The only delta is this one is a bare metal system in a data
> >> center I can't touch. The base OS was installed by the data center but
> >> is
> >> still CentOS 7.9. It is possible the host has something in the network
> >> config I have missed but I cannot find it.
> >>
> >> The GUI is giving me "Error 530 - Unable to add the host: Cannot find
> >> the
> >> server resources at http://10.120.10.2"; In the management log I see:
> >>
> >> Failed to handle host connection:
> >> com.cloud.exception.ConnectionException:
> >> Incorrect Network setup on agent, Reinitialize agent after network
> >> names
> >> are setup, details : Can not find network: cloudbr0
> >>
> >>
> >> I have checked and rechecked the network config on the host. cloudbr0
> >> is
> >> there and properly configured as a bridge. All of my communications
> >> with
> >> the host are via this interface so I know it's up. I've compared
> >> settings
> >> on the host and in the Physical Network to my working zones and
> >> everything
> >> matches. The agent.properties file has the correct "cloudbr0" entries
> >> as
> >> expected (and no extras).
> >>
> >> The remote system is connected via VPN. I have verified the VPN is
> >> fully
> >> functional. The new host has the firewall disabled and iptables
> >> entries for
> >> all the host/agent ports. I've used nmap to verify connectivity
> >> between the
> >> management server and the host and that the required ports are
> >> actually
> >> open. The zone, pod and cluster are all correctly added. I manually
> >> added
> >> secondary NFS storage successfully.
> >>
> >> I have posted the relevant management and agent logs here.
> >> management.log
> >> <
> https://drive.google.com/file/d/1UuiD85rzgrJ9zA9_snhad76CAm1b8BTU/view?usp=sharing
> >
> >> agent.log
> >> <
> https://drive.google.com/file/d/1z9FfeCuHw05R1Zk5Hqr6IIPW8_W5Wr-N/view?usp=sharing
> >
> >>
> >> You'll see where I removed the host at the start of the logs then
> >> re-add
> >> it. On the host side, I cleared relevant agent.properties, deleted the
> >> cloud.* key files and restarted the agent prior to this test.
> >>
> >> I'm still a cloudstack newbie so I totally expect that I missed
> >> something
> >> or slipped in a typo; but I'm not seeing it. Help and pointers are
> >> very
> >> appreciated!
> >>
> >> Regards,
> >> Evan
> >>
>


Re: Instance with SSH Key pair

2023-01-31 Thread Vivek Kumar
I am not sure if that template has cloud-init installed or not, so cloud-init 
enabled templates with cloudstack datasource are usually work with ssh-keys. So 
check if you have cloud-init package installed or not.  

https://docs.cloudstack.apache.org/en/latest/adminguide/templates/_cloud_init.html


Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com 
www.indiqus.com 




> On 01-Feb-2023, at 12:21 AM, Stuart Whitman  
> wrote:
> 
> Hello,
> 
> When I launch an instance with an SSH key pair selected using the CentOS 
> 5.5(64-bit) no GUI (KVM) template that comes with CloudStack, I cannot sign 
> in using the SSH key. I configured the zone with basic networking and enabled 
> the ConfigDrive network service provider.
> 
> The instance runs, and I can use SSH to sign in to the root account using the 
> default password.
> 
> Any help would be appreciated; thanks,
> -Stu
> _
> The information contained in this e-mail and any attachments from Group W may 
> contain confidential and/or proprietary information and is intended only for 
> the named recipient to whom it was originally addressed. If you are not the 
> intended recipient, be aware that any disclosure, distribution, or copying of 
> this e-mail or its attachments is strictly prohibited. If you have received 
> this e-mail in error, please notify the sender immediately of that fact by 
> return e-mail and permanently delete the e-mail and any attachments to it.


-- 
This message is intended only for the use of the individual or entity to 
which it is addressed and may contain confidential and/or privileged 
information. If you are not the intended recipient, please delete the 
original message and any copy of it from your computer system. You are 
hereby notified that any dissemination, distribution or copying of this 
communication is strictly prohibited unless proper authorization has been 
obtained for such action. If you have received this communication in error, 
please notify the sender immediately. Although IndiQus attempts to sweep 
e-mail and attachments for viruses, it does not guarantee that both are 
virus-free and accepts no liability for any damage sustained as a result of 
viruses.


Instance with SSH Key pair

2023-01-31 Thread Stuart Whitman
Hello,

When I launch an instance with an SSH key pair selected using the CentOS 
5.5(64-bit) no GUI (KVM) template that comes with CloudStack, I cannot sign in 
using the SSH key. I configured the zone with basic networking and enabled the 
ConfigDrive network service provider.

The instance runs, and I can use SSH to sign in to the root account using the 
default password.

Any help would be appreciated; thanks,
-Stu
_
The information contained in this e-mail and any attachments from Group W may 
contain confidential and/or proprietary information and is intended only for 
the named recipient to whom it was originally addressed. If you are not the 
intended recipient, be aware that any disclosure, distribution, or copying of 
this e-mail or its attachments is strictly prohibited. If you have received 
this e-mail in error, please notify the sender immediately of that fact by 
return e-mail and permanently delete the e-mail and any attachments to it.


[RELEASE][4.18]

2023-01-31 Thread Daan Hoogland
LS,
a small update. I was aiming to create a first RC before the end of the
month,
but there are two PRs still open that I would really want in:
1. the tungsten PR: https://github.com/apache/cloudstack/pull/7065
2. 2 factor authentication: https://github.com/apache/cloudstack/pull/6924

Other than that I think we can move all of them to 4.18.1 or 4.19. If there
are any that you think are either easy wins or vital for the release (i.e.
regressions or critical issues), please let me know.

I will postpone creating the RC to the weekend for now.


Re: Adding Host in new Zone fails

2023-01-31 Thread Nux
Making sure that indeed all your bridges are in order, your agent can 
connect to the management server (eg telnet to mgmt:8250) and starting 
with a clean /etc/cloudstack/agent as well as libvirtd set to 
listen_tcp=1 and listen_tls=0, try to add the host again and if it fails 
send us again DEBUG logs.

Also make sure iptables and selinux are off.

On 2023-01-31 15:45, Evan Marchman wrote:
I've tried a few more things with no luck. Fully re-installed the 
agent,

further verified open ports, checked the disks, etc. I keep getting the
same errors. Any pointers are appreciated!

Thanks!
-Evan


On Thu, Jan 26, 2023 at 5:47 PM Evan Marchman 


wrote:

I'm stumped. I am trying to add a new off-site zone, which I've 
already

done 3 times from the same management server. This fourth system is
thwarting my efforts. It should be a clone of the process I used on 
the

last two. The only delta is this one is a bare metal system in a data
center I can't touch. The base OS was installed by the data center but 
is

still CentOS 7.9. It is possible the host has something in the network
config I have missed but I cannot find it.

The GUI is giving me "Error 530 - Unable to add the host: Cannot find 
the

server resources at http://10.120.10.2"; In the management log I see:

Failed to handle host connection: 
com.cloud.exception.ConnectionException:
Incorrect Network setup on agent, Reinitialize agent after network 
names

are setup, details : Can not find network: cloudbr0


I have checked and rechecked the network config on the host. cloudbr0 
is
there and properly configured as a bridge. All of my communications 
with
the host are via this interface so I know it's up. I've compared 
settings
on the host and in the Physical Network to my working zones and 
everything
matches. The agent.properties file has the correct "cloudbr0" entries 
as

expected (and no extras).

The remote system is connected via VPN. I have verified the VPN is 
fully
functional. The new host has the firewall disabled and iptables 
entries for
all the host/agent ports. I've used nmap to verify connectivity 
between the
management server and the host and that the required ports are 
actually
open. The zone, pod and cluster are all correctly added. I manually 
added

secondary NFS storage successfully.

I have posted the relevant management and agent logs here.
management.log

agent.log


You'll see where I removed the host at the start of the logs then 
re-add

it. On the host side, I cleared relevant agent.properties, deleted the
cloud.* key files and restarted the agent prior to this test.

I'm still a cloudstack newbie so I totally expect that I missed 
something
or slipped in a typo; but I'm not seeing it. Help and pointers are 
very

appreciated!

Regards,
Evan



Re: AW: AW: VNC Console Problems with Ubuntu 22.04

2023-01-31 Thread Nux

cat << 'EOF' > /etc/cloud/cloud.cfg.d/99_cloudstack.cfg
disable_root: false
system_info:
   default_user:
 name: root
ssh_pwauth: true
datasource_list: ['CloudStack']
cloud_config_modules:
 - [ set-passwords, always ]
 - disable-ec2-metadata
EOF

(obviously, if you are not interested in direct root access replace to 
whichever user you want and set disable_root to "true")


HTH

On 2023-01-31 14:53, m...@swen.io wrote:

Hey Sven,

we create our image for Ubuntu 22.04 with some added parameters and we 
got password feature working. IF you interested I can share our 
settings.


Regards,
Swen

-Ursprüngliche Nachricht-
Von: Sven Barczyk 
Gesendet: Dienstag, 31. Januar 2023 15:09
An: users@cloudstack.apache.org
Betreff: AW: AW: VNC Console Problems with Ubuntu 22.04

SSH-Key works, password not really with Ubuntu 22.04.
The only Image which works for us with Password is a Debian Cloudimage.

K,R,
Sven Barczyk

-Ursprüngliche Nachricht-
Von: Nux 
Gesendet: Dienstag, 31. Januar 2023 14:54
An: users@cloudstack.apache.org
Cc: Sven Barczyk 
Betreff: Re: AW: VNC Console Problems with Ubuntu 22.04

Can you use the password and ssh keys Cloudstack feature with that 
image?



On 2023-01-31 12:50, Sven Barczyk wrote:

It turned out as an Layer8 problem.

There a 2 kind of Images on
https://cloud-images.ubuntu.com/jammy/current/
jammy-server-cloudimg-amd64-disk-kvm.img
jammy-server-cloudimg-amd64.img
without any context to it.

My thoughts on this where like ... im using kvm , than disk-kvm should
be the right one.
But this one has no Console.

jammy-server-cloudimg-amd64.img is the one with functioning VNC.

Closing()

Kind regards
Sven Barczyk



-Ursprüngliche Nachricht-
Von: Nux 
Gesendet: Dienstag, 31. Januar 2023 13:32
An: users@cloudstack.apache.org
Cc: Sven Barczyk 
Betreff: Re: VNC Console Problems with Ubuntu 22.04

I believe I know why. That image is really made more for
Openstack/EC2, if you check the kernel parameters (cat /proc/cmdline)
you will probably notice they redirect the output to the serial 
console.

Something like "console=ttyS0,115200n8", if you remove that you should
get all output to your regulat tty console.

HTH

On 2023-01-31 09:47, Sven Barczyk wrote:

Hi there,

has anybody encountered this phenomenon, with the official
Cloud-Images from Ubuntu 22.04?

After booting, the VNC Console from ConsoleProxy is frozen with bios
post information.
The instance from this Ubuntu 22.04 cloud-image, when configured with
proper network, is bootable and is accessible via SSH.

K,R
Sven Barczyk


Re: Adding Host in new Zone fails

2023-01-31 Thread Evan Marchman
I've tried a few more things with no luck. Fully re-installed the agent,
further verified open ports, checked the disks, etc. I keep getting the
same errors. Any pointers are appreciated!

Thanks!
-Evan


On Thu, Jan 26, 2023 at 5:47 PM Evan Marchman 
wrote:

> I'm stumped. I am trying to add a new off-site zone, which I've already
> done 3 times from the same management server. This fourth system is
> thwarting my efforts. It should be a clone of the process I used on the
> last two. The only delta is this one is a bare metal system in a data
> center I can't touch. The base OS was installed by the data center but is
> still CentOS 7.9. It is possible the host has something in the network
> config I have missed but I cannot find it.
>
> The GUI is giving me "Error 530 - Unable to add the host: Cannot find the
> server resources at http://10.120.10.2"; In the management log I see:
>
> Failed to handle host connection: com.cloud.exception.ConnectionException:
> Incorrect Network setup on agent, Reinitialize agent after network names
> are setup, details : Can not find network: cloudbr0
>
>
> I have checked and rechecked the network config on the host. cloudbr0 is
> there and properly configured as a bridge. All of my communications with
> the host are via this interface so I know it's up. I've compared settings
> on the host and in the Physical Network to my working zones and everything
> matches. The agent.properties file has the correct "cloudbr0" entries as
> expected (and no extras).
>
> The remote system is connected via VPN. I have verified the VPN is fully
> functional. The new host has the firewall disabled and iptables entries for
> all the host/agent ports. I've used nmap to verify connectivity between the
> management server and the host and that the required ports are actually
> open. The zone, pod and cluster are all correctly added. I manually added
> secondary NFS storage successfully.
>
> I have posted the relevant management and agent logs here.
> management.log
> 
> agent.log
> 
>
> You'll see where I removed the host at the start of the logs then re-add
> it. On the host side, I cleared relevant agent.properties, deleted the
> cloud.* key files and restarted the agent prior to this test.
>
> I'm still a cloudstack newbie so I totally expect that I missed something
> or slipped in a typo; but I'm not seeing it. Help and pointers are very
> appreciated!
>
> Regards,
> Evan
>


Re: Facing issue while integration ceph with apache cloudstack

2023-01-31 Thread Sanjay Kumar
Yes! we have re-created the ssvm but the issue still the same.


Re: Fwd: Facing issue while integration ceph with apache cloudstack

2023-01-31 Thread Mevludin Blazevic

Hi Sanjay,

we had the same issue. We resolved that by installing the ceph-common 
packages on each host. See 
https://docs.ceph.com/en/quincy/install/get-packages/


After that, we were able to add Ceph as a RBD primary storage cluster.

Regards,

Mevludin

Am 31.01.2023 um 09:31 schrieb Sanjay Kumar:

   Hello!

We are facing while integration of ceph and  issue while adding the storage
with apache cloudstack. Please help me out get it fix and how easy
integrate the ceph with apache cloudstack.

OS for ceph node: centos 8.
OS for compute node: ubuntu 20
OS for DB: ubuntu 18

2023-01-30 12:01:40,985 WARN
  [o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl]
(qtp1443435931-22:ctx-9fcfd4f4 ctx-db666ab9) (logid:2bc85ca8) No host can
access storage pool
org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@d98a780 in
this zone.
2023-01-30 12:01:40,989 DEBUG [c.c.s.StorageManagerImpl]
(qtp1443435931-22:ctx-9fcfd4f4 ctx-db666ab9) (logid:2bc85ca8) Failed to add
data store: Failed to create storage pool as it is not accessible to hosts.
com.cloud.utils.exception.CloudRuntimeException: Failed to create storage
pool as it is not accessible to hosts.
 at org.apac


Please help me out if there any OS dependencies.

With regards,

Sanjay Kumar


--
Mevludin Blazevic, M.Sc.

University of Koblenz-Landau
Computing Centre (GHRKO)
Universitaetsstrasse 1
D-56070 Koblenz, Germany
Room A023
Tel: +49 261/287-1326



AW: AW: VNC Console Problems with Ubuntu 22.04

2023-01-31 Thread me
Hey Sven,

we create our image for Ubuntu 22.04 with some added parameters and we got 
password feature working. IF you interested I can share our settings.

Regards,
Swen

-Ursprüngliche Nachricht-
Von: Sven Barczyk  
Gesendet: Dienstag, 31. Januar 2023 15:09
An: users@cloudstack.apache.org
Betreff: AW: AW: VNC Console Problems with Ubuntu 22.04

SSH-Key works, password not really with Ubuntu 22.04.
The only Image which works for us with Password is a Debian Cloudimage.

K,R,
Sven Barczyk

-Ursprüngliche Nachricht-
Von: Nux 
Gesendet: Dienstag, 31. Januar 2023 14:54
An: users@cloudstack.apache.org
Cc: Sven Barczyk 
Betreff: Re: AW: VNC Console Problems with Ubuntu 22.04

Can you use the password and ssh keys Cloudstack feature with that image?


On 2023-01-31 12:50, Sven Barczyk wrote:
> It turned out as an Layer8 problem.
> 
> There a 2 kind of Images on
> https://cloud-images.ubuntu.com/jammy/current/
> jammy-server-cloudimg-amd64-disk-kvm.img
> jammy-server-cloudimg-amd64.img
> without any context to it.
> 
> My thoughts on this where like ... im using kvm , than disk-kvm should 
> be the right one.
> But this one has no Console.
> 
> jammy-server-cloudimg-amd64.img is the one with functioning VNC.
> 
> Closing()
> 
> Kind regards
> Sven Barczyk
> 
> 
> 
> -Ursprüngliche Nachricht-
> Von: Nux 
> Gesendet: Dienstag, 31. Januar 2023 13:32
> An: users@cloudstack.apache.org
> Cc: Sven Barczyk 
> Betreff: Re: VNC Console Problems with Ubuntu 22.04
> 
> I believe I know why. That image is really made more for 
> Openstack/EC2, if you check the kernel parameters (cat /proc/cmdline) 
> you will probably notice they redirect the output to the serial console.
> Something like "console=ttyS0,115200n8", if you remove that you should 
> get all output to your regulat tty console.
> 
> HTH
> 
> On 2023-01-31 09:47, Sven Barczyk wrote:
>> Hi there,
>> 
>> has anybody encountered this phenomenon, with the official 
>> Cloud-Images from Ubuntu 22.04?
>> 
>> After booting, the VNC Console from ConsoleProxy is frozen with bios 
>> post information.
>> The instance from this Ubuntu 22.04 cloud-image, when configured with 
>> proper network, is bootable and is accessible via SSH.
>> 
>> K,R
>> Sven Barczyk




AW: Facing issue while integration ceph with apache cloudstack

2023-01-31 Thread me
Did you recreate the ssvm?

-Ursprüngliche Nachricht-
Von: Sanjay Kumar  
Gesendet: Dienstag, 31. Januar 2023 14:37
An: users@cloudstack.apache.org
Betreff: Re: Facing issue while integration ceph with apache cloudstack

Hi Wei,

Yes we did









Sanjay Kumar
KV IT-Solutions Pvt. Ltd.
m: 9891015813 a: 26th ,Badarpur Delhi
s: sslinuxpath.blogspot.in e: sslinuxp...@gmail.com 




On Tue, Jan 31, 2023 at 7:01 PM Wei ZHOU  wrote:

> Hi Sanjay,
>
> Have you restarted the ssvm and mgmt server yet?
>
> -Wei
>
> On Tue, 31 Jan 2023 at 14:15, Sanjay Kumar  wrote:
>
> > Hi Wei,
> >
> > We have changed the global setting for nfs4 but it is not working..
> >
> > ACS_Version: 4.17.2
> >
> >
> > On Tue, Jan 31, 2023 at 4:36 PM Wei ZHOU  wrote:
> >
> > > Hi Sanjay,
> > >
> > > You may face the issue
> > >
> https://github.com/apache/cloudstack/issues/5741#issuecomment-99066942
> 3
> > >
> > > You can use nfs4 as secondary storage. You need to change global 
> > > setting secstorage.nfs.version to "4"
> > >
> > > -Wei
> > >
> > > On Tue, 31 Jan 2023 at 10:47, Sanjay Kumar 
> > wrote:
> > >
> > > > Hello!
> > > >
> > > > Thanks for the quick update.
> > > >
> > > > root@NVCOMP03:~# apt install libvirt-daemon-driver-storage-rbd 
> > > > Reading package lists... Done Building dependency tree Reading 
> > > > state information... Done libvirt-daemon-driver-storage-rbd is 
> > > > already the newest version (6.0.0-0ubuntu8.16).
> > > > libvirt-daemon-driver-storage-rbd set to manually installed.
> > > > The following packages were automatically installed and are no 
> > > > longer
> > > > required:
> > > >   libboost-iostreams1.71.0 libboost-thread1.71.0 Use 'apt 
> > > > autoremove' to remove them.
> > > >
> > > >
> > > > Please help me out if any OS dependencies?
> > > >
> > > >
> > > > *OS for ceph node running on: centos 8.OS for compute node running:
> > > ubuntu
> > > > 20.04*
> > > > *OS for DB: ubuntu 18.04*
> > > >
> > > > *Q: Can we directly use nfs4 in apache cloudstack for 
> > > > secondary?*
> > > >
> > > >
> > > >
> > > >
> > > > On Tue, Jan 31, 2023 at 3:09 PM Wei ZHOU 
> > wrote:
> > > >
> > > > > HiSanjay,
> > > > >
> > > > > Have you installed the "libvirt-daemon-driver-storage-rbd" 
> > > > > package
> on
> > > kvm
> > > > > hosts ?
> > > > >
> > > > > -Wei
> > > > >
> > > > > On Tue, 31 Jan 2023 at 09:29, Sanjay Kumar 
> > > > > 
> > > > wrote:
> > > > >
> > > > > >   Hello!
> > > > > >
> > > > > > We are facing while integration of ceph and  issue while 
> > > > > > adding
> the
> > > > > storage
> > > > > > with apache cloudstack. Please help me out get it fix and 
> > > > > > how
> easy
> > > > > > integrate the ceph with apache cloudstack.
> > > > > >
> > > > > > OS for ceph node: centos 8.
> > > > > > OS for compute node: ubuntu 20 OS for DB: ubuntu 18
> > > > > >
> > > > > > 2023-01-30 12:01:40,985 WARN  
> > > > > > [o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl]
> > > > > > (qtp1443435931-22:ctx-9fcfd4f4 ctx-db666ab9) 
> > > > > > (logid:2bc85ca8) No
> > host
> > > > can
> > > > > > access storage pool
> > > > > >
> > org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@d98a780
> > > > in
> > > > > > this zone.
> > > > > > 2023-01-30 12:01:40,989 DEBUG [c.c.s.StorageManagerImpl]
> > > > > > (qtp1443435931-22:ctx-9fcfd4f4 ctx-db666ab9) 
> > > > > > (logid:2bc85ca8)
> > Failed
> > > to
> > > > > add
> > > > > > data store: Failed to create storage pool as it is not 
> > > > > > accessible
> > to
> > > > > hosts.
> > > > > > com.cloud.utils.exception.CloudRuntimeException: Failed to 
> > > > > > create
> > > > storage
> > > > > > pool as it is not accessible to hosts.
> > > > > > at org.apac
> > > > > >
> > > > > >
> > > > > > Please help me out if there any OS dependencies.
> > > > > >
> > > > > > With regards,
> > > > > >
> > > > > > Sanjay Kumar
> > > > > >
> > > > >
> > > >
> > >
> >
>




RE: Override DNS IP addresses

2023-01-31 Thread Gary Dixon
Hi

Hm - I've been pondering whether cloudbase-init would be of use to us. I plan 
on testing it in the near future when time allows. I'll report back with my 
findings

Thx

Gary


2SN

Gary Dixon
Senior Technical Consultant
T:  +44 161 537 4990
E:  v...@quadris-support.com
W: www.quadris.co.uk
The information contained in this e-mail from Quadris may be confidential and 
privileged for the private use of the named recipient.  The contents of this 
e-mail may not necessarily represent the official views of Quadris.  If you 
have received this information in error you must not copy, distribute or take 
any action or reliance on its contents.  Please destroy any hard copies and 
delete this message.
-Original Message-
From: Nux 
Sent: 31 January 2023 12:24
To: users@cloudstack.apache.org
Cc: Gary Dixon 
Subject: Re: Override DNS IP addresses

Hello,

That's an unfortunate behaviour. Wonder what the culprit is.
Did you try to use cloudbase-init in the Windows VMS? Does it make things 
better/worse?

REgards

On 2023-01-30 15:32, Gary Dixon wrote:
> Thx Nux - this is good news
>
> The issue doesn't happen all the time - we have seen it occasionally
> after a windows guest reboot - something seems to stop the nic from
> getting its statically assigned IP configuration and so it reverts to
> creating a new nic within the guest OS and this is where it then picks
> up the Zone DNS server IP's - I'm guessing from the DNS provider on
> the virtual router.
> If we look in Device Mgr on the guest and 'show hidden devices' we see
> a 'ghosted' nic adapter - but this will still have registry entries
> for its IP config - so the new nic that seems to be created
> automatically cannot use the already assigned IP address and picks a
> new one from DHCP on the VR and also then gets the Zone DNS IP
> Addresses.
>
> Our workaround for if/when this happens is to delete the ghosted nic
> adapter in Device Mgr and its corresponding IP configuration in the
> windows registry - and then manually set the static IP info on the
> remaining nic adapter
>
>   Gary Dixon​
>
>   Senior Technical Consultant
>
>   T:  +44 161 537 4990
>
>   E:  v [1]ms@quadris‑support.com
>
>   W:
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.q
> uadris.co.uk%2F&data=05%7C01%7CGary.Dixon%40quadris.co.uk%7Cf352ab8e9e
> 5846ef6ea608db038614d1%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%7C63
> 8107646643378568%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV
> 2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=hjgszY%2B6
> f1eAZzCbZpg1xP5Tb5gxL7nZBcdhWOS76bo%3D&reserved=0
>
> The information contained in this e-mail from Quadris may be
> confidential and privileged for the private use of the named
> recipient.  The contents of this e-mail may not necessarily represent
> the official views of Quadris.  If you have received this information
> in error you must not copy, distribute or take any action or reliance
> on its contents.  Please destroy any hard copies and delete this
> message.
>
> -Original Message-
> From: Nux 
> Sent: 30 January 2023 12:01
> To: users@cloudstack.apache.org
> Cc: Gary Dixon 
> Subject: Re: Override DNS IP addresses
>
> Hi Gary,
>
> Yes, indeed, this is coming to 4.18:
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgith
> ub.com%2Fapache%2Fcloudstack%2Fpull%2F6425&data=05%7C01%7CGary.Dixon%4
> 0quadris.co.uk%7Cf352ab8e9e5846ef6ea608db038614d1%7Cf1d6abf3d3b44894ae
> 16db0fb93a96a2%7C0%7C0%7C638107646643378568%7CUnknown%7CTWFpbGZsb3d8ey
> JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C300
> 0%7C%7C%7C&sdata=f8We%2B1xIMLEq1S3JJ8GD8U2pXIaRvRzmnJxMW3%2BFPjc%3D&re
> served=0
>
> Until then I am not sure how to solve the problem though. If IPs and
> DNS are statically assign, why does this continue to be a problem?
>
> Regards
>
> On 2023-01-30 11:37, Gary Dixon wrote:
>> HI everyone
>>
>> CS 4.15.2
>>
>> Hypervisor Ubuntu 20.04 KVM
>>
>> The vast majority of our tenants in CS are windows Active directory
>> domain based networks. This relies on the Domain Controllers being
> the
>> DNS servers for the domain.
>>
>> In each guest OS we statically assign IP address information and set
>
>> the DNS server addresses to point to the IP address of the Domain
>> Controllers
>>
>> We see issues where the Zone defined DNS server IP addresses
>> (8.8.8.8, 8.8.4.4) are being passed through to the guest Windows
> VM’s
>> which then causes them to lose their domain trust because they
> cannot
>> locate the domain controllers
>>
>> Is there a way to override the global Zone DNS server IP addresses
>> that are passed through to guest VM’s – can this be changed for
> each
>> Tennant/Domain in the Cloud database ?
>>
>> Best regards
>>
>> Gary
>>
>> Gary Dixon​
>>
>> Senior Technical Consultant
>>
>> T: +44 161 537 4990
>>
>> E: v [1]ms@quadris‑support.com
>>
>> W:
>>
> https://eur01.safelinks.protectio

AW: AW: VNC Console Problems with Ubuntu 22.04

2023-01-31 Thread Sven Barczyk
SSH-Key works, password not really with Ubuntu 22.04.
The only Image which works for us with Password is a Debian Cloudimage.

K,R,
Sven Barczyk

-Ursprüngliche Nachricht-
Von: Nux  
Gesendet: Dienstag, 31. Januar 2023 14:54
An: users@cloudstack.apache.org
Cc: Sven Barczyk 
Betreff: Re: AW: VNC Console Problems with Ubuntu 22.04

Can you use the password and ssh keys Cloudstack feature with that image?


On 2023-01-31 12:50, Sven Barczyk wrote:
> It turned out as an Layer8 problem.
> 
> There a 2 kind of Images on 
> https://cloud-images.ubuntu.com/jammy/current/
> jammy-server-cloudimg-amd64-disk-kvm.img
> jammy-server-cloudimg-amd64.img
> without any context to it.
> 
> My thoughts on this where like ... im using kvm , than disk-kvm should 
> be the right one.
> But this one has no Console.
> 
> jammy-server-cloudimg-amd64.img is the one with functioning VNC.
> 
> Closing()
> 
> Kind regards
> Sven Barczyk
> 
> 
> 
> -Ursprüngliche Nachricht-
> Von: Nux 
> Gesendet: Dienstag, 31. Januar 2023 13:32
> An: users@cloudstack.apache.org
> Cc: Sven Barczyk 
> Betreff: Re: VNC Console Problems with Ubuntu 22.04
> 
> I believe I know why. That image is really made more for Openstack/EC2, 
> if you check the kernel parameters (cat /proc/cmdline) you will 
> probably notice they redirect the output to the serial console. 
> Something like "console=ttyS0,115200n8", if you remove that you should 
> get all output to your regulat tty console.
> 
> HTH
> 
> On 2023-01-31 09:47, Sven Barczyk wrote:
>> Hi there,
>> 
>> has anybody encountered this phenomenon, with the official 
>> Cloud-Images
>> from Ubuntu 22.04?
>> 
>> After booting, the VNC Console from ConsoleProxy is frozen with bios
>> post information.
>> The instance from this Ubuntu 22.04 cloud-image, when configured with
>> proper network, is bootable and is accessible via SSH.
>> 
>> K,R
>> Sven Barczyk


Re: AW: VNC Console Problems with Ubuntu 22.04

2023-01-31 Thread Nux
Can you use the password and ssh keys Cloudstack feature with that 
image?



On 2023-01-31 12:50, Sven Barczyk wrote:

It turned out as an Layer8 problem.

There a 2 kind of Images on 
https://cloud-images.ubuntu.com/jammy/current/

jammy-server-cloudimg-amd64-disk-kvm.img
jammy-server-cloudimg-amd64.img
without any context to it.

My thoughts on this where like ... im using kvm , than disk-kvm should 
be the right one.

But this one has no Console.

jammy-server-cloudimg-amd64.img is the one with functioning VNC.

Closing()

Kind regards
Sven Barczyk



-Ursprüngliche Nachricht-
Von: Nux 
Gesendet: Dienstag, 31. Januar 2023 13:32
An: users@cloudstack.apache.org
Cc: Sven Barczyk 
Betreff: Re: VNC Console Problems with Ubuntu 22.04

I believe I know why. That image is really made more for Openstack/EC2, 
if you check the kernel parameters (cat /proc/cmdline) you will 
probably notice they redirect the output to the serial console. 
Something like "console=ttyS0,115200n8", if you remove that you should 
get all output to your regulat tty console.


HTH

On 2023-01-31 09:47, Sven Barczyk wrote:

Hi there,

has anybody encountered this phenomenon, with the official 
Cloud-Images

from Ubuntu 22.04?

After booting, the VNC Console from ConsoleProxy is frozen with bios
post information.
The instance from this Ubuntu 22.04 cloud-image, when configured with
proper network, is bootable and is accessible via SSH.

K,R
Sven Barczyk


Re: Facing issue while integration ceph with apache cloudstack

2023-01-31 Thread Sanjay Kumar
Hi Wei,

Yes we did









Sanjay Kumar
KV IT-Solutions Pvt. Ltd.
m: 9891015813 a: 26th ,Badarpur Delhi
s: sslinuxpath.blogspot.in e: sslinuxp...@gmail.com




On Tue, Jan 31, 2023 at 7:01 PM Wei ZHOU  wrote:

> Hi Sanjay,
>
> Have you restarted the ssvm and mgmt server yet?
>
> -Wei
>
> On Tue, 31 Jan 2023 at 14:15, Sanjay Kumar  wrote:
>
> > Hi Wei,
> >
> > We have changed the global setting for nfs4 but it is not working..
> >
> > ACS_Version: 4.17.2
> >
> >
> > On Tue, Jan 31, 2023 at 4:36 PM Wei ZHOU  wrote:
> >
> > > Hi Sanjay,
> > >
> > > You may face the issue
> > >
> https://github.com/apache/cloudstack/issues/5741#issuecomment-990669423
> > >
> > > You can use nfs4 as secondary storage. You need to change global
> > > setting secstorage.nfs.version to "4"
> > >
> > > -Wei
> > >
> > > On Tue, 31 Jan 2023 at 10:47, Sanjay Kumar 
> > wrote:
> > >
> > > > Hello!
> > > >
> > > > Thanks for the quick update.
> > > >
> > > > root@NVCOMP03:~# apt install libvirt-daemon-driver-storage-rbd
> > > > Reading package lists... Done
> > > > Building dependency tree
> > > > Reading state information... Done
> > > > libvirt-daemon-driver-storage-rbd is already the newest version
> > > > (6.0.0-0ubuntu8.16).
> > > > libvirt-daemon-driver-storage-rbd set to manually installed.
> > > > The following packages were automatically installed and are no longer
> > > > required:
> > > >   libboost-iostreams1.71.0 libboost-thread1.71.0
> > > > Use 'apt autoremove' to remove them.
> > > >
> > > >
> > > > Please help me out if any OS dependencies?
> > > >
> > > >
> > > > *OS for ceph node running on: centos 8.OS for compute node running:
> > > ubuntu
> > > > 20.04*
> > > > *OS for DB: ubuntu 18.04*
> > > >
> > > > *Q: Can we directly use nfs4 in apache cloudstack for secondary?*
> > > >
> > > >
> > > >
> > > >
> > > > On Tue, Jan 31, 2023 at 3:09 PM Wei ZHOU 
> > wrote:
> > > >
> > > > > HiSanjay,
> > > > >
> > > > > Have you installed the "libvirt-daemon-driver-storage-rbd" package
> on
> > > kvm
> > > > > hosts ?
> > > > >
> > > > > -Wei
> > > > >
> > > > > On Tue, 31 Jan 2023 at 09:29, Sanjay Kumar 
> > > > wrote:
> > > > >
> > > > > >   Hello!
> > > > > >
> > > > > > We are facing while integration of ceph and  issue while adding
> the
> > > > > storage
> > > > > > with apache cloudstack. Please help me out get it fix and how
> easy
> > > > > > integrate the ceph with apache cloudstack.
> > > > > >
> > > > > > OS for ceph node: centos 8.
> > > > > > OS for compute node: ubuntu 20
> > > > > > OS for DB: ubuntu 18
> > > > > >
> > > > > > 2023-01-30 12:01:40,985 WARN
> > > > > >  [o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl]
> > > > > > (qtp1443435931-22:ctx-9fcfd4f4 ctx-db666ab9) (logid:2bc85ca8) No
> > host
> > > > can
> > > > > > access storage pool
> > > > > >
> > org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@d98a780
> > > > in
> > > > > > this zone.
> > > > > > 2023-01-30 12:01:40,989 DEBUG [c.c.s.StorageManagerImpl]
> > > > > > (qtp1443435931-22:ctx-9fcfd4f4 ctx-db666ab9) (logid:2bc85ca8)
> > Failed
> > > to
> > > > > add
> > > > > > data store: Failed to create storage pool as it is not accessible
> > to
> > > > > hosts.
> > > > > > com.cloud.utils.exception.CloudRuntimeException: Failed to create
> > > > storage
> > > > > > pool as it is not accessible to hosts.
> > > > > > at org.apac
> > > > > >
> > > > > >
> > > > > > Please help me out if there any OS dependencies.
> > > > > >
> > > > > > With regards,
> > > > > >
> > > > > > Sanjay Kumar
> > > > > >
> > > > >
> > > >
> > >
> >
>


Re: Facing issue while integration ceph with apache cloudstack

2023-01-31 Thread Wei ZHOU
Hi Sanjay,

Have you restarted the ssvm and mgmt server yet?

-Wei

On Tue, 31 Jan 2023 at 14:15, Sanjay Kumar  wrote:

> Hi Wei,
>
> We have changed the global setting for nfs4 but it is not working..
>
> ACS_Version: 4.17.2
>
>
> On Tue, Jan 31, 2023 at 4:36 PM Wei ZHOU  wrote:
>
> > Hi Sanjay,
> >
> > You may face the issue
> > https://github.com/apache/cloudstack/issues/5741#issuecomment-990669423
> >
> > You can use nfs4 as secondary storage. You need to change global
> > setting secstorage.nfs.version to "4"
> >
> > -Wei
> >
> > On Tue, 31 Jan 2023 at 10:47, Sanjay Kumar 
> wrote:
> >
> > > Hello!
> > >
> > > Thanks for the quick update.
> > >
> > > root@NVCOMP03:~# apt install libvirt-daemon-driver-storage-rbd
> > > Reading package lists... Done
> > > Building dependency tree
> > > Reading state information... Done
> > > libvirt-daemon-driver-storage-rbd is already the newest version
> > > (6.0.0-0ubuntu8.16).
> > > libvirt-daemon-driver-storage-rbd set to manually installed.
> > > The following packages were automatically installed and are no longer
> > > required:
> > >   libboost-iostreams1.71.0 libboost-thread1.71.0
> > > Use 'apt autoremove' to remove them.
> > >
> > >
> > > Please help me out if any OS dependencies?
> > >
> > >
> > > *OS for ceph node running on: centos 8.OS for compute node running:
> > ubuntu
> > > 20.04*
> > > *OS for DB: ubuntu 18.04*
> > >
> > > *Q: Can we directly use nfs4 in apache cloudstack for secondary?*
> > >
> > >
> > >
> > >
> > > On Tue, Jan 31, 2023 at 3:09 PM Wei ZHOU 
> wrote:
> > >
> > > > HiSanjay,
> > > >
> > > > Have you installed the "libvirt-daemon-driver-storage-rbd" package on
> > kvm
> > > > hosts ?
> > > >
> > > > -Wei
> > > >
> > > > On Tue, 31 Jan 2023 at 09:29, Sanjay Kumar 
> > > wrote:
> > > >
> > > > >   Hello!
> > > > >
> > > > > We are facing while integration of ceph and  issue while adding the
> > > > storage
> > > > > with apache cloudstack. Please help me out get it fix and how easy
> > > > > integrate the ceph with apache cloudstack.
> > > > >
> > > > > OS for ceph node: centos 8.
> > > > > OS for compute node: ubuntu 20
> > > > > OS for DB: ubuntu 18
> > > > >
> > > > > 2023-01-30 12:01:40,985 WARN
> > > > >  [o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl]
> > > > > (qtp1443435931-22:ctx-9fcfd4f4 ctx-db666ab9) (logid:2bc85ca8) No
> host
> > > can
> > > > > access storage pool
> > > > >
> org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@d98a780
> > > in
> > > > > this zone.
> > > > > 2023-01-30 12:01:40,989 DEBUG [c.c.s.StorageManagerImpl]
> > > > > (qtp1443435931-22:ctx-9fcfd4f4 ctx-db666ab9) (logid:2bc85ca8)
> Failed
> > to
> > > > add
> > > > > data store: Failed to create storage pool as it is not accessible
> to
> > > > hosts.
> > > > > com.cloud.utils.exception.CloudRuntimeException: Failed to create
> > > storage
> > > > > pool as it is not accessible to hosts.
> > > > > at org.apac
> > > > >
> > > > >
> > > > > Please help me out if there any OS dependencies.
> > > > >
> > > > > With regards,
> > > > >
> > > > > Sanjay Kumar
> > > > >
> > > >
> > >
> >
>


Re: Facing issue while integration ceph with apache cloudstack

2023-01-31 Thread Sanjay Kumar
Hi Wei,

We have changed the global setting for nfs4 but it is not working..

ACS_Version: 4.17.2


On Tue, Jan 31, 2023 at 4:36 PM Wei ZHOU  wrote:

> Hi Sanjay,
>
> You may face the issue
> https://github.com/apache/cloudstack/issues/5741#issuecomment-990669423
>
> You can use nfs4 as secondary storage. You need to change global
> setting secstorage.nfs.version to "4"
>
> -Wei
>
> On Tue, 31 Jan 2023 at 10:47, Sanjay Kumar  wrote:
>
> > Hello!
> >
> > Thanks for the quick update.
> >
> > root@NVCOMP03:~# apt install libvirt-daemon-driver-storage-rbd
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > libvirt-daemon-driver-storage-rbd is already the newest version
> > (6.0.0-0ubuntu8.16).
> > libvirt-daemon-driver-storage-rbd set to manually installed.
> > The following packages were automatically installed and are no longer
> > required:
> >   libboost-iostreams1.71.0 libboost-thread1.71.0
> > Use 'apt autoremove' to remove them.
> >
> >
> > Please help me out if any OS dependencies?
> >
> >
> > *OS for ceph node running on: centos 8.OS for compute node running:
> ubuntu
> > 20.04*
> > *OS for DB: ubuntu 18.04*
> >
> > *Q: Can we directly use nfs4 in apache cloudstack for secondary?*
> >
> >
> >
> >
> > On Tue, Jan 31, 2023 at 3:09 PM Wei ZHOU  wrote:
> >
> > > HiSanjay,
> > >
> > > Have you installed the "libvirt-daemon-driver-storage-rbd" package on
> kvm
> > > hosts ?
> > >
> > > -Wei
> > >
> > > On Tue, 31 Jan 2023 at 09:29, Sanjay Kumar 
> > wrote:
> > >
> > > >   Hello!
> > > >
> > > > We are facing while integration of ceph and  issue while adding the
> > > storage
> > > > with apache cloudstack. Please help me out get it fix and how easy
> > > > integrate the ceph with apache cloudstack.
> > > >
> > > > OS for ceph node: centos 8.
> > > > OS for compute node: ubuntu 20
> > > > OS for DB: ubuntu 18
> > > >
> > > > 2023-01-30 12:01:40,985 WARN
> > > >  [o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl]
> > > > (qtp1443435931-22:ctx-9fcfd4f4 ctx-db666ab9) (logid:2bc85ca8) No host
> > can
> > > > access storage pool
> > > > org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@d98a780
> > in
> > > > this zone.
> > > > 2023-01-30 12:01:40,989 DEBUG [c.c.s.StorageManagerImpl]
> > > > (qtp1443435931-22:ctx-9fcfd4f4 ctx-db666ab9) (logid:2bc85ca8) Failed
> to
> > > add
> > > > data store: Failed to create storage pool as it is not accessible to
> > > hosts.
> > > > com.cloud.utils.exception.CloudRuntimeException: Failed to create
> > storage
> > > > pool as it is not accessible to hosts.
> > > > at org.apac
> > > >
> > > >
> > > > Please help me out if there any OS dependencies.
> > > >
> > > > With regards,
> > > >
> > > > Sanjay Kumar
> > > >
> > >
> >
>


Re: VNC Console Problems with Ubuntu 22.04

2023-01-31 Thread Wei ZHOU
Thanks Sven for sharing


-Wei

On Tue, 31 Jan 2023 at 13:52, Sven Barczyk 
wrote:

> It turned out as an Layer8 problem.
>
> There a 2 kind of Images on https://cloud-images.ubuntu.com/jammy/current/
> jammy-server-cloudimg-amd64-disk-kvm.img
> 
> jammy-server-cloudimg-amd64.img
> without any context to it.
>
> My thoughts on this where like ... im using kvm , than disk-kvm should be
> the right one.
> But this one has no Console.
>
> jammy-server-cloudimg-amd64.img is the one with functioning VNC.
>
> Closing()
>
> Kind regards
> Sven Barczyk
>
>
>
> -Ursprüngliche Nachricht-
> Von: Nux 
> Gesendet: Dienstag, 31. Januar 2023 13:32
> An: users@cloudstack.apache.org
> Cc: Sven Barczyk 
> Betreff: Re: VNC Console Problems with Ubuntu 22.04
>
> I believe I know why. That image is really made more for Openstack/EC2, if
> you check the kernel parameters (cat /proc/cmdline) you will probably
> notice they redirect the output to the serial console. Something like
> "console=ttyS0,115200n8", if you remove that you should get all output to
> your regulat tty console.
>
> HTH
>
> On 2023-01-31 09:47, Sven Barczyk wrote:
> > Hi there,
> >
> > has anybody encountered this phenomenon, with the official Cloud-Images
> > from Ubuntu 22.04?
> >
> > After booting, the VNC Console from ConsoleProxy is frozen with bios
> > post information.
> > The instance from this Ubuntu 22.04 cloud-image, when configured with
> > proper network, is bootable and is accessible via SSH.
> >
> > K,R
> > Sven Barczyk
>


AW: VNC Console Problems with Ubuntu 22.04

2023-01-31 Thread Sven Barczyk
It turned out as an Layer8 problem.

There a 2 kind of Images on https://cloud-images.ubuntu.com/jammy/current/
jammy-server-cloudimg-amd64-disk-kvm.img 
jammy-server-cloudimg-amd64.img
without any context to it.

My thoughts on this where like ... im using kvm , than disk-kvm should be the 
right one.
But this one has no Console.

jammy-server-cloudimg-amd64.img is the one with functioning VNC.

Closing()

Kind regards
Sven Barczyk



-Ursprüngliche Nachricht-
Von: Nux  
Gesendet: Dienstag, 31. Januar 2023 13:32
An: users@cloudstack.apache.org
Cc: Sven Barczyk 
Betreff: Re: VNC Console Problems with Ubuntu 22.04

I believe I know why. That image is really made more for Openstack/EC2, if you 
check the kernel parameters (cat /proc/cmdline) you will probably notice they 
redirect the output to the serial console. Something like 
"console=ttyS0,115200n8", if you remove that you should get all output to your 
regulat tty console.

HTH

On 2023-01-31 09:47, Sven Barczyk wrote:
> Hi there,
> 
> has anybody encountered this phenomenon, with the official Cloud-Images 
> from Ubuntu 22.04?
> 
> After booting, the VNC Console from ConsoleProxy is frozen with bios 
> post information.
> The instance from this Ubuntu 22.04 cloud-image, when configured with 
> proper network, is bootable and is accessible via SSH.
> 
> K,R
> Sven Barczyk


Re: VNC Console Problems with Ubuntu 22.04

2023-01-31 Thread Nux
I believe I know why. That image is really made more for Openstack/EC2, 
if you check the kernel parameters (cat /proc/cmdline) you will probably 
notice they redirect the output to the serial console. Something like 
"console=ttyS0,115200n8", if you remove that you should get all output 
to your regulat tty console.


HTH

On 2023-01-31 09:47, Sven Barczyk wrote:

Hi there,

has anybody encountered this phenomenon, with the official Cloud-Images 
from Ubuntu 22.04?


After booting, the VNC Console from ConsoleProxy is frozen with bios 
post information.
The instance from this Ubuntu 22.04 cloud-image, when configured with 
proper network, is bootable and is accessible via SSH.


K,R
Sven Barczyk


Re: Override DNS IP addresses

2023-01-31 Thread Nux

Hello,

That's an unfortunate behaviour. Wonder what the culprit is.
Did you try to use cloudbase-init in the Windows VMS? Does it make 
things better/worse?


REgards

On 2023-01-30 15:32, Gary Dixon wrote:

Thx Nux - this is good news

The issue doesn't happen all the time - we have seen it occasionally
after a windows guest reboot - something seems to stop the nic from
getting its statically assigned IP configuration and so it reverts to
creating a new nic within the guest OS and this is where it then picks
up the Zone DNS server IP's - I'm guessing from the DNS provider on
the virtual router.
If we look in Device Mgr on the guest and 'show hidden devices' we see
a 'ghosted' nic adapter - but this will still have registry entries
for its IP config - so the new nic that seems to be created
automatically cannot use the already assigned IP address and picks a
new one from DHCP on the VR and also then gets the Zone DNS IP
Addresses.

Our workaround for if/when this happens is to delete the ghosted nic
adapter in Device Mgr and its corresponding IP configuration in the
windows registry - and then manually set the static IP info on the
remaining nic adapter

Gary Dixon​

Senior Technical Consultant

T:  +44 161 537 4990

E:  v [1]ms@quadris‑support.com

W: www.quadris.co.uk

The information contained in this e-mail from Quadris may be
confidential and privileged for the private use of the named
recipient.  The contents of this e-mail may not necessarily represent
the official views of Quadris.  If you have received this information
in error you must not copy, distribute or take any action or reliance
on its contents.  Please destroy any hard copies and delete this
message.

-Original Message-
From: Nux 
Sent: 30 January 2023 12:01
To: users@cloudstack.apache.org
Cc: Gary Dixon 
Subject: Re: Override DNS IP addresses

Hi Gary,

Yes, indeed, this is coming to 4.18:
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fcloudstack%2Fpull%2F6425&data=05%7C01%7CGary.Dixon%40quadris.co.uk%7Caa1d5e15f15848273cb508db02b9a01b%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%7C638106768520826236%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=QZjqm0qb4OjtfoujFPjZe%2F8W8jaU9f8gGpa12ZfoyCw%3D&reserved=0

Until then I am not sure how to solve the problem though. If IPs and
DNS are statically assign, why does this continue to be a problem?

Regards

On 2023-01-30 11:37, Gary Dixon wrote:

HI everyone

CS 4.15.2

Hypervisor Ubuntu 20.04 KVM

The vast majority of our tenants in CS are windows Active directory
domain based networks. This relies on the Domain Controllers being

the

DNS servers for the domain.

In each guest OS we statically assign IP address information and set



the DNS server addresses to point to the IP address of the Domain
Controllers

We see issues where the Zone defined DNS server IP addresses
(8.8.8.8, 8.8.4.4) are being passed through to the guest Windows

VM’s

which then causes them to lose their domain trust because they

cannot

locate the domain controllers

Is there a way to override the global Zone DNS server IP addresses
that are passed through to guest VM’s – can this be changed for

each

Tennant/Domain in the Cloud database ?

Best regards

Gary

Gary Dixon​

Senior Technical Consultant

T: +44 161 537 4990

E: v [1]ms@quadris‑support.com

W:


https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.q



uadris.co.uk%2F&data=05%7C01%7CGary.Dixon%40quadris.co.uk%7Caa1d5e15f1



5848273cb508db02b9a01b%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%7C63



8106768520826236%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV



2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=r25zVpzJzf

jUG46HKguwC%2FRkIm3nYcZAmRgiBG%2BKPlA%3D&reserved=0

The information contained in this e-mail from Quadris may be
confidential and privileged for the private use of the named
recipient. The contents of this e-mail may not necessarily represent



the official views of Quadris. If you have received this information



in error you must not copy, distribute or take any action or

reliance

on its contents. Please destroy any hard copies and delete this
message.



Links:
--
[1] tel:+44%207989717661



Links:
--
[1] tel:+44%207989717661


understand Cloudstack Database performance

2023-01-31 Thread jordan j
Hello everyone!

ACS 4.17.2 with a separate database. ACS currently has no vm instances.

While creating some /16 user networks we noticed some timeouts on the API.
After some tests - the smaller the new network the less the issues.

Checking the database - there were 600 slow queries on average.
The db server is separate - 8gb of ram and 6gb given for
innodb_buffer_pool_size.
Buffing the vm RAM to 64 gb did not help.

What did help was increasing join_buffer_size to 64MB.

Optimization tips in the docs do not give much info: page
https://docs.cloudstack.apache.org/en/latest/adminguide/tuning.html

Is there an optimization guide that has to be done for CS to perform
normally?
Are there any rules that need to be followed while scaling the
infrastructure?

Regards,
Jordan


Re: Facing issue while integration ceph with apache cloudstack

2023-01-31 Thread Wei ZHOU
Hi Sanjay,

You may face the issue
https://github.com/apache/cloudstack/issues/5741#issuecomment-990669423

You can use nfs4 as secondary storage. You need to change global
setting secstorage.nfs.version to "4"

-Wei

On Tue, 31 Jan 2023 at 10:47, Sanjay Kumar  wrote:

> Hello!
>
> Thanks for the quick update.
>
> root@NVCOMP03:~# apt install libvirt-daemon-driver-storage-rbd
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> libvirt-daemon-driver-storage-rbd is already the newest version
> (6.0.0-0ubuntu8.16).
> libvirt-daemon-driver-storage-rbd set to manually installed.
> The following packages were automatically installed and are no longer
> required:
>   libboost-iostreams1.71.0 libboost-thread1.71.0
> Use 'apt autoremove' to remove them.
>
>
> Please help me out if any OS dependencies?
>
>
> *OS for ceph node running on: centos 8.OS for compute node running: ubuntu
> 20.04*
> *OS for DB: ubuntu 18.04*
>
> *Q: Can we directly use nfs4 in apache cloudstack for secondary?*
>
>
>
>
> On Tue, Jan 31, 2023 at 3:09 PM Wei ZHOU  wrote:
>
> > HiSanjay,
> >
> > Have you installed the "libvirt-daemon-driver-storage-rbd" package on kvm
> > hosts ?
> >
> > -Wei
> >
> > On Tue, 31 Jan 2023 at 09:29, Sanjay Kumar 
> wrote:
> >
> > >   Hello!
> > >
> > > We are facing while integration of ceph and  issue while adding the
> > storage
> > > with apache cloudstack. Please help me out get it fix and how easy
> > > integrate the ceph with apache cloudstack.
> > >
> > > OS for ceph node: centos 8.
> > > OS for compute node: ubuntu 20
> > > OS for DB: ubuntu 18
> > >
> > > 2023-01-30 12:01:40,985 WARN
> > >  [o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl]
> > > (qtp1443435931-22:ctx-9fcfd4f4 ctx-db666ab9) (logid:2bc85ca8) No host
> can
> > > access storage pool
> > > org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@d98a780
> in
> > > this zone.
> > > 2023-01-30 12:01:40,989 DEBUG [c.c.s.StorageManagerImpl]
> > > (qtp1443435931-22:ctx-9fcfd4f4 ctx-db666ab9) (logid:2bc85ca8) Failed to
> > add
> > > data store: Failed to create storage pool as it is not accessible to
> > hosts.
> > > com.cloud.utils.exception.CloudRuntimeException: Failed to create
> storage
> > > pool as it is not accessible to hosts.
> > > at org.apac
> > >
> > >
> > > Please help me out if there any OS dependencies.
> > >
> > > With regards,
> > >
> > > Sanjay Kumar
> > >
> >
>


VNC Console Problems with Ubuntu 22.04

2023-01-31 Thread Sven Barczyk
Hi there,

has anybody encountered this phenomenon, with the official Cloud-Images from 
Ubuntu 22.04?

After booting, the VNC Console from ConsoleProxy is frozen with bios post 
information.
The instance from this Ubuntu 22.04 cloud-image, when configured with proper 
network, is bootable and is accessible via SSH.

K,R
Sven Barczyk



Re: Facing issue while integration ceph with apache cloudstack

2023-01-31 Thread Sanjay Kumar
Hello!

Thanks for the quick update.

root@NVCOMP03:~# apt install libvirt-daemon-driver-storage-rbd
Reading package lists... Done
Building dependency tree
Reading state information... Done
libvirt-daemon-driver-storage-rbd is already the newest version
(6.0.0-0ubuntu8.16).
libvirt-daemon-driver-storage-rbd set to manually installed.
The following packages were automatically installed and are no longer
required:
  libboost-iostreams1.71.0 libboost-thread1.71.0
Use 'apt autoremove' to remove them.


Please help me out if any OS dependencies?


*OS for ceph node running on: centos 8.OS for compute node running: ubuntu
20.04*
*OS for DB: ubuntu 18.04*

*Q: Can we directly use nfs4 in apache cloudstack for secondary?*




On Tue, Jan 31, 2023 at 3:09 PM Wei ZHOU  wrote:

> HiSanjay,
>
> Have you installed the "libvirt-daemon-driver-storage-rbd" package on kvm
> hosts ?
>
> -Wei
>
> On Tue, 31 Jan 2023 at 09:29, Sanjay Kumar  wrote:
>
> >   Hello!
> >
> > We are facing while integration of ceph and  issue while adding the
> storage
> > with apache cloudstack. Please help me out get it fix and how easy
> > integrate the ceph with apache cloudstack.
> >
> > OS for ceph node: centos 8.
> > OS for compute node: ubuntu 20
> > OS for DB: ubuntu 18
> >
> > 2023-01-30 12:01:40,985 WARN
> >  [o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl]
> > (qtp1443435931-22:ctx-9fcfd4f4 ctx-db666ab9) (logid:2bc85ca8) No host can
> > access storage pool
> > org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@d98a780 in
> > this zone.
> > 2023-01-30 12:01:40,989 DEBUG [c.c.s.StorageManagerImpl]
> > (qtp1443435931-22:ctx-9fcfd4f4 ctx-db666ab9) (logid:2bc85ca8) Failed to
> add
> > data store: Failed to create storage pool as it is not accessible to
> hosts.
> > com.cloud.utils.exception.CloudRuntimeException: Failed to create storage
> > pool as it is not accessible to hosts.
> > at org.apac
> >
> >
> > Please help me out if there any OS dependencies.
> >
> > With regards,
> >
> > Sanjay Kumar
> >
>


Re: Facing issue while integration ceph with apache cloudstack

2023-01-31 Thread Wei ZHOU
HiSanjay,

Have you installed the "libvirt-daemon-driver-storage-rbd" package on kvm
hosts ?

-Wei

On Tue, 31 Jan 2023 at 09:29, Sanjay Kumar  wrote:

>   Hello!
>
> We are facing while integration of ceph and  issue while adding the storage
> with apache cloudstack. Please help me out get it fix and how easy
> integrate the ceph with apache cloudstack.
>
> OS for ceph node: centos 8.
> OS for compute node: ubuntu 20
> OS for DB: ubuntu 18
>
> 2023-01-30 12:01:40,985 WARN
>  [o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl]
> (qtp1443435931-22:ctx-9fcfd4f4 ctx-db666ab9) (logid:2bc85ca8) No host can
> access storage pool
> org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@d98a780 in
> this zone.
> 2023-01-30 12:01:40,989 DEBUG [c.c.s.StorageManagerImpl]
> (qtp1443435931-22:ctx-9fcfd4f4 ctx-db666ab9) (logid:2bc85ca8) Failed to add
> data store: Failed to create storage pool as it is not accessible to hosts.
> com.cloud.utils.exception.CloudRuntimeException: Failed to create storage
> pool as it is not accessible to hosts.
> at org.apac
>
>
> Please help me out if there any OS dependencies.
>
> With regards,
>
> Sanjay Kumar
>


Fwd: Facing issue while integration ceph with apache cloudstack

2023-01-31 Thread Sanjay Kumar
  Hello!

We are facing while integration of ceph and  issue while adding the storage
with apache cloudstack. Please help me out get it fix and how easy
integrate the ceph with apache cloudstack.

OS for ceph node: centos 8.
OS for compute node: ubuntu 20
OS for DB: ubuntu 18

2023-01-30 12:01:40,985 WARN
 [o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl]
(qtp1443435931-22:ctx-9fcfd4f4 ctx-db666ab9) (logid:2bc85ca8) No host can
access storage pool
org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@d98a780 in
this zone.
2023-01-30 12:01:40,989 DEBUG [c.c.s.StorageManagerImpl]
(qtp1443435931-22:ctx-9fcfd4f4 ctx-db666ab9) (logid:2bc85ca8) Failed to add
data store: Failed to create storage pool as it is not accessible to hosts.
com.cloud.utils.exception.CloudRuntimeException: Failed to create storage
pool as it is not accessible to hosts.
at org.apac


Please help me out if there any OS dependencies.

With regards,

Sanjay Kumar