Commit Graph

5126 Commits

Author SHA1 Message Date
Frank bd3531b374 Bug 8208 - bare metal provisioning
exclude baremtal when handleTemplateSync
2011-03-28 16:45:55 -07:00
Frank a7ea3ecae3 Bug 8208 - bare metal provisioning
Better the prepare_linmin.sh
2011-03-24 17:01:25 -07:00
Frank cdaa1edfa5 Bug 8208 - bare metal provisioning
Set dhcp range of linmin DHCPD to empty, so it will not conflict with
our External DHCP
2011-03-24 16:50:23 -07:00
Frank 8aa0ab99da Bug 8208 - bare metal provisioning
Start vm on last stayed host if vm has lastHostId
2011-03-24 12:56:56 -07:00
Frank 6be5a9a3a9 Bug 8208 - bare metal provisioning
Don't ask secondary storage VM to download baremetal template.
Immediately make baremetal template ready after registerTemplateCmd
as well as listTemplateCmd
Use zone id instead of secondary storage VM id to identify baremetal
template in template_host_ref table
2011-03-24 12:15:08 -07:00
Frank a414d33e12 Bug 8208 - bare metal provisioning
setup name server when prepare external dhcp server
2011-03-21 17:06:17 -07:00
Frank 617ef5c178 Bug 8208 - bare metal provisioning
set pod to external dhcp server when adding external dhcp server
2011-03-21 16:39:49 -07:00
Frank d5abb202ec Bug 8208 - bare metal provisioning
don't inherit from firstFitPlanner, using our baremetal planner
2011-03-21 10:48:21 -07:00
Frank 986fc9d7ea Bug 8208 - bare metal provisioning
fix typo in addHostCmd
2011-03-18 18:52:51 -07:00
Frank b4e18b7fbe Bug 8208 - bare metal provisioning
use hostTags in addHostCmd
2011-03-18 18:04:34 -07:00
alena 96e83fe97f bug 8146: Elastic IP support in Basic zone.
Following was done as a part of checkin:

1) NetworkOffering/Network:

* add PF service support for default Guest network offering.
* Add one more additional network - Public.
* Allow to enable external firewall in Basic zone.

2) Don't allow to deployVm in Public Network.
3) Allow to add vlan ip ranges to Public networks in Basic zone.
4) Associate IP - allow to associate with Direct vms.
5) Allow to create PF/Static nat rules. Rules are being sent to External Firewall Rule only.
6) Add PF support to External Firewall element.
2011-03-17 17:19:36 -07:00
will 7f595871f8 bug 8208: Finished the rest of the dialogs in the various resource pages for BareMetal install. 2011-03-17 17:04:13 -07:00
will b8a2b766da bug 8208: Added first addHost dialog to take into account baremetal requirements in the resource page.
- Standardized the addHost optional parameters for baremetal.
2011-03-17 16:38:08 -07:00
will ae549ed4d1 bug 8208: Added first addHost dialog to take into account baremetal requirements in the resource page.
- Standardized the addHost optional parameters for baremetal.
2011-03-17 16:29:31 -07:00
will eb2a3d6f8e bug 8208: Added support for adding baremetal clusters and baremetal templates. 2011-03-17 11:31:36 -07:00
Frank 02cd820645 Bug 8208 - bare metal provisioning
Ingore bootp and pxe boot request in external DHCP server
2011-03-16 17:00:55 -07:00
Frank 1a307faefd Bug 8208 - bare metal provisioning
fix wrong result comparsion in prepare_dnsmasq.sh
2011-03-16 10:15:55 -07:00
Frank 47a26e3a8a Bug 8208 - bare metal provisioning
Add ipmitool as dependency of cloud-premium
2011-03-15 17:45:40 -07:00
Frank d297eea96f Bug 8208 - bare metal provisioning
do fullsync in baremetal resource
2011-03-15 15:29:52 -07:00
Frank ffb900fc86 Bug 8208 - bare metal provisioning
Add useExternalDhcp option to createPodCmd
2011-03-14 16:42:59 -07:00
Frank bf6a6f0d57 Bug 8208 - bare metal provisioning
check role before adding role to LinMin
2011-03-14 14:34:00 -07:00
prachi 402f275a9f Change for Bug 3316 - manual live migration
The MigrateVMCmd response should be in all small case.
2011-03-11 17:49:54 -08:00
prachi ed9a11c6b6 API changes for Bug 3316 - Manual live migration of Virtual Machines
This is a Root admin only functionality
---------------------
Service API changes:
---------------------
- ManagementServer  will expose new API:
   Pair<List<HostVO>, List<Long>> listHostsForMigrationOfVM(UserVm vm, Long
startIndex, Long pageSize)
The API returns list of all hosts in the VM's cluster minus the current host and also a list of hostIds that seem to have enough CPU and RAM capacity to host this VM.
- ListHostsCmd will call this service API if virtualmachineid is present in the request.
- MigrateVmCmd is the new command added that takes in virtualmachineid and destination hostid
- UserVmService  will expose a new API:  UserVm migrateVirtualMachine(UserVm vm, Host destinationHost)

------------------------------------
API throws error in following cases:
------------------------------------
- User is not a root Admin. (‘Permission denied’)
- A VM uses local storage, we cannot migrate it, so ‘listHosts’ will throw error.
- We fail to migrate the VM on the chosen host.
- API will support migration for XenServer only currently. So error is thrown
if hypervisor is not XenServer (e.g KVM, vSphere etc)
- Destination host is not in same cluster as source host.
- VM is not in running state
2011-03-11 17:49:53 -08:00
will 65ca813c24 bug 3316: Now, only show migrate instance if the VM has been launched in XenServer. 2011-03-11 17:48:17 -08:00
will 456d93bc9a bug 3316: Added support to no longer show Migrate Instance if we are using local disk storage. 2011-03-11 17:45:02 -08:00
will 0ed91473ba bug 3316: Added a processing message while migrating an instance.
- Changed the call of migrate vm from sync to async
- Defaulted to an empty select box if attempting to migrate a vm with local storage
2011-03-11 17:18:35 -08:00
Frank aa66c5a551 Don't do tgz check when build debian package 2011-03-11 17:12:01 -08:00
Alex Huang b6f4ff33ca domr upgraded 2011-03-11 16:53:01 -08:00
will 56715ebddb bug 3316: Missing label for migrate instance dialog 2011-03-11 16:51:07 -08:00
will f8fee85a93 bug 3316: Updated translations 2011-03-11 16:40:21 -08:00
will 85e892bded bug 3316: Added initial UI support to live migrate VMs. 2011-03-11 16:33:18 -08:00
Frank a6861d0ac1 Fix the wrong additional buildnumber in debian build 2011-03-11 15:47:31 -08:00
Frank 75401d4556 Add PACKAGE_VERSION feature to ubuntu build 2011-03-11 15:36:45 -08:00
Kelven Yang 3b39c6cbe6 A sample jQuery tab plugin 2011-03-11 14:49:29 -08:00
Frank e872996084 Bug 8208 - bare metal provisioning
get DHCP entry state from DHCP server
2011-03-11 14:09:23 -08:00
Frank 4324efea26 Bug 8208 - bare metal provisioning
able to get IP from external DHCP server
2011-03-11 14:09:23 -08:00
Frank 946413dd88 Remove outdated thridparty pacakge 2011-03-11 10:23:23 -08:00
alena 346ca43714 bug 6892: update resourceCount for snapshot after the DB record is created; if snapshot fails to create on the backend - reduce resource count
Also fixed couple of other issues:
* usage event generation - generate event only when snapshot is created on primary and backed up on secondary
* zoneId was always set to 0 for snapshot.delete event, fixed this.
* Fixed resource_count decrement for manual snapshot deletion
2011-03-10 18:03:06 -08:00
Alex Huang 09d5bcc59c direct network and ip address are ready 2011-03-10 15:58:40 -08:00
Kelven Yang 14c0eb74a0 Use the correct one to find ManagementServerHostVO 2011-03-10 15:32:58 -08:00
alena 4423e4d174 bug 8867: cidr is required for Direct network creation; remove this limitation later after we allow Shared network to have multiple ip ranges having different Cidrs
status 8867: resolved fixed
2011-03-10 14:40:35 -08:00
alena 3448513465 bug 8666: perform RFC1918 check for cidr of Guest Virtual cidr when 1) Create/Update zone 2) Create guest virtual network
status 8666: resolved fixed
2011-03-10 14:06:43 -08:00
Alex Huang 7b3a1e129f nics are retrieved from user vms 2011-03-10 13:46:33 -08:00
alena dee3aefecf bug 8508: assign source nat ip address only during network implementation.
status 8508: resolved fixed
2011-03-10 13:34:35 -08:00
alena 5a44e03764 bug 8844: default and Public disk offerings have NULL domainId (to be consistent with serviceOfferings)
status 8844: resolved fixed
2011-03-10 12:10:55 -08:00
alena 975344a3ff bug 8688: Network created from the networkOffering with Availability="Required" is required during the vm deployment in Advanced nonSecurityGroupEnabled zone
status 8688: resolved fixed
2011-03-10 11:27:17 -08:00
alena e89fc252f2 bug 8851: Guest Virtual Network can't be shared
status 8851: resolved fixed
2011-03-10 10:35:52 -08:00
Kelven Yang 6b8f073f99 Fix issues for management server ping support in cluster management 2011-03-10 10:32:17 -08:00
Edison Su b1a316dd91 add guest network for KVM 2011-03-09 19:03:31 -05:00
anthony 7d7dee791a bug 7877: prevent two mgmt servers connecting to one same host
status 7877: resolved fixed
2011-03-09 18:29:42 -08:00