13778 Commits

Author SHA1 Message Date
Hugo Trippaers
aa6355ffe6 Updated master to 4.1.0
mvn release:update-versions -DautoVersionSubmodules=true -Dnonoss -P
client,deps,developer  -DdevelopmentVersion=4.1.0-SNAPSHOT
2012-10-01 11:00:55 -07:00
Anthony Xu
12d12ac54c CS-16409 : dhcp request doesn't have target ip, remove ip in the iptable rule 2012-10-01 10:27:42 -07:00
Anthony Xu
87e6278725 CS-16049 : VPC, VR provides metadata and user data through port 80, this port should be only open for targeting to this VR ip 2012-10-01 10:27:42 -07:00
Pranav Saxena
ca498147da Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2012-10-01 22:54:55 +05:30
Saksham Srivastava
63f7c12333 no error message when we upload volume whose size is greater than storage.max.volume.upload.size value 2012-10-01 22:54:39 +05:30
Chip Childers
39e4c60f3a CLOUDSTACK-147 - Adding rsyslog.conf to the public domain in our legal docs 2012-10-01 12:34:46 -04:00
Chip Childers
f212177146 CLOUDSTACK-159 - Added license header 2012-10-01 12:23:57 -04:00
Chip Childers
5f7a8a0436 CLOUDSTACK-162 - Added license header 2012-10-01 12:21:41 -04:00
Pranav Saxena
4530af1bee CloudStack-222:Admin UI prompts to restart Management server with cancel edit operation - Widget changes 2012-09-29 12:12:20 +05:30
Jessica Wang
295e228819 bug 15089: cloudstack UI - domain page - get volume count and VM count from listAccounts API response that has volumetotal property and vmtotal property under each account object. listVolumes API and listVirtualMachines API are no longer called when domains are clicked in domain page. 2012-09-28 22:58:34 -07:00
Kelven Yang
5c60f8e480 Refactor console keyboard handling for better international keyboard layout support, allow building of mapping table entry without code logic 2012-09-28 17:33:17 -07:00
Alena Prokharchyk
11fe086ada Fixing CLOUDSTACK-226: don't allow physical networks with overlaping vnet ranges, belong to the same zone. Fixed create and update physical network code 2012-09-28 13:11:20 -07:00
Chip Childers
e1ae302c1c Added libvirt-java to the license descriptor.
Fixed tabs in descriptor.xml
Added libvirt-java to the LICENSE file
2012-09-28 15:59:53 -04:00
Brian Federle
d266ac9f84 Instances details: Show host name 2012-09-28 12:17:52 -07:00
Brian Federle
6366eeec36 CLOUDSTACK-178: Show VM host name instead of internal name 2012-09-28 12:11:24 -07:00
Brian Federle
69f6e33a65 CS-16413: Fix load time for infrastructure main page
-Disable API calls for infrastructure page
-Re-style infrastructure labels
2012-09-28 11:30:42 -07:00
Jessica Wang
2214ba6c17 CS-16344: cloudstack UI - Port Forwarding section - add port ranges back to private port and public port. 2012-09-28 10:58:10 -07:00
Anthony Xu
a892f08280 fix licnese header for vpc_passwd_server 2012-09-28 10:18:01 -07:00
Jessica Wang
c99a3c6ee9 CS-16197: cloudstack UI - Tags - output encoding. 2012-09-27 17:40:43 -07:00
Jessica Wang
80ad7dd930 CS-16413: cloudstack UI - domain page - pass details=min to listAccounts API. 2012-09-27 15:09:04 -07:00
Jessica Wang
b885809638 CS-16407: cloudstack UI - Infrastructure page - total number of Virtual Routers should include both project type and account type. 2012-09-27 12:13:52 -07:00
Chip Childers
220107c93e CLOUDSTACK-166 - Marking conntrackd.conf.templ as public domain 2012-09-27 14:55:52 -04:00
Jessica Wang
d7508a4cea CS-16407: cloudstack UI - Infrastructure page - zone - Physical network - Guest - network tab - make 2 API calls to get guest networks. The first one is to get guest networks under all projects. The 2nd one is to get guest networks that are not under any project. 2012-09-27 11:52:32 -07:00
Chip Childers
7e1c3ec3cc CLOUDSTACK-145 - Added licensing for ssh config 2012-09-27 14:47:57 -04:00
Alena Prokharchyk
dc64fcab93 Removed unused code that was commented out in SnapshotManagerImpl- you can alway retrieve it back from the history if needed
Conflicts:

	server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java
2012-09-27 11:13:37 -07:00
Alena Prokharchyk
efab2f413b Removed more unused imports in Snapshots code
Conflicts:

	server/src/com/cloud/storage/dao/SnapshotScheduleDao.java
	server/src/com/cloud/storage/snapshot/SnapshotSchedulerImpl.java
2012-09-27 11:12:53 -07:00
Alena Prokharchyk
c27b44e7f7 Removed unused imports from snapshot manager 2012-09-27 10:50:48 -07:00
Alena Prokharchyk
6875f48966 Validate port ranges in PF rule only when startPort != endPort in private or public range 2012-09-27 10:50:30 -07:00
Alena Prokharchyk
bbbccc0a7b Port ranges for PF rules: public port start should be equal to ending port start; the same applies to end ports 2012-09-27 10:50:04 -07:00
Alena Prokharchyk
2c2178ce10 Revert "Removed port ranges from createPortForwardingRule API"
This reverts commit d04f0b475285e45ae5a466626fb11704fe46fa99.

Conflicts:

	api/src/com/cloud/api/commands/CreatePortForwardingRuleCmd.java

Conflicts:

	api/src/com/cloud/api/commands/CreatePortForwardingRuleCmd.java
2012-09-27 10:49:53 -07:00
Wido den Hollander
82e57f8f40 Use /tmp as temporary location for injecting SSH keys into systemvm.iso
When starting the management server with 'sudo' the $HOME will be set to the user calling sudo.

This fixes CLOUDSTACK-218
2012-09-27 18:58:31 +02:00
Mice Xia
21ff7c4e7a CLOUDSTACK-217 Count of active sessions in console proxy do not descrease as VNC session close 2012-09-27 15:07:18 +08:00
Marcus Sorensen
635155090a cloud.spec: run modprobe post agent install if kvm.modules exists
Signed-off-by: Edison Su <disheng.su@gmail.com>
2012-09-26 22:06:39 -07:00
Mice Xia
daeac9ec57 CLOUDSTACK-215 CPVM load balance didn't work, VNC console sessions go to one CPVM and ignore other CPVMs 2012-09-27 13:03:09 +08:00
Mice Xia
77520e0bc8 CLOUDSTAK-214 Local storage usage data format is incorrect in zoneChart 2012-09-27 12:10:59 +08:00
Marcus Sorensen
3c25d0ea67 CLOUDSTACK-202 Can't create VM from ISO, when in VPC
Signed-off-by: Mice Xia <mice_xia@tcloudcomputing.com>
2012-09-27 10:07:15 +08:00
Anthony Xu
780769b765 fix build 2012-09-26 17:56:29 -07:00
Anthony Xu
e44d306dd9 VPC : password reset fix 2012-09-26 17:42:42 -07:00
Anthony Xu
1946a9a583 VPC : password reset,
add console redirect
2012-09-26 17:42:42 -07:00
Anthony Xu
ddffdc9db7 CS-16393
one typo fix
    make passwd service exitable
2012-09-26 17:42:42 -07:00
Anthony Xu
b59c3c8885 VPC : password server, start password server when guest network is created 2012-09-26 17:42:42 -07:00
Anthony Xu
5d301f2af5 CS-16370 , VCP, support delete guest network for vmware 2012-09-26 17:42:42 -07:00
Anthony Xu
ba8b418542 CS-16375: do desetup network after last VM in guest network is gone 2012-09-26 17:42:42 -07:00
Anthony Xu
946295b114 open port 3922 on correct eth device 2012-09-26 17:42:42 -07:00
Marcus Sorensen
915babd970 fix kvm traffic labels (guest traffic types on multiple networks don't
work)

Cloudstack seems to let you create guest traffic types on multiple
physical networks. However, when I try this with KVM I end up always
bridging to whatever device is used for guest.network.device. This pulls
the traffic label (NicTO.getName()) and uses that bridge to ensure that
we get on the correct physical network, rather than just always using
the guest.network.device.

This also changes the bridge naming scheme from cloudVirBr + vlanid to
br + physicalinterface + "-" + vlanid. This is because we should be able
to support the same vlan numbers per physical network, and the previous
bridge name would not support this and collide.

Signed-off-by: Edison Su <sudison@gmail.com>
2012-09-26 17:14:57 -07:00
Edison Su
de13b097ae Revert "find local storage based on name label"
This reverts commit a95a9dc07c4edcfd1ef4c3ece955ce13f2223b79.
2012-09-26 16:38:50 -07:00
Sheng Yang
0c6dcb4772 CS-15094: Fix multiply vlan of redundang router
This fix would work because:
1. When booting up the router, there is possible that no ip information have
been set for the interface(CS would do it after confirm router is up), so the
interface isn't associate with any ip, then ifconfig cannot work. We have to use
ifup, this is especially true for the first router become master.

2. After booting up phase, the ip would be associated with interfaces, then we
can use ifconfig to bring them up.
2012-09-26 16:28:33 -07:00
Sheng Yang
435e4f6868 CS-16400: Fix LB service using port 8080
Also added license header for passwd_server_ip

Ported from:

commit 1072ec7ae36911ed794c182a1146025a0e969ea9
Author: Sheng Yang <sheng.yang@citrix.com>
Date:   Wed Sep 12 11:15:33 2012 -0700

    CS-16318: Update the fix with some tweak

    1. The old fix run cloud-passwd-srvr twice because cloud-passwd-srvr is
still in the list of enabled_svcs

    2. The lock should be applied on serve_password.sh, which controlled the
accessing to the password. Applied on the MASTER/BACKUP switch is useless, two
instance of serve_password.sh would still able to access the password file at
the same time.

    3. Password service is a part of redundant router state transition process
now, so if the service failed to start, then the transition failed.

    4. Restart password service should be put before restart dnsmasq, which
would sent out DHCP offer to the user vms. If user VMs got the DHCP offer first
but failed to get password, there would be an issue.

    Reviewed-by: Anthony Xu

commit fa94da114099da357df7daa1aad3c327868393ca
Author: Jayapal Reddy <jayapalreddy.uradi@citrix.com>
Date:   Wed Sep 12 17:57:03 2012 +0530

    Bug:CS-16318 Starting password server on the both IPs in RRVM
    Reviewed-by: Abhi

Conflicts:

	patches/systemvm/debian/config/opt/cloud/bin/passwd_server
2012-09-26 16:28:33 -07:00
Marcus Sorensen
f0e928461a KVM: Storage Pool collisions on ISOs due to using random UUID on pool
create

The code is unable to detect an existing pool, because we use a random
UUID each time. New Libvirt doesn't allow multiple pools to be defined
to the same storage.  This patch generates a UUID based on the storage
path, so that it can be detected as existing and reused. It also cleans
up no-op code and adjusts the naming of a few things to clean up any
confusion.

Signed-off-by: Edison Su <sudison@gmail.com>
2012-09-26 16:19:06 -07:00
Jessica Wang
45360b7a57 cloudstack UI - advanced search - introduce new property "advSearchFields" to lsitViewData. 2012-09-26 15:17:00 -07:00