221 Commits

Author SHA1 Message Date
anthony
912d15a0d9 use the safe way to delete secondary storage directory 2011-07-25 18:15:24 -07:00
Chiradeep Vittal
7d95efb7c6 fix ipset problem introduced by 58e92bbe84c2a61ef72913dcb4a88cd761c89604 2011-07-10 12:44:15 -07:00
Edison Su
56bc4f27a9 fix user/meta data: if data is empty, return a blank file, not 404 2011-07-01 12:58:14 -07:00
alena
74f34a0e0c bug 10435: removed vpn feature
status 10435: resolved fixed
2011-06-24 09:18:46 -07:00
David Nalley
6bb0b490ca fixing some typos in error messages 2011-06-20 15:22:33 -04:00
Edison Su
1e944a2d86 cleanup ebtables rules if vm is manually deleted 2011-06-20 10:32:05 -04:00
Edison Su
ad5162ef86 fix ebtable cleanup issue: on ubuntu, it's not got deleted if vm is stopped 2011-06-16 19:26:24 -04:00
Edison Su
49550aff44 fix ebtable, which should only add a new DNAT rule for dhcp server 2011-06-10 11:39:43 -04:00
anthony
5e1bdce052 bug 10081: don't save iptable 2011-06-06 18:19:01 -07:00
anthony
072fd1b1c5 bug 10111: set hidden flag to 0 after copy template from secondary storage to primary storage
status 10111: resolved fixed
2011-06-01 17:44:09 -07:00
Alex Huang
2dbb8eb502 bug 9651: Make same VLAN work on two different nics 2011-06-01 17:07:44 -07:00
Edison Su
8312f1314b remove augtools 2011-05-26 23:19:53 -04:00
alena
c2afcdec52 bug 9873: always add default security group to the SG list when deploy vm in 1) Basic zone 2) Advance zone using SG enabled network
status 9873: resolved fixed

Following fixes were made as a part of the checkin:

* When deploy user vm and SG doesn't exist in the DB, create it automatically.
* SecurityGroup enabled use vm start: if map to default group is not present in security_group_vm_map table, create one.
* Added "name" (securityGroupName) parameter back to deleteSecurityGroup/authorizeSecurityGroupIngress/deployVm. Mutually exclusive with security group id parameter.

Conflicts:

	api/src/com/cloud/api/commands/AuthorizeSecurityGroupIngressCmd.java
	api/src/com/cloud/api/commands/DeleteSecurityGroupCmd.java
	api/src/com/cloud/api/commands/DeployVMCmd.java
	server/src/com/cloud/api/ApiDBUtils.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
2011-05-17 15:08:13 -07:00
anthony
384f30101e fixed template download 2011-05-17 14:01:12 -07:00
Frank
aad64a5170 Fix in XenServer, when do primarystorage downlaod command, mount secondary storage
as readonly. And umount with options -fl to avoid hang if at that time NFS server down
2011-05-16 13:50:45 -07:00
Edison Su
29c510de28 need to insert iptable rules into FORWARD chain instead of append, as on rhel6, there is a reject rule added at the end of FORWARD 2011-05-13 16:05:20 -04:00
Chiradeep Vittal
46e40cab3f ebtables not programmed in some cases 2011-05-13 14:41:37 -07:00
anthony
bf54422b11 bug 9866:
It happens only when the template is not created by XenServer and the virtual disk size is not integer time of 2M.
    fixed in 2.2.4
    status 9866: resolved fixed
2011-05-12 18:28:56 -07:00
Chiradeep Vittal
88b453928c bug 9771: fix metadata url 2011-05-12 15:06:54 -07:00
Edison Su
47380dc20e fix add host 2011-05-12 15:03:15 -04:00
Frank
fd24a1e240 Use static IP when PING provisioning 2011-05-06 19:44:01 -07:00
anthony
10c4c14ad5 swift integration checkin 2011-05-05 13:55:29 -07:00
Chiradeep Vittal
4ab68bd44a bug 9689: handle old style vm names 2011-05-04 14:21:49 -07:00
Chiradeep Vittal
aecd64e51c bug 9092: consistent naming 2011-05-04 14:21:49 -07:00
Edison Su
58e034fa41 add License header back 2011-05-03 11:47:10 -04:00
David Nalley
74fcb0d06e bug:9702 - fixing ssh key path 2011-05-03 14:21:44 -04:00
Chiradeep Vittal
303e2a7481 Start of zonesfeature / mycloud/cloudkit 2011-05-03 10:40:17 -07:00
Edison Su
1139868af9 fix vm data permission issue, by ssh to domr, chmod to 644 2011-05-02 11:01:19 -04:00
anthony
d2e68c2dab bug 9525: empty known_hosts at reconnect
status 9525: resolved fixed
2011-04-29 14:13:25 -07:00
Edison Su
7e8d02defb bug 8955: add umask 022 to make sure we can get read permission for user data
status 8955: resolved fixed
2011-04-27 10:28:23 -04:00
anthony
8271f034ce bug 9541: fix one snapshot DB migrate, one java check and one script typo
status 9541: resolved fixed
2011-04-22 12:57:16 -07:00
anthony
054f6b0199 bug 9472: when get vnc port for a vm, check if the port is really used by this vm for security
status 9472: resolved fixed
2011-04-15 12:47:12 -07:00
Edison Su
d8ee7d9fc3 if storage network disconnected, reboot the host 2011-04-14 17:46:54 -04:00
Frank
92155522f2 Add license header to files 2011-04-14 11:23:14 -07:00
Frank
3968a3014b Bug 8208 - bare metal provisioning
mv prepare_ping.sh to prepare_dhcpd.sh
2011-04-13 16:42:55 -07:00
Frank
148a46f629 Bug 8208 - bare metal provisioning
remove PING binary from source
2011-04-12 16:38:34 -07:00
Chiradeep Vittal
ae9180d33b bug 9330: add kvm / vmware system vm template definitions 2011-04-11 15:46:37 -07:00
Frank
65dda266f5 Bug 8208 - bare metal provisioning
user lower case for tftp boot file
2011-04-11 14:58:09 -07:00
Frank
105db3b15a Merge branch 'baremetal' to master
modifies:
	api/src/com/cloud/api/ApiConstants.java
	api/src/com/cloud/api/commands/AddHostCmd.java
	api/src/com/cloud/api/commands/CreatePodCmd.java
	api/src/com/cloud/api/commands/DeployVMCmd.java
	api/src/com/cloud/dc/Pod.java
	api/src/com/cloud/network/NetworkService.java
	server/src/com/cloud/agent/manager/AgentManagerImpl.java
	server/src/com/cloud/configuration/ConfigurationManagerImpl.java
	server/src/com/cloud/dc/HostPodVO.java
	server/src/com/cloud/network/NetworkManager.java
	server/src/com/cloud/network/NetworkManagerImpl.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
	setup/db/create-schema.sql
	utils/src/com/cloud/utils/SerialVersionUID.java
2011-04-11 14:21:41 -07:00
Frank
5819e8fee0 Bug 8208 - bare metal provisioning
Work with PING
2011-04-04 19:19:42 -07:00
Frank
ab643851c5 Bug 8208 - bare metal provisioning
support dhcpd as external dhcp server
2011-04-02 19:42:27 -07:00
Edison Su
159f52c2ff bug 9242: add vlan dependence for ubuntu, and set name type to DEV_PLUS_VID_NO_PAD, before creating vlan
status 9242: resolved fixed
2011-03-31 19:11:15 -04: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
anthony
44678b60bc add VERSION into to scripts 2011-03-23 14:54:31 -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
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
anthony
6a0530823b remove the hidden flag in template vhd-file 2011-03-15 16:53:58 -07:00
Frank
e872996084 Bug 8208 - bare metal provisioning
get DHCP entry state from DHCP server
2011-03-11 14:09:23 -08:00