Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ConfigDrive option is VPC network offerings #9706

Open
kiranchavala opened this issue Sep 19, 2024 · 2 comments
Open

Support ConfigDrive option is VPC network offerings #9706

kiranchavala opened this issue Sep 19, 2024 · 2 comments

Comments

@kiranchavala
Copy link
Contributor

ISSUE TYPE

Enhancement/Improvement request

COMPONENT NAME

Component: VPC

CLOUDSTACK VERSION

Cloudstack version 4.19.1.1

SUMMARY

Support ConfigDrive option is VPC network offerings

Currently, Cloudstack supports config drive option for Network offering for (L2, Isolated networks, shared networks).

Steps to reproduce the issue

  1. Navigate to Service Offerings > VPC offerings > Create vpc offering with following supported services

UserData : ConfigDrive
Dns : VpcVirtualRouter
Dhcp : VpcVirtualRouter

There is no configdrive option for DHCP and DNS (Supported service).

The config drive option is present only for Userdata (Supported service)

Screenshot 2024-09-19 at 10 39 22 AM

Screenshot 2024-09-19 at 10 47 27 AM

  1. Navigate to Service Offering > Network offering > Create Network offering > Select VPC >

UserData : ConfigDrive
Dns : ConfigDrive
Dhcp : ConfigDrive

  1. Navigate to Networks > VPC networks > Create a vpc network based on the offering mentioned in step 1

  2. Navigate to Network > VPC networks > Create a vpc tier based on the offering mentioned in step 2

  3. Exception

Service/provider combination Dhcp/ConfigDrive is not supported by VPC [VPC

Screenshot 2024-09-18 at 11 28 37 AM

Also, we cannot create a network offering with the following supported service configuration

UserData : ConfigDrive
Dns : VpcVirtualRouter
Dhcp : VpcVirtualRouter

Exception message

Cannot enable subset of Services, Please specify the complete list of Services: UserData, Dns, Dhcp for Service Provider ConfigDrive

Expected behaviour

Since Cloudstack supports ConfigDrive for other network offerings , it should support for Vpc network offerings

This will be helpful for end users who don't want to use Cloudinit option for deploying vm's in vpc network tier

Ref:

#9329

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Using+ConfigDrive+for+Metadata%2C+Userdata+and+Password#:~:text=CLOUDSTACK%2D9813%20%2D%20(),%2Dkeys)%20and%20password%20files

https://docs.redhat.com/en/documentation/red_hat_openstack_platform/15/html/instances_and_images_guide/ch-configdrive#ch-configdrive

@weizhouapache
Copy link
Member

is it a UI bug of vpc offering creation dialog ?
@vishesh92

@vishesh92
Copy link
Member

is it a UI bug of vpc offering creation dialog ? @vishesh92

To support configdrive for VPC, changes are required in both frontend and backend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants