| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Sorry, something went wrong.
Codecov ReportAttention: 2 lines in your changes are missing coverage. Please review.
@@ Coverage Diff @@
## main #8488 +/- ##
============================================
+ Coverage 30.79% 30.81% +0.02%
- Complexity 33990 34002 +12
============================================
Files 5341 5341
Lines 374961 374962 +1
Branches 54543 54543
============================================
+ Hits 115452 115544 +92
+ Misses 244241 244147 -94
- Partials 15268 15271 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Sorry, something went wrong.
There was a problem hiding this comment.
Code LGTM
Sorry, something went wrong.
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 8265 |
Sorry, something went wrong.
|
the rootsize issue seems solved (tested) 2024-01-10 09:40:24,046 DEBUG [c.c.n.NetworkModelImpl] (API-Job-Executor-1:ctx-97ef3f2c job-60 ctx-e9d0a030) (logid:eb59ab23) network defaultGuestNetwork[e77313d2-97d5-4b08-bfcd-2a058f6a4ef0] has no CIDR, returning empty addrress set. /me still looking |
Sorry, something went wrong.
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 8270 |
Sorry, something went wrong.
There was a problem hiding this comment.
Disk size change looks okay but not sure about IP check
Sorry, something went wrong.
| } | ||
| for (String usedIp : usedIps) { | ||
| // only half witted support for ipv6 here :( | ||
| if (usedIp.equals(ipAddresses.getIp4Address()) || usedIp.equals(ipAddresses.getIp6Address())) { |
There was a problem hiding this comment.
Will this allow passing any random IP outside of the network?
Sorry, something went wrong.
There was a problem hiding this comment.
good point, maybe add a cidr check as well. The issue was that the network did not have a cidr though. Not sure how to handle that except for just accepting the ip.
Sorry, something went wrong.
There was a problem hiding this comment.
@DaanHoogland then would it make sense to just fix/merge the root disk size issue and address the specific case later?
Sorry, something went wrong.
There was a problem hiding this comment.
yes, but can you check again? I can split in two PRs if it still needs work
Sorry, something went wrong.
There was a problem hiding this comment.
splitting out as dragons be there
Sorry, something went wrong.
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 8273 |
Sorry, something went wrong.
There was a problem hiding this comment.
Code LGTM
Sorry, something went wrong.
|
@nvazquez a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Sorry, something went wrong.
|
@shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Sorry, something went wrong.
There was a problem hiding this comment.
code lgtm
Sorry, something went wrong.
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 8284 |
Sorry, something went wrong.
|
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Sorry, something went wrong.
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 8285 |
Sorry, something went wrong.
|
Tested this. Import works fine but volume size is returned as 0 for imported VM with smaller size volumes. listUnmanagedInstances output, {
"listunmanagedinstancesresponse": {
"count": 1,
"unmanagedinstance": [
{
"name": "i-2-36-VM",
"clusterid": "4c948570-9ceb-465a-829a-88eb777ce13f",
"clustername": "p1-c2",
"hostid": "9d1e614a-b9b6-4b57-8df5-8dd49a2501f3",
"hostname": "ref-trl-5272-v-mr8-abhishek-kumar-kvm1",
"powerstate": "PowerOn",
"cpunumber": 1,
"cpucorepersocket": -1,
"cpuspeed": 250,
"memory": 512,
"disk": [
{
"id": "0",
"label": "hda",
"capacity": 52428800,
"imagepath": "/mnt/ef4f8bb2-c104-30cc-a3a2-087548c11d6f/3447c0bb-1961-4bb0-bcb3-2e06c7d35c9b",
"controller": "ide",
"position": 0,
"datastorename": "/acs/primary/ref-trl-5272-v-Mr8-abhishek-kumar/ref-trl-5272-v-Mr8-abhishek-kumar-kvm-pri1",
"datastorehost": "10.1.32.4",
"datastorepath": "/acs/primary/ref-trl-5272-v-Mr8-abhishek-kumar/ref-trl-5272-v-Mr8-abhishek-kumar-kvm-pri1",
"datastoretype": "file"
}
],
"nic": [
{
"id": "0",
"networkname": "vnet0",
"macaddress": "02:01:00:cd:00:05",
"vlanid": -1,
"adaptertype": "e1000"
}
]
}
]
}
}
Import called with params, name=i-2-36-VM&clusterid=4c948570-9ceb-465a-829a-88eb777ce13f&displayname=test&zoneid=b4a732bb-e837-4682-bbb9-b845b04a17dd&importsource=unmanaged&hypervisor=kvm&host=&username=&password=&diskpath=&temppath=&serviceofferingid=cec984be-1c57-468b-b1b1-94ea3cef705e&templateid=9e2ebcc2-d325-456e-8cad-1e1485e32d6a&nicnetworklist[0].nic=0&nicnetworklist[0].network=074dd540-2414-4ce2-9a51-f1888b8839c4 Template used in Macchinina ListVM output for the imported VM, {
"listvirtualmachinesmetricsresponse": {
"count": 1,
"virtualmachine": [
{
"cputotal": "0.5 Ghz",
"memorytotal": "0.50 GiB",
"networkread": "0.01 MiB",
"networkwrite": "0.00 MiB",
"diskread": "0.00 MiB",
"diskwrite": "0.00 MiB",
"diskiopstotal": 0,
"id": "62f777a5-9dbb-472f-b70b-a2635bbaa2f0",
"name": "test",
"displayname": "test",
"account": "admin",
"userid": "c77dbaa7-af98-11ee-847d-1e0058000a5d",
"username": "admin",
"domainid": "a2138f1e-af98-11ee-847d-1e0058000a5d",
"domain": "ROOT",
"created": "2024-01-11T11:43:01+0000",
"state": "Running",
"haenable": false,
"zoneid": "b4a732bb-e837-4682-bbb9-b845b04a17dd",
"zonename": "ref-trl-5272-v-Mr8-abhishek-kumar",
"hostid": "9d1e614a-b9b6-4b57-8df5-8dd49a2501f3",
"hostname": "ref-trl-5272-v-mr8-abhishek-kumar-kvm1",
"hostcontrolstate": "Enabled",
"templateid": "9e2ebcc2-d325-456e-8cad-1e1485e32d6a",
"templatename": "macc-kvm",
"templatetype": "USER",
"templatedisplaytext": "macc-kvm",
"passwordenabled": false,
"serviceofferingid": "cec984be-1c57-468b-b1b1-94ea3cef705e",
"serviceofferingname": "Small Instance",
"cpunumber": 1,
"cpuspeed": 500,
"memory": 512,
"cpuused": "3.17%",
"networkkbsread": 7,
"networkkbswrite": 0,
"diskkbsread": 0,
"diskkbswrite": 0,
"memorykbs": 524288,
"memoryintfreekbs": -1,
"memorytargetkbs": 524288,
"diskioread": 0,
"diskiowrite": 0,
"guestosid": "a23b8c54-af98-11ee-847d-1e0058000a5d",
"rootdeviceid": 0,
"rootdevicetype": "ROOT",
"securitygroup": [],
"nic": [
{
"id": "947586e0-5c81-4a1f-980c-60ba6f0ae4ff",
"networkid": "074dd540-2414-4ce2-9a51-f1888b8839c4",
"networkname": "testL2",
"isolationuri": "vlan://1760",
"broadcasturi": "vlan://1760",
"traffictype": "Guest",
"type": "L2",
"isdefault": true,
"macaddress": "02:01:00:cd:00:05",
"secondaryip": [],
"extradhcpoption": [],
"deviceid": "0"
}
],
"hypervisor": "KVM",
"instancename": "i-2-36-VM",
"details": {
"deployvm": "true",
"kvm.vnc.password": "lqU9pMsfaaaaaaaaaaaaaa",
"rootdisksize": "1",
"nicAdapter": "e1000",
"rootDiskController": "ide"
},
"affinitygroup": [],
"displayvm": true,
"isdynamicallyscalable": false,
"ostypeid": "a23b8c54-af98-11ee-847d-1e0058000a5d",
"osdisplayname": "Other Linux (64-bit)",
"pooltype": "NetworkFilesystem",
"receivedbytes": 0,
"sentbytes": 0,
"tags": [],
"hasannotations": false
}
]
}
}
List volumes output for the VM volume, {
"listvolumesresponse": {
"count": 1,
"volume": [
{
"sizegb": "0.00 GiB",
"id": "c888227f-6676-487c-9625-b09e199abdb3",
"name": "ROOT-39",
"zoneid": "b4a732bb-e837-4682-bbb9-b845b04a17dd",
"zonename": "ref-trl-5272-v-Mr8-abhishek-kumar",
"type": "ROOT",
"deviceid": 0,
"virtualmachineid": "62f777a5-9dbb-472f-b70b-a2635bbaa2f0",
"templateid": "9e2ebcc2-d325-456e-8cad-1e1485e32d6a",
"templatename": "macc-kvm",
"templatedisplaytext": "macc-kvm",
"vmname": "test",
"vmdisplayname": "test",
"vmstate": "Running",
"vmtype": "User",
"provisioningtype": "thin",
"size": 0,
"created": "2024-01-11T11:43:01+0000",
"state": "Ready",
"account": "admin",
"domainid": "a2138f1e-af98-11ee-847d-1e0058000a5d",
"domain": "ROOT",
"storagetype": "Shared (ROOT)",
"hypervisor": "KVM",
"storage": "ref-trl-5272-v-Mr8-abhishek-kumar-kvm-pri1",
"attached": "2024-01-11T11:43:01+0000",
"serviceofferingid": "1",
"serviceofferingname": "Small Instance",
"serviceofferingdisplaytext": "Small Instance",
"isextractable": false,
"displayvolume": true,
"path": "/mnt/ef4f8bb2-c104-30cc-a3a2-087548c11d6f/3447c0bb-1961-4bb0-bcb3-2e06c7d35c9b",
"storageid": "ef4f8bb2-c104-30cc-a3a2-087548c11d6f",
"quiescevm": false,
"supportsstoragesnapshot": false,
"physicalsize": 1052672,
"virtualsize": 52428800,
"utilization": "2.0%",
"clusterid": "4c948570-9ceb-465a-829a-88eb777ce13f",
"clustername": "p1-c2",
"podid": "639ef97b-fa03-4de1-8d55-c262234fc033",
"podname": "Pod1",
"tags": [],
"hasannotations": false
}
]
}
}
|
Sorry, something went wrong.
|
ok, @shwstppr so there is another place where rounding is done. Should this block this PR or an RC? Or should we create a left-over ticket and move on for now? (cc @nvazquez ) ad. I have found a second spot where the rounding error occurred and am retesting |
Sorry, something went wrong.
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 8290 |
Sorry, something went wrong.
this is now solved is a way, but the size is now rounded to 1Gb. this seems to be a limitation of the feature. I am not sure if there is something to be done about that (@nvazquez ?) |
Sorry, something went wrong.
|
@DaanHoogland I tested on 4.18.1 and the problem from #8488 (comment) exists there as well. Should we merge without the last change? |
Sorry, something went wrong.
ok, by the look of c01e162 we can abandon this PR. |
Sorry, something went wrong.
|
this is incorporated in #8500 as far as needed |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Description
This PR tries to deal with on of the leftovers from #8465 as reported in #8439
still remaining and to be addressed separately:
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?