-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Merge 4.5 back into master #23
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
Merged
Merged
Changes from all commits
Commits
Show all changes
130 commits
Select commit
Hold shift + click to select a range
3cac7f0
Revert "CLOUDSTACK-6278"
ke4qqq ac48aa8
cleaning up some from a revert
ke4qqq ffe8466
more revert cleanup
ke4qqq f456cda
CLOUDSTACK-7561: UI: After creating a new account, the "Add Account" …
GaborApatiNagy 4fd0799
CLOUDSTACK-7562: Details page for disk offerings only show details fo…
GaborApatiNagy 8f4e8a4
CLOUDSTACK-7587 - Automation - Add simulator_only attribute to acl re…
988b9ef
CLOUDSTACK-7588: [Vmware] Creating templates (with same names) from v…
nitinmeh 9bbcef4
IOPS null issue CLOUDSTACK-7570
punith-s b979c6f
CLOUDSTACK-7589: VM not Starting and always stuck in Stopped state after
minchen07 e0317ee
CLOUDSTACK-7494. Migration of a vm fails on Hyper-V. In an earlier co…
devdeep b771b6e
CLOUDSTACK-7579 Adding a method to base.py to update storage pool
prashantkm ce2fe3e
In case of Hyper-v ssvm/cpvm reboot takes time so made changes to han…
1b0618d
CLOUDSTACK-7595: Config parameters "job.expire.minutes" and "job.canc…
koushik-das 4076d87
Creating custom disk does not work as expected
f2eec47
CLOUDSTACK-6603 [Upgrade]DB Exception while Autoscale monitoring afte…
rajesh-battala 5c2094e
CLOUDSTACK-6172: Adding new test case to verify this fix
b4bddc6
timeInSeconds * 1000
d036168
cleaning up more conflicts
555b20f
CLOUDSTACK-7625: UI > IP Address page > EnableVPN > If createRemoteAc…
3ebf49a
CLOUDSTACK-7628:VM Worker job should be expunged one hour after
minchen07 7a4a0d7
CLOUDSTACK-7622: Fixed deleting network when provider is disable
89736d0
CLOUDSTACK-7555 - Fixed the test_usage script - Template now belongs …
pckreddy 43a9bbf
CLOUDSTACK-7598: When a vm deployed by cloudstack is stopped on the h…
devdeep cd3df84
CLOUDSTACK-7631: Log rotate on VR may fail as /etc/init.d/rsyslog doe…
Sakshams a355213
CID-1223274: Remove dead local storage code from VolumeApiServiceImpl
rohityadavcloud a420028
XenServer56FP1Resource: remove unused import
rohityadavcloud fbb9e2b
CID-1192798: Remove unused boolean variable
rohityadavcloud ff42d5a
CID-1211005: Fix comparison, Class<?> is always instance of Class
rohityadavcloud 4d8dfc9
CID-1192810: Remove useless control flow
rohityadavcloud 6e04f93
CID-1192822: ids is a List<Long>, the cast to List<?> is removed
rohityadavcloud eb3773c
CID-1223272: Remove DLS code, exceptions and logging handled at lower…
rohityadavcloud b4a2640
CLOUDSTACK-7633: fix "Provides" in most LSB headers
vincentbernat 5309aa3
CID-1222206: Remove DLS from XenServer56FP1Resource
rohityadavcloud a329a9b
CID-1232342: Fix DLS in createOrUpdateRecord in GloboDnsResource
rohityadavcloud d39c290
CLOUDSTACK-7634: UI > Project Dropdown on top menu > not all projects…
3fd97ca
Fixed Encoding issue to message_ja_JP & message_zh_CN properties files.
059633d
CLOUDSTACK-7617: Removed hard coded VM names and skipped test cases a…
09420dd
List ISO's test to verify default ISO's are listed always
549840d
CLOUDSTACK-7495. Volume resize is only supported on kvm, vmware and x…
devdeep e43d5b1
CLOUDSTACK-7575: improved performance of cleanString method in String…
anshulgangwar 42b604d
CLOUDSTACK-7610,CLOUDSTACK-7611,CLOUDSTACK-7612: Fixed following bugs…
anshulgangwar 20a0763
CLOUDSTACK-7499: Adding test cases for VMLC test path
f22b0cf
CLOUDSTACK-7603: Fixed test_escalations_network.py - test suite shoul…
d6970d4
CLOUDSTACK-7616: Fixed test_escalations_ipaddress.py - test suite sho…
285cdae
Test script to verify vm deployment with two networks in SG enabled a…
ecb6625
CLOUDSTACK-7408: Fixed - Private key of the ssh keypair was getting c…
2116f7d
Additional Guest OS support for vGPU Test Automation
354cb21
CLOUDSTACK-7637: UI > fix a bug produced by 4.5 feature "template acc…
83967c9
CLOUDSTACK-7641: Do not always ask libvirt to refresh a storage pool
wido d97ad97
CLOUDSTACK-7373: Incorrect Japanese keyboard mapping with CentOS CLI …
sanjaytripathi 26ac4dd
CLOUDSTACK-7615: Update log msg to print error msg rather than exception
69d1b44
cloudmanagementserver.keystore is corrupted by ant.filters.ReplaceT…
f2b6aa4
CLOUDSTACK-7647: Fix 'isReverse' checkboxes which are checked by default
bfederle e338cdd
BUG-ID: CLOUDSTACK-7652. [VMware] 'SOAPFaultException: The object has…
9f653d7
BUG-ID: CLOUDSTACK-7653. VM's are not getting deleted from hypervisor…
26b501b
CLOUDSTACK-7197: Added new system template DB changes in 4.5 upgrade.…
kishankavala ee23be1
when system VM ping times out, stop system VM
e1d554c
Revert "CLOUDSTACK-7647: Fix 'isReverse' checkboxes which are checked…
09cc238
add guest OS Centos 7 and Oracle Linux 7
fa5c42c
Undo "Revert "CLOUDSTACK-7647"
bfederle ae0bf7d
speed up template download: don't sync io for each write
sudison 9278a63
fix checkstyle
sudison b29d075
CLOUDSTACK-7657: cloud.log is being rotated by multiple rotation poli…
Sakshams 759b5fa
For network stats aggregation job, get the most recent mgmt server id…
kishankavala 54110ed
CLOUDSTACK-6969. Data Volume Shrink operation failing with "Unexpecte…
4b581bf
BUG-ID: CLOUDSTACK-7662. Resize of detached volume fails.
14ace9e
CLOUDSTACK-7663: Fix typo in response name string: there is an extra 's'
Sakshams 47d2a57
CLOUDSTACK-6650: Reorder Cluster list in deployment planner to protect
sanjaytripathi 38e4be8
CLOUDSTACK-7664: [UI] Handle change in API response for listloadbalancer
3540828
added more log for create vm snapshot
dba4a8c
cleaning more conflicts
spark404 160aa84
CLOUDSTACK-7665 File.separator shouldn't be used in this case, the
spark404 5990ed4
Move the PrepareKickstartPxeServerCommand to the core api so other
spark404 28f8c41
CLOUDSTACK-7645: [UI] Fixing incorrect labels, including instances of…
0b4c1a9
Remove adding implicit tags in DB schema so that management server st…
amoghv 5f79fa3
Revert "Remove adding implicit tags in DB schema so that management s…
amoghv a9761a3
CLOUDSTACK-7668: UI > When UI is loaded the first time, sometimes a b…
ba18628
ccp should not check public ip resource when deploy a vm on shared ne…
8ce829a
CLOUDSTACK-7668: UI > When UI is loaded the first time, sometimes a b…
c8c9f1d
Revert "CLOUDSTACK-7533: Wrong download URL is generated when using m…
nitinmeh 93b9ef8
CLOUDSTACK-6478:Fix a typo in RemoteHostEndPoint.setId().
minchen07 c90db15
CLOUDSTACK-6282-Added hyper-v hypervisor checks for automated tests
vinayv559 0df4319
Fixed few coverity issues
sedukull 42fd2d9
CLOUDSTACK-7654 fixed issues with zip format templates.
rajesh-battala 7bea2f7
CLOUDSTACK-7671: Management server restart failed after reboot
9605f57
CLOUDSTACK-7679: bump up the RabbitMQ AMQP java client version from
murali-reddy 0e2e1df
CLOUDSTACK-7680:Adding kwargs to volume.upload in base.py
prashantkm d058fa6
CLOUDSTACK-6650: Reorder Cluster list in deployment planner to protect
sanjaytripathi 54a2bb0
CLOUDSTACK-7649: test_lb_secondary_ip.py - Removed SSH trying step af…
f583dcb
CLOUDSTACK-7644: test_persistent_networks.py - SSH failure in case of…
f3196d6
CLOUDSTACK-7646: test_nuage_vsp.py - Fixed basic indentation issues, …
35dab49
CLOUDSTACK-7681: UI > zone wizard > Advanced zone > hypervisor => do …
cfb372a
CLOUDSTACK-7661: VM wizard: Add keyboard language dropdown
bfederle a516e5d
Revert "CLOUDSTACK-7671: Management server restart failed after reboot"
nitinmeh 9714ecb
CLOUDSTACK-4987: UI > Instances > detailView > NICs tab > Add network…
1916bd2
CLOUDSTACK-3195: UI > IP Address > detailView > Configuration tab > P…
372ad94
CLOUDSTACK-7632:Automation for volume life cycle testPath
eb447f1
CLOUDSTACK:7323: [vGPU] Creation of VM snapshot with "memory" is fail…
sanjaytripathi dfdf9ed
updated packge scripts to support simularot rpm build
70f74ee
CLOUDSTACK-7661: UI > VM Wizard > Keyboard Language > send new parame…
dd335aa
CLOUDSTACK-5359: UI > Infrastructure > Clusters > Add Cluster > Publi…
db79dd1
CLOUDSTACK-2625, CLOUDSTACK-3401: Usage records are ordered by start_…
kishankavala 51d274b
CLOUDSTACK-5719: UI > Network > Add Guest Network > when Physical Net…
da73d73
Revert "CLOUDSTACK-6650: Reorder Cluster list in deployment planner t…
amoghv 3b65a59
kvm: Add better logging when fetching a volume from libvirt
wido 0fd9c43
vmware resource code needs to honor the timeout value send
sudison 27924d1
if libvirt version is < 10.10(below rhel 6.5), won't set nic throttling
sudison 52c6c90
fix build
sudison 6e9d3b6
if guest network type is vlan://untagged, and traffic label is used, …
sudison c10189f
if vpc public network with snat enabled, then will triger this issue;
sudison 1c1485e
disable parallel for xenserver. Also for vmware, if full.clone is ena…
sudison 003269e
since max_guest_vm for XS 6.2.0 is 500, change max_guest_vm for XS 6.…
50ee981
CLOUDSTACK-6826: Improving the download url expiration where the expi…
nitinmeh a6d575b
CLOUDSTACK-7699: Disable ROOT volume attach/detach ability.
nitinmeh 0db0e5e
CLOUDSTACK-7700: Volume Snapshot Async Job returns Success for a failed
minchen07 176e0d4
CLOUDSTACK-6650: Reorder Cluster list in deployment planner to protect
sanjaytripathi e7fa3a2
CLOUDSTACK-7563: Fix potential NPE from FingBugs.
minchen07 26f3e84
CLOUDSTACK-7723: UI > Storage > detail view > add Disk Offering field.
71c9804
Fixing possible formatting issue with license header, causing builds …
amoghv 159a372
CLOUDSTACK-7693: Fixing pep8 issues
ac820a3
CLOUDSTACK-7690: Added missing unittest import to test_escalations_vo…
42f628c
CLOUDSTACK-7532: Template status is not shown in UI/API response for …
nitinmeh 080bc2e
CLOUDSTACK-7536 user vm can get a gateway ip when gateway ip is a par…
bvbharat f488a8f
CLOUDSTACK-7728: Fixed adding icmp rules with different types and codes
e257c13
CLOUDSTACK-7728: Fixed adding iptables rules for egress allow on VR r…
53ee4cd
CLOUDSTACK-7728: Removed duplicate import
80e0c99
Removed duplicate code and unused imports which was causing build fai…
sanjaytripathi 5025071
Config value having different category in SQL and Config.java.
sanjaytripathi 420d4e0
CLOUDSTACK-7739: Add new vGPU types K160Q, K180Q, K280Q to the CloudS…
sanjaytripathi 148efbb
Merge remote-tracking branch 'origin/4.5' into merge-master
DaanHoogland File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,17 +30,16 @@ | |
| import javax.ejb.Local; | ||
| import javax.inject.Inject; | ||
|
|
||
| import com.cloud.configuration.Config; | ||
| import org.apache.log4j.Logger; | ||
|
|
||
| import org.apache.cloudstack.api.AddBaremetalKickStartPxeCmd; | ||
| import org.apache.cloudstack.api.AddBaremetalPxeCmd; | ||
| import org.apache.cloudstack.api.ListBaremetalPxeServersCmd; | ||
| import org.apache.cloudstack.framework.config.dao.ConfigurationDao; | ||
| import org.apache.log4j.Logger; | ||
|
|
||
| import com.cloud.agent.api.Answer; | ||
| import com.cloud.agent.api.baremetal.IpmISetBootDevCommand; | ||
| import com.cloud.agent.api.baremetal.IpmISetBootDevCommand.BootDev; | ||
| import com.cloud.agent.api.baremetal.PrepareKickstartPxeServerCommand; | ||
| import com.cloud.baremetal.database.BaremetalPxeDao; | ||
| import com.cloud.baremetal.database.BaremetalPxeVO; | ||
| import com.cloud.baremetal.networkservice.BaremetalPxeManager.BaremetalPxeType; | ||
|
|
@@ -224,11 +223,6 @@ private boolean preparePxeInAdvancedZone(VirtualMachineProfile profile, NicProfi | |
| throw new CloudRuntimeException(String.format("cannot find management nic on virtual router[id:%s]", vr.getId())); | ||
| } | ||
|
|
||
| String internalServerIp = _configDao.getValue(Config.BaremetalInternalStorageServer.key()); | ||
| if (internalServerIp == null) { | ||
| throw new CloudRuntimeException(String.format("please specify 'baremetal.internal.storage.server.ip', which is the http server/nfs server storing kickstart files and ISO files, in global setting")); | ||
| } | ||
|
|
||
| List<String> tuple = parseKickstartUrl(profile); | ||
| String cmd = String.format("/opt/cloud/bin/prepare_pxe.sh %s %s %s %s %s %s", tuple.get(1), tuple.get(2), profile.getTemplate().getUuid(), | ||
| String.format("01-%s", nic.getMacAddress().replaceAll(":", "-")).toLowerCase(), tuple.get(0), nic.getMacAddress().toLowerCase()); | ||
|
|
@@ -238,7 +232,7 @@ private boolean preparePxeInAdvancedZone(VirtualMachineProfile profile, NicProfi | |
| throw new CloudRuntimeException(String.format("failed preparing PXE in virtual router[id:%s], because %s", vr.getId(), ret.second())); | ||
| } | ||
|
|
||
| //String internalServerIp = "10.223.110.231"; | ||
| String internalServerIp = "10.223.110.231"; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hardcoded internalServerIp? Is this dead code? |
||
| cmd = String.format("/opt/cloud/bin/baremetal_snat.sh %s %s %s", mgmtNic.getIp4Address(), internalServerIp, mgmtNic.getGateway()); | ||
| s_logger.debug(String.format("prepare SNAT on virtual router[ip:%s], cmd: %s", mgmtNic.getIp4Address(), cmd)); | ||
| ret = SshHelper.sshExecute(mgmtNic.getIp4Address(), 3922, "root", getSystemVMKeyFile(), null, cmd); | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if we want this?