[RESULT][VOTE] Apache CloudStack 4.16.0.0

2021-10-28 Thread Nicolas Vazquez
Hi all,

The vote for CloudStack 4.16.0.0 *passes* with
3 PMC + 2 non-PMC votes.

+1 (PMC / binding)
3 persons (Rohit, Gabriel, Wei)

+1 (non binding)
2 persons (Daniel, Suresh)

0
none

-1
none

Thanks to everyone participating.

I will now prepare the release announcement to go out after 24-48 hours to give 
the mirrors time to catch up.

Regards,
Nicolas Vazquez

 



[VOTE] Apache CloudStack 4.16.0.0 (RC2)

2021-10-28 Thread Wei ZHOU
+1 (binding)

1. build packages
2. register systemvm template and upgrade from 4.15.2 to 4.16.0.0-RC2
3. create an isolated network and vm. tested static nat, load balancer,
port forwarding and firewall
4. create a vpc, 3 vpc tier and vm, a private gateway, tested static nat,
load balancer, port forwarding and network ACL.
5. tested vm, volume life cycles.

-Wei

On Mon, 25 Oct 2021 at 15:56, Nicolas Vazquez 
wrote:

> Hi All,
>
> I have created a 4.16.0.0 release (RC2), with the following artifacts up
> for testing and a vote:
>
> Git Branch and Commit SHA:
> https://github.com/apache/cloudstack/tree/4.16.0.0-RC20211025T0851
> Commit: 1e070be4c9a87650f48707a44efff2796dfa802a
>
> Source release (checksums and signatures are available at the same
> location):
> https://dist.apache.org/repos/dist/dev/cloudstack/4.16.0.0/
>
> PGP release keys (signed using 656E1BCC8CB54F84):
> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
>
> The vote will be open until 28th October 2021, 16.00 CET (72h).
>
> For sanity in tallying the vote, can PMC members please be sure to
> indicate "(binding)" with their vote?
>
> [ ] +1  approve
> [ ] +0  no opinion
> [ ] -1  disapprove (and reason why)
>
> For users convenience, the packages from this release candidate (RC2) and
> 4.16.0 systemvmtemplates are available here:
> https://download.cloudstack.org/testing/41600-RC2/
> https://download.cloudstack.org/systemvm/4.16/
>
> Regards,
> Nicolas Vazquez
>
>
>
>
>


Re: Unable to add host

2021-10-28 Thread James Steele
Have you allowed root ssh access?

vim /etc/ssh/sshd_config
# and set: 
PermitRootLogin=yes


Re: [VOTE] Apache CloudStack 4.16.0.0 (RC2)

2021-10-28 Thread Suresh Anaparti
+1

Performed VM, Volume life cycle tests and random tests for VM/Volume snapshots, 
templates, networks (isolated / vpc) on fresh env (MS: CentOS 7.6 + KVM 
hypervisor). No issues noticed.

Regards,
Suresh

On 25/10/21, 7:26 PM, "Nicolas Vazquez"  wrote:

Hi All,

I have created a 4.16.0.0 release (RC2), with the following artifacts up 
for testing and a vote:

Git Branch and Commit SHA:
https://github.com/apache/cloudstack/tree/4.16.0.0-RC20211025T0851
Commit: 1e070be4c9a87650f48707a44efff2796dfa802a

Source release (checksums and signatures are available at the same 
location):
https://dist.apache.org/repos/dist/dev/cloudstack/4.16.0.0/

PGP release keys (signed using 656E1BCC8CB54F84):
https://dist.apache.org/repos/dist/release/cloudstack/KEYS

The vote will be open until 28th October 2021, 16.00 CET (72h).

For sanity in tallying the vote, can PMC members please be sure to indicate 
"(binding)" with their vote?

[ ] +1  approve
[ ] +0  no opinion
[ ] -1  disapprove (and reason why)

For users convenience, the packages from this release candidate (RC2) and
4.16.0 systemvmtemplates are available here:
https://download.cloudstack.org/testing/41600-RC2/
https://download.cloudstack.org/systemvm/4.16/

Regards,
Nicolas Vazquez






 



Re: Unable to add host

2021-10-28 Thread vas...@gmx.de
Hi Nazmul,

okay sounds good.

Any Error-Logs from the host / agent.log availeable?

regards

Am Do., 28. Okt. 2021 um 14:59 Uhr schrieb Nazmul Parvej <
nazmul.par...@bol-online.com>:

> I am using the root account for adding host.
>
>
> Yours sincerely,
>
>
> Nazmul Parvej
>
>
> On Wed, Oct 27, 2021 at 5:30 PM vas...@gmx.de  wrote:
>
> > which kind of useraccount are you using to add the host?
> >
> > had similar problems adding a host with an "sudo"- enabled account as the
> > commands performed while performing the generation of an keystore-file
> > weren't working correctly.
> >
> > Am Mi., 27. Okt. 2021 um 12:53 Uhr schrieb Nazmul Parvej <
> > nazmul.par...@bol-online.com>:
> >
> > > Hi There,
> > >
> > > Please see my WARNING log, I can't understand why not added host on my
> > > Advanced
> > > zone. All servers are Ubuntu 20.04 LTS
> > >
> > > Management Server:
> > > In Web Portal Global Settings
> > >
> > > |ca.plugin.root.auth.strictness|is set to|false
> > >
> > >
> > > for ssh setting below config
> > >
> > > PubkeyAcceptedKeyTypes=+ssh-dss
> > > HostKeyAlgorithms=+ssh-dss
> > > KexAlgorithms=+diffie-hellman-group1-sha1
> > >
> > >
> > > In Host Server:
> > > Host as KVM Server Installation
> > > ==
> > >
> > > apt-get install qemu-kvm cloudstack-agent
> > > sed -i -e 's/\#vnc_listen.*$/vnc_listen = "0.0.0.0"/g'
> > > /etc/libvirt/qemu.conf
> > > sed -i -e 's/.*libvirtd_opts.*/env libvirtd_opts="-l"/'
> > > /etc/default/libvirtd
> > > echo 'listen_tls=0' >> /etc/libvirt/libvirtd.conf
> > > echo 'listen_tcp=1' >> /etc/libvirt/libvirtd.conf
> > > echo 'tcp_port = "16509"' >> /etc/libvirt/libvirtd.conf
> > > echo 'mdns_adv = 0' >> /etc/libvirt/libvirtd.conf
> > > echo 'auth_tcp = "none"' >> /etc/libvirt/libvirtd.conf
> > >
> > > systemctl restart libvirtd
> > >
> > > apt-get install uuid
> > > UUID=$(uuid)
> > > echo host_uuid = \"$UUID\" >> /etc/libvirt/libvirtd.conf
> > > systemctl restart libvirtd
> > >
> > > vi /etc/ssh/sshd_config
> > > PubkeyAcceptedKeyTypes=+ssh-dss
> > > HostKeyAlgorithms=+ssh-dss
> > > KexAlgorithms=+diffie-hellman-group1-sha1
> > >
> > > systemctl restart ssh
> > > systemctl restart sshd
> > >
> > >
> > >
> > >
> > > Please see my log error from ACS mgmt server
> > >
> > >
> > >
> > > 021-10-27 15:59:16,063 WARN  [c.c.u.n.Link]
> > > (AgentManager-SSLHandshakeHandler-1:null) (logid:) This SSL engine was
> > > forced to close inbound due to end of stream.
> > > 2021-10-27 15:59:16,959 WARN  [c.c.a.d.ParamGenericValidationWorker]
> > > (qtp1074389766-290:ctx-827d2286 ctx-57d77cbc) (logid:8809eb47) Received
> > > unknown parameters for command addHost. Unknown parameters :
> clustertype
> > > 2021-10-27 15:59:30,870 WARN  [c.c.h.k.d.LibvirtServerDiscoverer]
> > > (qtp1074389766-290:ctx-827d2286 ctx-57d77cbc) (logid:8809eb47)  can't
> > setup
> > > agent, due to com.cloud.utils.exception.CloudRuntimeException: Failed
> to
> > > setup keystore on the KVM host: 10.10.9.51 - Failed to setup keystore
> on
> > > the KVM host: 10.10.9.51
> > > 2021-10-27 15:59:30,871 WARN  [c.c.r.ResourceManagerImpl]
> > > (qtp1074389766-290:ctx-827d2286 ctx-57d77cbc) (logid:8809eb47) Unable
> to
> > > find the server resources at http://10.10.9.51
> > > 2021-10-27 15:59:30,872 WARN  [o.a.c.a.c.a.h.AddHostCmd]
> > > (qtp1074389766-290:ctx-827d2286 ctx-57d77cbc) (logid:8809eb47)
> Exception:
> > > 2021-10-27 16:00:09,415 WARN  [c.c.a.d.ParamGenericValidationWorker]
> > > (qtp1074389766-291:ctx-32254b38 ctx-81598c92) (logid:276372ee) Received
> > > unknown parameters for command addHost. Unknown parameters :
> clustertype
> > > 2021-10-27 16:00:23,404 WARN  [c.c.h.k.d.LibvirtServerDiscoverer]
> > > (qtp1074389766-291:ctx-32254b38 ctx-81598c92) (logid:276372ee)  can't
> > setup
> > > agent, due to com.cloud.utils.exception.CloudRuntimeException: Failed
> to
> > > setup keystore on the KVM host: 10.10.9.51 - Failed to setup keystore
> on
> > > the KVM host: 10.10.9.51
> > > 2021-10-27 16:00:23,405 WARN  [c.c.r.ResourceManagerImpl]
> > > (qtp1074389766-291:ctx-32254b38 ctx-81598c92) (logid:276372ee) Unable
> to
> > > find the server resources at http://10.10.9.51
> > > 2021-10-27 16:00:23,408 WARN  [o.a.c.a.c.a.h.AddHostCmd]
> > > (qtp1074389766-291:ctx-32254b38 ctx-81598c92) (logid:276372ee)
> Exception:
> > > 2021-10-27 16:00:27,313 WARN  [c.c.u.n.Link]
> > > (AgentManager-SSLHandshakeHandler-1:null) (logid:) This SSL engine was
> > > forced to close inbound due to end of stream.
> > >
> > >
> > >
> > > Yours sincerely,
> > >
> > > Nazmul Parvej
> > >
> >
>


Re: Unable to add host

2021-10-28 Thread Nazmul Parvej
I am using the root account for adding host.


Yours sincerely,


Nazmul Parvej


On Wed, Oct 27, 2021 at 5:30 PM vas...@gmx.de  wrote:

> which kind of useraccount are you using to add the host?
>
> had similar problems adding a host with an "sudo"- enabled account as the
> commands performed while performing the generation of an keystore-file
> weren't working correctly.
>
> Am Mi., 27. Okt. 2021 um 12:53 Uhr schrieb Nazmul Parvej <
> nazmul.par...@bol-online.com>:
>
> > Hi There,
> >
> > Please see my WARNING log, I can't understand why not added host on my
> > Advanced
> > zone. All servers are Ubuntu 20.04 LTS
> >
> > Management Server:
> > In Web Portal Global Settings
> >
> > |ca.plugin.root.auth.strictness|is set to|false
> >
> >
> > for ssh setting below config
> >
> > PubkeyAcceptedKeyTypes=+ssh-dss
> > HostKeyAlgorithms=+ssh-dss
> > KexAlgorithms=+diffie-hellman-group1-sha1
> >
> >
> > In Host Server:
> > Host as KVM Server Installation
> > ==
> >
> > apt-get install qemu-kvm cloudstack-agent
> > sed -i -e 's/\#vnc_listen.*$/vnc_listen = "0.0.0.0"/g'
> > /etc/libvirt/qemu.conf
> > sed -i -e 's/.*libvirtd_opts.*/env libvirtd_opts="-l"/'
> > /etc/default/libvirtd
> > echo 'listen_tls=0' >> /etc/libvirt/libvirtd.conf
> > echo 'listen_tcp=1' >> /etc/libvirt/libvirtd.conf
> > echo 'tcp_port = "16509"' >> /etc/libvirt/libvirtd.conf
> > echo 'mdns_adv = 0' >> /etc/libvirt/libvirtd.conf
> > echo 'auth_tcp = "none"' >> /etc/libvirt/libvirtd.conf
> >
> > systemctl restart libvirtd
> >
> > apt-get install uuid
> > UUID=$(uuid)
> > echo host_uuid = \"$UUID\" >> /etc/libvirt/libvirtd.conf
> > systemctl restart libvirtd
> >
> > vi /etc/ssh/sshd_config
> > PubkeyAcceptedKeyTypes=+ssh-dss
> > HostKeyAlgorithms=+ssh-dss
> > KexAlgorithms=+diffie-hellman-group1-sha1
> >
> > systemctl restart ssh
> > systemctl restart sshd
> >
> >
> >
> >
> > Please see my log error from ACS mgmt server
> >
> >
> >
> > 021-10-27 15:59:16,063 WARN  [c.c.u.n.Link]
> > (AgentManager-SSLHandshakeHandler-1:null) (logid:) This SSL engine was
> > forced to close inbound due to end of stream.
> > 2021-10-27 15:59:16,959 WARN  [c.c.a.d.ParamGenericValidationWorker]
> > (qtp1074389766-290:ctx-827d2286 ctx-57d77cbc) (logid:8809eb47) Received
> > unknown parameters for command addHost. Unknown parameters : clustertype
> > 2021-10-27 15:59:30,870 WARN  [c.c.h.k.d.LibvirtServerDiscoverer]
> > (qtp1074389766-290:ctx-827d2286 ctx-57d77cbc) (logid:8809eb47)  can't
> setup
> > agent, due to com.cloud.utils.exception.CloudRuntimeException: Failed to
> > setup keystore on the KVM host: 10.10.9.51 - Failed to setup keystore on
> > the KVM host: 10.10.9.51
> > 2021-10-27 15:59:30,871 WARN  [c.c.r.ResourceManagerImpl]
> > (qtp1074389766-290:ctx-827d2286 ctx-57d77cbc) (logid:8809eb47) Unable to
> > find the server resources at http://10.10.9.51
> > 2021-10-27 15:59:30,872 WARN  [o.a.c.a.c.a.h.AddHostCmd]
> > (qtp1074389766-290:ctx-827d2286 ctx-57d77cbc) (logid:8809eb47) Exception:
> > 2021-10-27 16:00:09,415 WARN  [c.c.a.d.ParamGenericValidationWorker]
> > (qtp1074389766-291:ctx-32254b38 ctx-81598c92) (logid:276372ee) Received
> > unknown parameters for command addHost. Unknown parameters : clustertype
> > 2021-10-27 16:00:23,404 WARN  [c.c.h.k.d.LibvirtServerDiscoverer]
> > (qtp1074389766-291:ctx-32254b38 ctx-81598c92) (logid:276372ee)  can't
> setup
> > agent, due to com.cloud.utils.exception.CloudRuntimeException: Failed to
> > setup keystore on the KVM host: 10.10.9.51 - Failed to setup keystore on
> > the KVM host: 10.10.9.51
> > 2021-10-27 16:00:23,405 WARN  [c.c.r.ResourceManagerImpl]
> > (qtp1074389766-291:ctx-32254b38 ctx-81598c92) (logid:276372ee) Unable to
> > find the server resources at http://10.10.9.51
> > 2021-10-27 16:00:23,408 WARN  [o.a.c.a.c.a.h.AddHostCmd]
> > (qtp1074389766-291:ctx-32254b38 ctx-81598c92) (logid:276372ee) Exception:
> > 2021-10-27 16:00:27,313 WARN  [c.c.u.n.Link]
> > (AgentManager-SSLHandshakeHandler-1:null) (logid:) This SSL engine was
> > forced to close inbound due to end of stream.
> >
> >
> >
> > Yours sincerely,
> >
> > Nazmul Parvej
> >
>


Re: Disbale or bypass DNS of Virtual Router

2021-10-28 Thread Mevludin Blazevic

Hi Wei,

thanks for the quick response! Do I need to restart the 
Management-Server(s) and/or the System VMs/Virtual Router to make the 
change working? After setting up another VM I still see the Virtual 
Router as the first DNS Server in the resolv.conf after change the flag 
to "true".


Moreover, does this configuration affect the VPC?

Regards

Mevludin

Am 28.10.2021 um 13:26 schrieb Wei ZHOU:

Hi,

There is a global setting `use.external.dns`. You may need to change the
value to `true`

-Wei

On Thu, 28 Oct 2021 at 13:12, Mevludin Blazevic 
wrote:


Hi all,

is there a way to disable or bypass the virtual router IP for resolving
the namespace in the guest VMs? We have another default DNS server where
all VMs have access (guest and system VMs). It would be even enough if
the VM would start with a default "options rotate" rule in the resolve
configuration file.

Best Regards

Mevludin



--
Mevludin Blazevic, M.Sc.

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



Re: Experience with clustered/shared filesystems based on SAN storage on KVM?

2021-10-28 Thread Mauro Ferraro - G2K Hosting

Hi,

We are trying to make a lab with ACS 4.16 and Linstor. As soon as we 
finish the tests we can give you some approach for the results. Are 
someone already try this technology?.


Regards,

El 28/10/2021 a las 02:34, Pratik Chandrakar escribió:

Since NFS alone doesn't offer HA. What do you recommend for HA NFS?

On Thu, Oct 28, 2021 at 7:37 AM Hean Seng  wrote:


I have similar consideration when start exploring  Cloudstack , but in
reality  Clustered Filesystem is not easy to maintain.  You seems have
choice of OCFS or GFS2 ,  gfs2 is hard to maintain and in redhat ,  ocfs
recently only maintained in oracle linux.  I believe you do not want to
choose solution that is very propriety .   Thus just SAN or ISCSI o is not
really a direct solution here , except you want to encapsulate it in NFS
and facing Cloudstack Storage.

It work good on CEPH and NFS , but performance wise,  NFS is better . And
all documentation and features you saw  in Cloudstack , it work perfectly
on NFS.

If you choose CEPH,  may be you have to compensate with some performance
degradation,



On Thu, Oct 28, 2021 at 12:44 AM Leandro Mendes 
wrote:


I've been using Ceph in prod for volumes for some time. Note that

although

I had several cloudstack installations,  this one runs on top of Cinder,
but it basic translates as libvirt and rados.

It is totally stable and performance IMHO is enough for virtualized
services.

IO might suffer some penalization due the data replication inside Ceph.
Elasticsearch for instance, the degradation would be a bit worse as there
is replication also in the application size, but IMHO, unless you need
extreme low latency it would be ok.


Best,

Leandro.

On Thu, Oct 21, 2021, 11:20 AM Brussk, Michael <

michael.bru...@nttdata.com

wrote:


Hello community,

today I need your experience and knowhow about clustered/shared
filesystems based on SAN storage to be used with KVM.
We need to consider about a clustered/shared filesystem based on SAN
storage (no NFS or iSCSI), but do not have any knowhow or experience

with

this.
Those I would like to ask if there any productive used environments out
there based on SAN storage on KVM?
If so, which clustered/shared filesystem you are using and how is your
experience with that (stability, reliability, maintainability,

performance,

useability,...)?
Furthermore, if you had already to consider in the past between SAN
storage or CEPH, I would also like to participate on your

considerations

and results :)

Regards,
Michael



--
Regards,
Hean Seng





SSVM ntps do not take custom config

2021-10-28 Thread Yordan Kostov
Dear all,

ACS 4.15.2 + XCP-NG + Template 4.15.1.
Trying to change default  SSVM NTPs to internal ones.
Edit ACS parameter ntp.server.list, rebooted ACS and SSVMs but 
NTPs stay the same.

Same issue was experienced on 4.15.0 + template 4.15.0 with the 
following github issue opened https://github.com/apache/cloudstack/pull/5160
Any idea why change is not applied?

Regards,
Jordan




Re: ACS 4.15 - Disaster recovery after secondary storage issue

2021-10-28 Thread benoit lair
I succeded to re-install the System template

despite the fact i declared a new template with the GUI, set type = SYSTEM,
installed with cloud-install-sys-tmplt the template on NFS Sec storage
I had still errors when system trying to provisioning the vm template on
Storage Pool
The log of mgmt says that no storage pool were available although i have
sufficient space and no blocking tags on Storage Pool

The new template was still in state "allocated"
I edited the following data like

state = Ready, (was allocated)
install_path = template/tmpl/1/225/5951639d-e36b-494a-9e49-6a9ce2f3542c.vhd
(was empty),
download_state = DOWNLOADED (was empty),
physical_size = size of template id1 (was empry),
size = size of template id1, (was empty)
downloaded_pct = 100 (was empty)


Then system successfully installed the new system template on my 2
StoragePool and CPVM and SSVM have been successfully reinstalled

Have you got some ideas of something i would have skipped ?
Is there another way (more conventional) of what i did to recover my system
template ?

Best Regards, Benoit

Le jeu. 28 oct. 2021 à 10:49, benoit lair  a écrit :

> I tried also to recreate another system vm template with GUI
> I followed this link :
> https://docs.cloudstack.apache.org/en/latest/adminguide/systemvm.html#changing-the-default-system-vm-template
> I changed the value in Database with type SYSTEM for the ne entry in
> templates
> I changed the router.template.xenserver value with the name of the new
> template
> I launched on ACS mgmt server : cloud-install-sys-tmplt, it created the
> directory with id 225 in tmpl/1/225 and downloaded the vhd template file
> into it
> But the template is still not available in GUI and Database
>
> How could i restore system vm template ?
>
> Best, Benoit
>
> Le jeu. 28 oct. 2021 à 00:51, benoit lair  a
> écrit :
>
>> I tried to free my SR of tags
>> I restarted ACS
>>
>> Here is the log generated about systems vms after the reboot :
>>
>> https://pastebin.com/xJNfA23u
>>
>> The parts of the log which are curious for me :
>>
>> 2021-10-28 00:31:04,462 DEBUG [c.c.h.x.r.XenServerStorageProcessor]
>> (DirectAgent-14:ctx-3eaf758f) (logid:cc3c4e1e) Catch Exception
>> com.xensource.xenapi.Types$UuidInvalid :VDI getByUuid for uuid:
>> 159e620a-575d-43a8-9a57-f3c7f57a1c8a failed due to The uuid you supplied
>> was invalid.
>> 2021-10-28 00:31:04,462 WARN  [c.c.h.x.r.XenServerStorageProcessor]
>> (DirectAgent-14:ctx-3eaf758f) (logid:cc3c4e1e) Unable to create volume;
>> Pool=volumeTO[uuid=e4347562-9454-453d-be04-29dc746aaf33|path=null|datastore=PrimaryDataStoreTO[uuid=fbbf2bf0-ccc8-4df3-9794-c914f418a9d9|name=null|id=2|pooltype=PreSetup]];
>> Disk:
>> com.cloud.utils.exception.CloudRuntimeException: Catch Exception
>> com.xensource.xenapi.Types$UuidInvalid :VDI getByUuid for uuid:
>> 159e620a-575d-43a8-9a57-f3c7f57a1c8a failed due to The uuid you supplied
>> was invalid.
>> at
>> com.cloud.hypervisor.xenserver.resource.XenServerStorageProcessor.getVDIbyUuid(XenServerStorageProcessor.java:655)
>> at
>> com.cloud.hypervisor.xenserver.resource.XenServerStorageProcessor.cloneVolumeFromBaseTemplate(XenServerStorageProcessor.java:843)
>> at
>> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:99)
>> at
>> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:59)
>> at
>> com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixStorageSubSystemCommandWrapper.execute(CitrixStorageSubSystemCommandWrapper.java:36)
>> at
>> com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixStorageSubSystemCommandWrapper.execute(CitrixStorageSubSystemCommandWrapper.java:30)
>> at
>> com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixRequestWrapper.execute(CitrixRequestWrapper.java:122)
>> at
>> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:1763)
>> at
>> com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:315)
>> at
>> org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:48)
>> at
>> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55)
>> at
>> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102)
>> at
>> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52)
>> at
>> org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:45)
>> at
>> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
>> at
>> java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>> at
>> 

Re: Disbale or bypass DNS of Virtual Router

2021-10-28 Thread Wei ZHOU
Hi,

There is a global setting `use.external.dns`. You may need to change the
value to `true`

-Wei

On Thu, 28 Oct 2021 at 13:12, Mevludin Blazevic 
wrote:

> Hi all,
>
> is there a way to disable or bypass the virtual router IP for resolving
> the namespace in the guest VMs? We have another default DNS server where
> all VMs have access (guest and system VMs). It would be even enough if
> the VM would start with a default "options rotate" rule in the resolve
> configuration file.
>
> Best Regards
>
> Mevludin
>
>


Disbale or bypass DNS of Virtual Router

2021-10-28 Thread Mevludin Blazevic

Hi all,

is there a way to disable or bypass the virtual router IP for resolving 
the namespace in the guest VMs? We have another default DNS server where 
all VMs have access (guest and system VMs). It would be even enough if 
the VM would start with a default "options rotate" rule in the resolve 
configuration file.


Best Regards

Mevludin



Re: ACS 4.15 - Disaster recovery after secondary storage issue

2021-10-28 Thread benoit lair
I tried also to recreate another system vm template with GUI
I followed this link :
https://docs.cloudstack.apache.org/en/latest/adminguide/systemvm.html#changing-the-default-system-vm-template
I changed the value in Database with type SYSTEM for the ne entry in
templates
I changed the router.template.xenserver value with the name of the new
template
I launched on ACS mgmt server : cloud-install-sys-tmplt, it created the
directory with id 225 in tmpl/1/225 and downloaded the vhd template file
into it
But the template is still not available in GUI and Database

How could i restore system vm template ?

Best, Benoit

Le jeu. 28 oct. 2021 à 00:51, benoit lair  a écrit :

> I tried to free my SR of tags
> I restarted ACS
>
> Here is the log generated about systems vms after the reboot :
>
> https://pastebin.com/xJNfA23u
>
> The parts of the log which are curious for me :
>
> 2021-10-28 00:31:04,462 DEBUG [c.c.h.x.r.XenServerStorageProcessor]
> (DirectAgent-14:ctx-3eaf758f) (logid:cc3c4e1e) Catch Exception
> com.xensource.xenapi.Types$UuidInvalid :VDI getByUuid for uuid:
> 159e620a-575d-43a8-9a57-f3c7f57a1c8a failed due to The uuid you supplied
> was invalid.
> 2021-10-28 00:31:04,462 WARN  [c.c.h.x.r.XenServerStorageProcessor]
> (DirectAgent-14:ctx-3eaf758f) (logid:cc3c4e1e) Unable to create volume;
> Pool=volumeTO[uuid=e4347562-9454-453d-be04-29dc746aaf33|path=null|datastore=PrimaryDataStoreTO[uuid=fbbf2bf0-ccc8-4df3-9794-c914f418a9d9|name=null|id=2|pooltype=PreSetup]];
> Disk:
> com.cloud.utils.exception.CloudRuntimeException: Catch Exception
> com.xensource.xenapi.Types$UuidInvalid :VDI getByUuid for uuid:
> 159e620a-575d-43a8-9a57-f3c7f57a1c8a failed due to The uuid you supplied
> was invalid.
> at
> com.cloud.hypervisor.xenserver.resource.XenServerStorageProcessor.getVDIbyUuid(XenServerStorageProcessor.java:655)
> at
> com.cloud.hypervisor.xenserver.resource.XenServerStorageProcessor.cloneVolumeFromBaseTemplate(XenServerStorageProcessor.java:843)
> at
> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:99)
> at
> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:59)
> at
> com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixStorageSubSystemCommandWrapper.execute(CitrixStorageSubSystemCommandWrapper.java:36)
> at
> com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixStorageSubSystemCommandWrapper.execute(CitrixStorageSubSystemCommandWrapper.java:30)
> at
> com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixRequestWrapper.execute(CitrixRequestWrapper.java:122)
> at
> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:1763)
> at
> com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:315)
> at
> org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:48)
> at
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55)
> at
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102)
> at
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52)
> at
> org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:45)
> at
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
> at
> java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at
> java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at java.base/java.lang.Thread.run(Thread.java:829)
> Caused by: The uuid you supplied was invalid.
> at com.xensource.xenapi.Types.checkResponse(Types.java:1491)
> at com.xensource.xenapi.Connection.dispatch(Connection.java:395)
> at
> com.cloud.hypervisor.xenserver.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:457)
> ... 21 more
>
> Is this normal to have this : Unable to create volume;
> Pool=volumeTO[uuid=e4347562-9454-453d-be04-29dc746aaf33|path=null|datastore=PrimaryDataStoreTO[uuid=fbbf2bf0-ccc8-4df3-9794-c914f418a9d9|name=null|id=2|pooltype=PreSetup]]
> with values null ?
>
> Best, Benoit
>
> Le jeu. 28 oct. 2021 à 00:46, benoit lair  a
> écrit :
>
>> Hello Andrija,
>>
>> Well seen :)
>>
>> 2021-10-27 17:59:22,100 DEBUG [c.c.a.m.a.i.FirstFitAllocator]
>> (Work-Job-Executor-93:ctx-30ef4f6b job-2552/job-2648 ctx-d1d9ade8

Re: New Terraform artifacts published for testing

2021-10-28 Thread Harikrishna Patnala
Hi Piotr,

Thank you for your efforts in testing this.

Support for CloudStack's K8s service through terraform is currently not there 
but it is a good value addition. Currently, there are no immediate plans for 
this in the roadmap. I've created an enhancement ticket here 
https://github.com/apache/cloudstack-terraform-provider/issues/13, if we can 
find any volunteers for future releases that will be great.

Regards,
Harikrishna

From: Piotr Pisz 
Sent: Thursday, October 21, 2021 1:00 PM
To: users@cloudstack.apache.org 
Cc: d...@cloudstack.apache.org 
Subject: RE: New Terraform artifacts published for testing

Hi Harikrishna!

I test this provider strongly and so far I have not found any errors (eg
work as expected).
But I have a question, do you plan to adapt this provider's capabilities to
the new CS 4.16 and kubernetes plugin?
I am very interested in setting up a K8S cluster using CS (preferably with
kubernetes plugin) with terraform (or CS + kubespray + terraform without
plugin).
Will this privider be published (along with the documentation) in
registry.terraform.io?
Any roadmap? :-)

Regards,
Piotr


 


-Original Message-
From: Harikrishna Patnala 
Sent: Wednesday, October 20, 2021 4:12 PM
To: 'users@cloudstack.apache.org' 
Cc: d...@cloudstack.apache.org
Subject: New Terraform artifacts published for testing

Hi All,

We have published the new artifacts to the Terraform registry
https://registry.terraform.io/providers/cloudstack/cloudstack/latest. These
are created only for testing purposes with tag v0.4.0-pre.

May I ask the terraform users to help in testing it and report if you find
any issues here at on
https://github.com/apache/cloudstack-terraform-provider/issues? We have
already fixed some issues and done some testing. If everything goes well we
can create RC1 in the next week or so.

Regards,
Harikrishna