Re: [PROPOSAL] DNS provider framework in CloudStack
Op 30/10/2024 om 09:40 schreef Ruben Bosch: Great suggestion Wido. One suggestion I would have is to include PTR (reverse DNS) in here also, and make the PTR equal to the vm_instance.display_name Ah, yes, good suggestion! Per CloudStack zone you would set 3 DNS zones: - Zone to create A and -records for Instances - Zone for IPv4 PTR records - Zone for IPv6 PTR records This would allow users to use the DNS record pointing to their VM from the start without ever needing to copy/paste and IP-address. Wido Kind regards, Ruben Bosch On Tue, Oct 29, 2024 at 10:18 AM Wido den Hollander wrote: Hello, I got my inspiration for this proposal from the recently added object storage [0] plugin in CloudStack. My idea is as follows: - A new framework is addedd: Authorative DNS - This allows for admins and end-users to manage DNS zones - Different providers implement different APIs, examples: - PowerDNS through it's API [1] - Public DNS providers like NS1 [2], rcodezero [3], Gandi [4], CloudFlare [5], etc - Your local DNS which applies to your environment These drivers will support various functionality and advertise their capabilities or limitations: - Create and delete zones - Manage records in these zones - Advertise which record types are supported - Limit the amount of records in a zone (if any) - Set a limitation on how low the TTL can be Per account and domain we can then set limits: - Amount of zones to create - Amount of creates per zone This would allow for a couple of things: - End-users can manage their DNS via the same API as they manage their cloud resources - End-users can manage DNS via the CloudStack UI - We can directly create public DNS records for newly created instances - You assign a DNS zone to a CloudStack zone - Upon VM creation a record is created i-xx-yy-vm.myzone.tld A 1.2.3.4 i-xx-yy-vm.myzone.tld 2001:db8:af31::61 - When the VM is removed the DNS records are removed - Console Proxy and Secondary Storage VMs can point to a working hostname instead of IP-address - We can then also support IPv6 for the CP and SS Your feedback is welcome! Wido [0]: https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+Object+Store+Framework [1]: https://doc.powerdns.com/authoritative/http-api/index.html [2]: https://www.ibm.com/products/ns1-connect/api [3]: https://my.rcodezero.at/openapi/ [4]: https://api.gandi.net/docs/livedns/ [5]: https://developers.cloudflare.com/api/
RE: [PROPOSAL] DNS provider framework in CloudStack
@Wido den Hollander I love the idea and it's very similar to one that I came up with some 10 years ago and attempted to convince my then employer to commission, unfortunately it didn't go ahead. I have no feedback to give on the functionality as it's very close to what I proposed back then and I'd love to see that implemented in ACS -Original Message- From: Wido den Hollander Sent: 30 October 2024 10:36 To: dev@cloudstack.apache.org; Ruben Bosch Subject: Re: [PROPOSAL] DNS provider framework in CloudStack Op 30/10/2024 om 09:40 schreef Ruben Bosch: > Great suggestion Wido. One suggestion I would have is to include PTR > (reverse DNS) in here also, and make the PTR equal to the > vm_instance.display_name > Ah, yes, good suggestion! Per CloudStack zone you would set 3 DNS zones: - Zone to create A and -records for Instances - Zone for IPv4 PTR records - Zone for IPv6 PTR records This would allow users to use the DNS record pointing to their VM from the start without ever needing to copy/paste and IP-address. Wido > Kind regards, > > Ruben Bosch > > On Tue, Oct 29, 2024 at 10:18 AM Wido den Hollander > > wrote: > >> Hello, >> >> I got my inspiration for this proposal from the recently added object >> storage [0] plugin in CloudStack. >> >> My idea is as follows: >> >> - A new framework is addedd: Authorative DNS >> - This allows for admins and end-users to manage DNS zones >> - Different providers implement different APIs, examples: >> - PowerDNS through it's API [1] >> - Public DNS providers like NS1 [2], rcodezero [3], Gandi [4], >> CloudFlare [5], etc >> - Your local DNS which applies to your environment >> >> These drivers will support various functionality and advertise their >> capabilities or limitations: >> >> - Create and delete zones >> - Manage records in these zones >> - Advertise which record types are supported >> - Limit the amount of records in a zone (if any) >> - Set a limitation on how low the TTL can be >> >> Per account and domain we can then set limits: >> >> - Amount of zones to create >> - Amount of creates per zone >> >> This would allow for a couple of things: >> >> - End-users can manage their DNS via the same API as they manage >> their cloud resources >> - End-users can manage DNS via the CloudStack UI >> - We can directly create public DNS records for newly created instances >> - You assign a DNS zone to a CloudStack zone >> - Upon VM creation a record is created >> i-xx-yy-vm.myzone.tld A 1.2.3.4 >> i-xx-yy-vm.myzone.tld 2001:db8:af31::61 >> - When the VM is removed the DNS records are removed >> - Console Proxy and Secondary Storage VMs can point to a working >> hostname instead of IP-address >> - We can then also support IPv6 for the CP and SS >> >> Your feedback is welcome! >> >> Wido >> >> >> [0]: >> >> https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+Obj >> ect+Store+Framework >> [1]: https://doc.powerdns.com/authoritative/http-api/index.html >> [2]: https://www.ibm.com/products/ns1-connect/api >> [3]: https://my.rcodezero.at/openapi/ >> [4]: https://api.gandi.net/docs/livedns/ >> [5]: https://developers.cloudflare.com/api/ >> >
Re: [PROPOSAL] DNS provider framework in CloudStack
Great suggestion Wido. One suggestion I would have is to include PTR (reverse DNS) in here also, and make the PTR equal to the vm_instance.display_name Kind regards, Ruben Bosch On Tue, Oct 29, 2024 at 10:18 AM Wido den Hollander wrote: > Hello, > > I got my inspiration for this proposal from the recently added object > storage [0] plugin in CloudStack. > > My idea is as follows: > > - A new framework is addedd: Authorative DNS > - This allows for admins and end-users to manage DNS zones > - Different providers implement different APIs, examples: > - PowerDNS through it's API [1] > - Public DNS providers like NS1 [2], rcodezero [3], Gandi [4], > CloudFlare [5], etc > - Your local DNS which applies to your environment > > These drivers will support various functionality and advertise their > capabilities or limitations: > > - Create and delete zones > - Manage records in these zones > - Advertise which record types are supported > - Limit the amount of records in a zone (if any) > - Set a limitation on how low the TTL can be > > Per account and domain we can then set limits: > > - Amount of zones to create > - Amount of creates per zone > > This would allow for a couple of things: > > - End-users can manage their DNS via the same API as they manage their > cloud resources > - End-users can manage DNS via the CloudStack UI > - We can directly create public DNS records for newly created instances >- You assign a DNS zone to a CloudStack zone >- Upon VM creation a record is created > i-xx-yy-vm.myzone.tld A 1.2.3.4 > i-xx-yy-vm.myzone.tld 2001:db8:af31::61 >- When the VM is removed the DNS records are removed > - Console Proxy and Secondary Storage VMs can point to a working > hostname instead of IP-address >- We can then also support IPv6 for the CP and SS > > Your feedback is welcome! > > Wido > > > [0]: > > https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+Object+Store+Framework > [1]: https://doc.powerdns.com/authoritative/http-api/index.html > [2]: https://www.ibm.com/products/ns1-connect/api > [3]: https://my.rcodezero.at/openapi/ > [4]: https://api.gandi.net/docs/livedns/ > [5]: https://developers.cloudflare.com/api/ >
Re: [PR] service offering. sdk framework rewrite [cloudstack-terraform-provider]
CodeBleu commented on PR #138: URL: https://github.com/apache/cloudstack-terraform-provider/pull/138#issuecomment-2448287725 @poddm > I fixed the duplicate storage_offering field. > Thanks, I will test this later. My main issue was the `storage_type` would not change to what I selected. It defaults to `shared` and I wanted `local`. This is mentioned above in big comment, so maybe that part got lost.  > > Error: Error creating the new instance ace-test-box-0: invalid character '<' looking for beginning of value > > This usually means the management server api returned an html error response and not json like the client library is expecting. I've been using this in `0.4.0` release. What should I do? 1. I don't even see the `details` part of `cloudstack_instance` even documented. 2. I went ahead and used what you said to use, but I get that error whenever I add the `details` part -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] service offering. sdk framework rewrite [cloudstack-terraform-provider]
CodeBleu commented on PR #138: URL: https://github.com/apache/cloudstack-terraform-provider/pull/138#issuecomment-2447330444 @poddm Not sure if you saw that I'm still having issues with this or not. Wondering what I need to do? https://github.com/apache/cloudstack-terraform-provider/pull/138#issuecomment-2442665334 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[PR] Fix NSX supported version [cloudstack-documentation]
nvazquez opened a new pull request, #452: URL: https://github.com/apache/cloudstack-documentation/pull/452 Fix NSX supported version -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org