Skip to content

Conversation

@DK101010
Copy link
Collaborator

Description

Types of changes

  • [] Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):

How Has This Been Tested?

rohityadavcloud and others added 30 commits September 29, 2020 14:33
It is not common, but HTTP requests can fail due to connection issues. In order to mitigate such situations and also improve logging, this PR enhances the Redfish request handling by adding an execution flow for re-trying HTTP requests; the retry happens only if the global settings redfish.retries is set to 1 or more retries; default is of 2 (two). One can disable the retries by setting redfish.retries to 0 (zero).
…4321)

* Add hardware version to worker VM

* Added worker VM hardware version when creating a template from a volume and migrating a detached volume

* Add null parameter back that was removed by merge
* changes for supporting Citrix Hypervisor product name

Signed-off-by: Abhishek Kumar <[email protected]>
#4389)

* Fixed vm-templates not being removed from primary storage with storage garbage collection

* Update vmware-base/src/main/java/com/cloud/hypervisor/vmware/mo/VirtualMachineMO.java

Co-authored-by: sureshanaparti <[email protected]>

* Var name

Co-authored-by: sureshanaparti <[email protected]>
We should have the metrics for the hosts which are dedicated to certain domains.
We should also be able to see cpu/memory/storage currently used per domain

> How Has This Been Tested?
Enable prometheus server
Add 127.0.0.1 as allowed Ip so that you can fetch metrics from prometheus

Now fetch the endpoint
# http http://127.0.0.1:9595/metrics | grep cloudstack_host_is_dedicated
cloudstack_host_is_dedicated{zone="mgt122-10",hostname="node11",ip="10.13.122.11"} 1
# http http://127.0.0.1:9595/metrics | grep cloudstack_host_dedicated_to_account
cloudstack_host_dedicated_to_account{zone="mgt122-10",hostname="node11",ip="10.13.122.11"} 1
…4366)

If the resource state of hypervisor in "Maintenance" then it
should be considered as offline even though the agent state
is "Up". Since its in maintenance mode, it cant be used to
allocate VM's and hence can't be considered towards resource
allocation
… vm.serviceoffering.ram.size.max (#4379)

vm.serviceoffering.cpu.cores.max and vm.serviceoffering.ram.size.max
…heus exporter (#4383)

* Hosts are counted twice if it has multiple host tags in Prometheus exporter

* Import HostVO and inject HostDao
* support for handling incremental snaps (on DB entries) on xen

* Addressed comments

* Update NfsSecondaryStorageResource.java

adjusted space in comment/ log

Co-authored-by: Pearl Dsilva <[email protected]>
The default GC algorithm G1 that is enabled by default with Java11
serves well on multiprocessor machines with large amount of memory where
GC is probablistic with low pauses, where response time is more
important than throughput and GC is kept shorter.

The CloudStack management server is largely a multi-threaded server
application that handles and orchestrates several network requests, and
has the default max. heap size of only 2G that can be considered a
small/medium application from a heap size perspective. Perhaps a more
aggresive GC algorithm such as ParallelGC as used in Java8 and before
(that is previous CloudStack releases) would serve better for throughput
and cause more aggresive GC.

Reference: https://docs.oracle.com/en/java/javase/11/gctuning/available-collectors.html#GUID-13943556-F521-4287-AAAA-AE5DE68777CD

Signed-off-by: Rohit Yadav <[email protected]>
demarey and others added 17 commits November 3, 2020 18:13
For Basic network isolation methods are not provided, and exception is
thrown when trying to encode the Vlan id. That's why we have to check
before encoding that the list with isolation methods is not empty
Update template to return information to the documentation
@DK101010 DK101010 merged commit 611fc43 into NDBSGMS:master Nov 16, 2020
@DaanHoogland
Copy link

@DK101010 ,
image

I think you will want to get master from origin and force push it here. define or redefine origin as the apache cloudstack repo and define yours as "mine" or "dk" or something. makes sense?

@DK101010
Copy link
Collaborator Author

DK101010 commented Dec 16, 2020 via email

@DaanHoogland
Copy link

so what are the output of git remote -v, and git branch -v?

@DK101010
Copy link
Collaborator Author

DK101010 commented Dec 16, 2020 via email

@DaanHoogland
Copy link

[image: image.png]

is not the text i was looking for :D

@DaanHoogland
Copy link

better not use github with mail. it doesn't work that well

@DK101010
Copy link
Collaborator Author

sorry :D
next try
image

@DaanHoogland
Copy link

Ah I should have said git branch -vv
an snippet from my output:

* marvin3                  3e228ea390 [sb/marvin3] env run of python3
  master                   58a0a7b1a3 [origin/master] Merge remote-tracking branch 'origin/4.14'

it shows how master is from origin (tracking origin/master) and marvin3 in on my company account (alias sb). marvin3 was a fork of master but pushed to a different account. next I created a pull request on github from shapeblue:marvin3 to apache:master and if i kept my local master up to date all is dandy and fine.
Your master is showing 78 ahead, that can't be good. I would sugest:

git branch -D master
git checkout -b master apache/master

the first line is destructive! I would also not name your own origin but something like mine or DK or so.

@DK101010
Copy link
Collaborator Author

Ahh ok, I understand what you want and approved my assumption. My master should pointed to the apache/cloudstack master and not to my forked master. I will remove my master add the apache/cloudstack master, clean up my newest branch, merge the new master in this branch and then should be the problem solved.

I let you know when I pushed my updated branch, ok?

Many thanks for your support :)

@DK101010
Copy link
Collaborator Author

@DaanHoogland
Copy link

yes, it does

DK101010 pushed a commit that referenced this pull request Apr 1, 2021
This fixes Travis to run basic UI checks for job #1

Signed-off-by: Rohit Yadav <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.