cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vijayendra Bhamidipati <vijayendra.bhamidip...@citrix.com>
Subject RE: [ACS41] Baremetal blockers - To remove Baremetal from UI
Date Fri, 22 Mar 2013 02:53:56 GMT
Hi Chip, Animesh,

I've posted the diff at https://reviews.apache.org/r/10071/

Regards,
Vijay

-----Original Message-----
From: Animesh Chaturvedi [mailto:animesh.chaturvedi@citrix.com]
Sent: Thursday, March 21, 2013 6:04 PM
To: Chip Childers; dev@cloudstack.apache.org
Cc: cloudstack-dev@incubator.apache.org
Subject: RE: [ACS41] Baremetal blockers - To remove Baremetal from UI



> -----Original Message-----
> From: Chip Childers [mailto:chip.childers@sungard.com]
> Sent: Thursday, March 21, 2013 5:16 PM
> To: dev@cloudstack.apache.org
> Cc: Animesh Chaturvedi; cloudstack-dev@incubator.apache.org
> Subject: Re: [ACS41] Baremetal blockers - To remove Baremetal from UI
>
> I'm +1 to disabling the function (including UCS), based on the info
> provided so far.
>
> Please provide a clean patch for the 4.1 branch to accomplish this.
> *After* it's applied, we should move the bugs out.
>
> Any objects from anyone?
>
[Animesh>] Some more update / details on what needs to get done 1. Network Offering : Bare
metal shows up in 3 places
        - userdata
        - dhcpprovider
        - pxeservice
  How to fix:  Comment out Baremetal and UCS from componentContext.xml.in and nonossComponentContext.xml.in
and comment out the commands from

2. Add Cluster
 - Baremetal show up in list of hypervisors.  This is coming from listHypervisors command

How to fix: This comes from the file server/src/com/cloud/configuration/ Config.java in property
" hypervisor.list" and  is pulled from Database table "Configuration".

How to fix. : removing the BareMetal from hypervisors.list property in Config.java will fix
it for fresh installs. This will fix the fresh install but to fix it for upgrade we need to
fix the upgrade sql data files. I am not sure if we should fix this I am not clear on  upgrade
concerns? Alex/Chip any comments.

3. Global Settings:
Following 5 properties show up for baremetal in Global Settings
    external.baremetal.system.url
    external,baremetal.resource.classname
    enable.baremetal.securitygroup.agent.echo
    interval.baremetal.securitygroup.agent.echo
     timeout.baremetal.securitygroup.agent.echo

How to fix : Comment out these 5 in server/src/com/cloud/configuration/ Config.java Since
these are new properties above is sufficient , there is no need to fix upgrade data scripts

Thanks
Animesh









> On Thu, Mar 21, 2013 at 03:11:36PM -0700, Jessica Wang wrote:
> > To remove Baremetal from UI:
> >
> > (1) remove BareMetal from listHypervisors API response:
> >
> > http://localhost:8080/client/api?command=listHypervisors&response=js
> > on
> >
> &sessionkey=DJBDo9h1ABqdqS97i%2B88wvK1n8k%3D&listAll=true&_=13638
> 99049
> > 467
> >
> > {
> >     "listhypervisorsresponse": {
> >         "count": 5,
> >         "hypervisor": [
> >             {
> >                 "name": "KVM"
> >             },
> >             {
> >                 "name": "XenServer"
> >             },
> >             {
> >                 "name": "VMware"
> >             },
> >             {
> >                 "name": "BareMetal"
> >             },
> >             {
> >                 "name": "Ovm"
> >             }
> >         ]
> >     }
> > }
> >
> > (2) remove service "BaremetalPxeService" and provider
> "BaremetalDhcpProvider", "BaremetalPxeProvider" ,
> "BaremetaUserdataProvider" from listSupportedNetworkServices API
> response:
> >
> >
> http://localhost:8080/client/api?command=listSupportedNetworkServices&
> >
> response=json&sessionkey=iNj6%2F%2FF%2FDhSFrvmkZ20cmKyZxWg%3D&
> _=136389
> > 0711116
> >
> > {
> >     "listsupportednetworkservicesresponse": {
> >         "count": 13,
> >         "networkservice": [
> >             {
> >                 "name": "Vpn",
> >                 "provider": [
> >                     {
> >                         "name": "VirtualRouter",
> >                         "canenableindividualservice": true
> >                     },
> >                     {
> >                         "name": "VpcVirtualRouter",
> >                         "canenableindividualservice": true
> >                     }
> >                 ],
> >                 "capability": [
> >                     {
> >                         "name": "SupportedVpnTypes",
> >                         "canchooseservicecapability": false
> >                     },
> >                     {
> >                         "name": "VpnTypes",
> >                         "canchooseservicecapability": false
> >                     }
> >                 ]
> >             },
> >             {
> >                 "name": "Dhcp",
> >                 "provider": [
> >                     {
> >                         "name": "BaremetalDhcpProvider",
> >                         "canenableindividualservice": false
> >                     },
> >                     {
> >                         "name": "VirtualRouter",
> >                         "canenableindividualservice": true
> >                     },
> >                     {
> >                         "name": "VpcVirtualRouter",
> >                         "canenableindividualservice": true
> >                     }
> >                 ],
> >                 "capability": []
> >             },
> >             {
> >                 "name": "Dns",
> >                 "provider": [
> >                     {
> >                         "name": "VirtualRouter",
> >                         "canenableindividualservice": true
> >                     },
> >                     {
> >                         "name": "VpcVirtualRouter",
> >                         "canenableindividualservice": true
> >                     }
> >                 ],
> >                 "capability": [
> >                     {
> >                         "name": "AllowDnsSuffixModification",
> >                         "canchooseservicecapability": false
> >                     }
> >                 ]
> >             },
> >             {
> >                 "name": "Firewall",
> >                 "provider": [
> >                     {
> >                         "name": "VirtualRouter",
> >                         "canenableindividualservice": true
> >                     }
> >                 ],
> >                 "capability": [
> >                     {
> >                         "name": "SupportedProtocols",
> >                         "canchooseservicecapability": false
> >                     },
> >                     {
> >                         "name": "MultipleIps",
> >                         "canchooseservicecapability": false
> >                     },
> >                     {
> >                         "name": "TrafficStatistics",
> >                         "canchooseservicecapability": false
> >                     },
> >                     {
> >                         "name": "SupportedTrafficDirection",
> >                         "canchooseservicecapability": false
> >                     },
> >                     {
> >                         "name": "SupportedEgressProtocols",
> >                         "canchooseservicecapability": false
> >                     }
> >                 ]
> >             },
> >             {
> >                 "name": "Lb",
> >                 "provider": [
> >                     {
> >                         "name": "ElasticLoadBalancerVm",
> >                         "canenableindividualservice": false
> >                     },
> >                     {
> >                         "name": "VirtualRouter",
> >                         "canenableindividualservice": true
> >                     },
> >                     {
> >                         "name": "VpcVirtualRouter",
> >                         "canenableindividualservice": true
> >                     }
> >                 ],
> >                 "capability": [
> >                     {
> >                         "name": "SupportedLbAlgorithms",
> >                         "canchooseservicecapability": false
> >                     },
> >                     {
> >                         "name": "SupportedLBIsolation",
> >                         "canchooseservicecapability": true
> >                     },
> >                     {
> >                         "name": "SupportedProtocols",
> >                         "canchooseservicecapability": false
> >                     },
> >                     {
> >                         "name": "TrafficStatistics",
> >                         "canchooseservicecapability": false
> >                     },
> >                     {
> >                         "name": "LoadBalancingSupportedIps",
> >                         "canchooseservicecapability": false
> >                     },
> >                     {
> >                         "name": "SupportedStickinessMethods",
> >                         "canchooseservicecapability": false
> >                     },
> >                     {
> >                         "name": "ElasticLb",
> >                         "canchooseservicecapability": false
> >                     }
> >                 ]
> >             },
> >             {
> >                 "name": "UserData",
> >                 "provider": [
> >                     {
> >                         "name": "VirtualRouter",
> >                         "canenableindividualservice": true
> >                     },
> >                     {
> >                         "name": "BaremetaUserdataProvider",
> >                         "canenableindividualservice": true
> >                     },
> >                     {
> >                         "name": "VpcVirtualRouter",
> >                         "canenableindividualservice": true
> >                     }
> >                 ],
> >                 "capability": []
> >             },
> >             {
> >                 "name": "SourceNat",
> >                 "provider": [
> >                     {
> >                         "name": "NiciraNvp",
> >                         "canenableindividualservice": true
> >                     },
> >                     {
> >                         "name": "VirtualRouter",
> >                         "canenableindividualservice": true
> >                     },
> >                     {
> >                         "name": "VpcVirtualRouter",
> >                         "canenableindividualservice": true
> >                     }
> >                 ],
> >                 "capability": [
> >                     {
> >                         "name": "SupportedSourceNatTypes",
> >                         "canchooseservicecapability": true
> >                     },
> >                     {
> >                         "name": "RedundantRouter",
> >                         "canchooseservicecapability": true
> >                     }
> >                 ]
> >             },
> >             {
> >                 "name": "StaticNat",
> >                 "provider": [
> >                     {
> >                         "name": "NiciraNvp",
> >                         "canenableindividualservice": true
> >                     },
> >                     {
> >                         "name": "VirtualRouter",
> >                         "canenableindividualservice": true
> >                     },
> >                     {
> >                         "name": "VpcVirtualRouter",
> >                         "canenableindividualservice": true
> >                     }
> >                 ],
> >                 "capability": [
> >                     {
> >                         "name": "ElasticIp",
> >                         "canchooseservicecapability": false
> >                     }
> >                 ]
> >             },
> >             {
> >                 "name": "PortForwarding",
> >                 "provider": [
> >                     {
> >                         "name": "NiciraNvp",
> >                         "canenableindividualservice": true
> >                     },
> >                     {
> >                         "name": "VirtualRouter",
> >                         "canenableindividualservice": true
> >                     },
> >                     {
> >                         "name": "VpcVirtualRouter",
> >                         "canenableindividualservice": true
> >                     }
> >                 ],
> >                 "capability": []
> >             },
> >             {
> >                 "name": "SecurityGroup",
> >                 "provider": [
> >                     {
> >                         "name": "SecurityGroupProvider",
> >                         "canenableindividualservice": false
> >                     }
> >                 ],
> >                 "capability": []
> >             },
> >             {
> >                 "name": "NetworkACL",
> >                 "provider": [
> >                     {
> >                         "name": "VpcVirtualRouter",
> >                         "canenableindividualservice": true
> >                     }
> >                 ],
> >                 "capability": [
> >                     {
> >                         "name": "SupportedProtocols",
> >                         "canchooseservicecapability": false
> >                     }
> >                 ]
> >             },
> >             {
> >                 "name": "Connectivity",
> >                 "provider": [
> >                     {
> >                         "name": "BigSwitchVns",
> >                         "canenableindividualservice": true
> >                     },
> >                     {
> >                         "name": "NiciraNvp",
> >                         "canenableindividualservice": true
> >                     }
> >                 ],
> >                 "capability": []
> >             },
> >             {
> >                 "name": "BaremetalPxeService",
> >                 "provider": [
> >                     {
> >                         "name": "BaremetalPxeProvider",
> >                         "canenableindividualservice": false
> >                     }
> >                 ],
> >                 "capability": []
> >             }
> >         ]
> >     }
> > }
> >
> >
> >
> > Jessica
> >
> > -----Original Message-----
> > From: Jessica Wang [mailto:Jessica.Wang@citrix.com]
> > Sent: Thursday, March 21, 2013 3:00 PM
> > To: Animesh Chaturvedi; dev@cloudstack.apache.org
> > Cc: cloudstack-dev@incubator.apache.org
> > Subject: RE: [ACS41] Baremetal blockers
> >
> >
> >
> > -----Original Message-----
> > From: Animesh Chaturvedi
> > Sent: Thursday, March 21, 2013 2:56 PM
> > To: dev@cloudstack.apache.org
> > Cc: cloudstack-dev@incubator.apache.org; Jessica Wang
> > Subject: RE: [ACS41] Baremetal blockers
> >
> >
> >
> > > -----Original Message-----
> > > From: Animesh Chaturvedi [mailto:animesh.chaturvedi@citrix.com]
> > > Sent: Thursday, March 21, 2013 2:22 PM
> > > To: dev@cloudstack.apache.org
> > > Cc: cloudstack-dev@incubator.apache.org; Jessica Wang
> > > Subject: RE: [ACS41] Baremetal blockers
> > >
> > >
> > > > >> > >
> > > > >> > > I am checking if  these can be reassigned. If it does
not
> > > > >> > > pan out by
> > > > >> tomorrow I will propose to disable the feature for 4.1 release.
> > > > >> >
> > > > >> > I think that a decision is predicated on a more specific
> > > > >> > statement of what we mean by "disable".
> > > > >>
> > > > >> Pinging on this again.  I'm leaning towards agreement, but
> > > > >> what
> > > > >> *exactly* can we do to disable it and (at the same time)
> > > > >> minimize the
> > > > >> knock- on effect of the change required to disable it.
> > > > > [Animesh>] There is no one available to pick up these defects
> > > > > in time for
> > > > 4.1 so we will disable the feature. Disable means Baremetal will
> > > > be removed from componentContext.xml , the API and UI will not
> > > > be
> > > available.
> > > >
> > > > Are you sure that removing the plugin from componentContext.xml
> > > > will remove it from the UI?  (I'm not, that's why I'm asking)
> > > [Animesh>] Yes, discussed with Alex and Jessica.
> > [Animesh>] Will try out the change and submit a patch. Jessica
> > anything
> else?
> > [Jessica W] Nothing else except removing Baremetal from
> > listHypervisors
> API response and listSupportedNetworkServices API response.
> >
> >

Mime
View raw message