Re: Need help in getting CentOS 7 templates to run on Cloudstack 4.9 and VMWare

2017-03-31 Thread Nux!
Hm, ok, so this is a corner case I'll need to cover then.
But how did the password/sshkey feature work, if at all?

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Syed Ahmed" 
> To: "dev" 
> Sent: Friday, 31 March, 2017 19:10:22
> Subject: Re: Need help in getting CentOS 7 templates to run on Cloudstack 4.9 
> and VMWare

> I'm using a shared network so the VR is not the gateway.
> 
> On Fri, Mar 31, 2017 at 12:49 PM, Nux!  wrote:
>> Syed,
>>
>> I just checked and centos user is added to sudoers, if it was not added to 
>> your
>> instance, then cloud-init did not complete properly.
>> I have seen this in the past when the data source is not reached properly.
>> I would double check the cloud-init logs if I were you, make sure eth0 was up
>> properly and the VR accessible.
>>
>> http://storage1.static.itmages.com/i/17/0331/h_1490978820_8688282_efdf2d86f5.png
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> - Original Message -
>>> From: "Nux!" 
>>> To: "dev" 
>>> Sent: Friday, 31 March, 2017 17:01:43
>>> Subject: Re: Need help in getting CentOS 7 templates to run on Cloudstack 
>>> 4.9
>>> and VMWare
>>
>>> Thanks, I'll check.
>>> Cloud-init is supposed to add the user to sudo.
>>>
>>> --
>>> Sent from the Delta quadrant using Borg technology!
>>>
>>> Nux!
>>> www.nux.ro
>>>
>>> - Original Message -
 From: "Syed Ahmed" 
 To: "dev" 
 Sent: Friday, 31 March, 2017 16:54:21
 Subject: Re: Need help in getting CentOS 7 templates to run on Cloudstack 
 4.9
 and VMWare
>>>
 Hi Nux,

 One of the things that I've seen is that the user centos is not added
 to the sudoers.

 On Fri, Mar 31, 2017 at 8:06 AM, Nux!  wrote:
> Excellent, let me know if you hit any more issues.
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> - Original Message -
>> From: "Syed Ahmed" 
>> To: "dev" 
>> Sent: Friday, 31 March, 2017 12:58:21
>> Subject: Re: Need help in getting CentOS 7 templates to run on 
>> Cloudstack 4.9
>> and VMWare
>
>> Hey Nux,
>>
>> It worked! Thanks for fixing this. I am able to ping the VM now.
>>
>> On Fri, Mar 31, 2017 at 4:17 AM, Nux!  wrote:
>>> Syed,
>>>
>>> I am aware of the renaming issue and avoid it, if you check my 
>>> kickstart I
>>> specifically add biosdevname=0 and net.ifnames=0
>>> http://jenkins.openvm.eu/cloudstack/config/centos/centos7-vmware.cfg
>>>
>>> However yesterday Rohit brought to my attention the ova generation 
>>> script
>>> inserts a e1000 eth0 which apparently breaks things in certain 
>>> situations.
>>> https://github.com/apache/cloudstack/pull/2022#issuecomment-290339928
>>>
>>> I corrected the script and built a new image here, please give it a try.
>>> http://jenkins.openvm.eu/cloudstack/centos/x86_64/centos-7-vmware.ova
>>>
>>> If the problem persists, can you go in single user mode and check the
>>> /proc/cmdline and share it here?
>>>
>>> --
>>> Sent from the Delta quadrant using Borg technology!
>>>
>>> Nux!
>>> www.nux.ro
>>>
>>> - Original Message -
 From: "Syed Ahmed" 
 To: "Nux!" 
 Cc: "dev" 
 Sent: Thursday, 30 March, 2017 23:54:36
 Subject: Re: Need help in getting CentOS 7 templates to run on 
 Cloudstack 4.9
 and VMWare
>>>
 I tried the one you provided however, it still has the same problem
 ... DHCP doesn't seem to pick up. I also see that the interface is not
 named eth0 .. could this be the problem? I can try changing the
 network driver and see if that helps. Will report back.

 On Thu, Mar 30, 2017 at 6:21 PM, Nux!  wrote:
> Hi, I am working on a new set of templates, you can try this one:
> http://jenkins.openvm.eu/cloudstack/centos/x86_64/centos-7-vmware.ova
>
> If still no luck, happy to debug if you can provide me an account. 
> The only
> templates I (can) test are the KVM ones.
>
> The official templates from various distros will not work properly as 
> they
> are openstack/aws focused.
>
>
>
>
> On 30 March 2017 22:41:05 BST, Syed Ahmed  wrote:
>>
>> osboxes also only has VMDK and not OVA. Cloudstack currently only
>> supports OVA for VMWare
>>
>> On 

Re: Need help in getting CentOS 7 templates to run on Cloudstack 4.9 and VMWare

2017-03-31 Thread Syed Ahmed
I'm using a shared network so the VR is not the gateway.

On Fri, Mar 31, 2017 at 12:49 PM, Nux!  wrote:
> Syed,
>
> I just checked and centos user is added to sudoers, if it was not added to 
> your instance, then cloud-init did not complete properly.
> I have seen this in the past when the data source is not reached properly.
> I would double check the cloud-init logs if I were you, make sure eth0 was up 
> properly and the VR accessible.
>
> http://storage1.static.itmages.com/i/17/0331/h_1490978820_8688282_efdf2d86f5.png
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> - Original Message -
>> From: "Nux!" 
>> To: "dev" 
>> Sent: Friday, 31 March, 2017 17:01:43
>> Subject: Re: Need help in getting CentOS 7 templates to run on Cloudstack 
>> 4.9 and VMWare
>
>> Thanks, I'll check.
>> Cloud-init is supposed to add the user to sudo.
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> - Original Message -
>>> From: "Syed Ahmed" 
>>> To: "dev" 
>>> Sent: Friday, 31 March, 2017 16:54:21
>>> Subject: Re: Need help in getting CentOS 7 templates to run on Cloudstack 
>>> 4.9
>>> and VMWare
>>
>>> Hi Nux,
>>>
>>> One of the things that I've seen is that the user centos is not added
>>> to the sudoers.
>>>
>>> On Fri, Mar 31, 2017 at 8:06 AM, Nux!  wrote:
 Excellent, let me know if you hit any more issues.

 --
 Sent from the Delta quadrant using Borg technology!

 Nux!
 www.nux.ro

 - Original Message -
> From: "Syed Ahmed" 
> To: "dev" 
> Sent: Friday, 31 March, 2017 12:58:21
> Subject: Re: Need help in getting CentOS 7 templates to run on Cloudstack 
> 4.9
> and VMWare

> Hey Nux,
>
> It worked! Thanks for fixing this. I am able to ping the VM now.
>
> On Fri, Mar 31, 2017 at 4:17 AM, Nux!  wrote:
>> Syed,
>>
>> I am aware of the renaming issue and avoid it, if you check my kickstart 
>> I
>> specifically add biosdevname=0 and net.ifnames=0
>> http://jenkins.openvm.eu/cloudstack/config/centos/centos7-vmware.cfg
>>
>> However yesterday Rohit brought to my attention the ova generation script
>> inserts a e1000 eth0 which apparently breaks things in certain 
>> situations.
>> https://github.com/apache/cloudstack/pull/2022#issuecomment-290339928
>>
>> I corrected the script and built a new image here, please give it a try.
>> http://jenkins.openvm.eu/cloudstack/centos/x86_64/centos-7-vmware.ova
>>
>> If the problem persists, can you go in single user mode and check the
>> /proc/cmdline and share it here?
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> - Original Message -
>>> From: "Syed Ahmed" 
>>> To: "Nux!" 
>>> Cc: "dev" 
>>> Sent: Thursday, 30 March, 2017 23:54:36
>>> Subject: Re: Need help in getting CentOS 7 templates to run on 
>>> Cloudstack 4.9
>>> and VMWare
>>
>>> I tried the one you provided however, it still has the same problem
>>> ... DHCP doesn't seem to pick up. I also see that the interface is not
>>> named eth0 .. could this be the problem? I can try changing the
>>> network driver and see if that helps. Will report back.
>>>
>>> On Thu, Mar 30, 2017 at 6:21 PM, Nux!  wrote:
 Hi, I am working on a new set of templates, you can try this one:
 http://jenkins.openvm.eu/cloudstack/centos/x86_64/centos-7-vmware.ova

 If still no luck, happy to debug if you can provide me an account. The 
 only
 templates I (can) test are the KVM ones.

 The official templates from various distros will not work properly as 
 they
 are openstack/aws focused.




 On 30 March 2017 22:41:05 BST, Syed Ahmed  wrote:
>
> osboxes also only has VMDK and not OVA. Cloudstack currently only
> supports OVA for VMWare
>
> On Thu, Mar 30, 2017 at 5:34 PM, Syed Ahmed  
> wrote:
>>
>>  The official CentOS site does not build OVA for VMWare 
>> unfortunately.
>>  I found something on osboxes. I am trying that.
>>
>>  http://pasteboard.co/PNdpMkn1C.png is the screenshot of the error 
>> btw
>>
>>  On Thu, Mar 30, 2017 at 5:30 PM, Syed Ahmed  
>> wrote:
>>>
>>>  I thought the centos images from the official site did not have the
>>>  cloudstack 

[GitHub] cloudstack issue #2012: CLOUDSTACK-9842: Unable to map root volume usage to ...

2017-03-31 Thread blueorangutan
Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/2012
  
Trillian test result (tid-972)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 34338 seconds
Marvin logs: 
https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2012-t972-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Test completed. 47 look ok, 2 have error(s)


Test | Result | Time (s) | Test File
--- | --- | --- | ---
test_02_redundant_VPC_default_routes | `Failure` | 862.85 | 
test_vpc_redundant.py
test_04_rvpc_privategw_static_routes | `Failure` | 349.65 | 
test_privategw_acl.py
test_01_vpc_site2site_vpn | Success | 169.65 | test_vpc_vpn.py
test_01_vpc_remote_access_vpn | Success | 65.81 | test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpn | Success | 250.32 | test_vpc_vpn.py
test_02_VPC_default_routes | Success | 290.91 | test_vpc_router_nics.py
test_01_VPC_nics_after_destroy | Success | 521.48 | test_vpc_router_nics.py
test_05_rvpc_multi_tiers | Success | 516.65 | test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics | Success | 1410.10 | 
test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers | 
Success | 548.05 | test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL | Success | 1289.05 | 
test_vpc_redundant.py
test_09_delete_detached_volume | Success | 156.11 | test_volumes.py
test_08_resize_volume | Success | 156.09 | test_volumes.py
test_07_resize_fail | Success | 161.09 | test_volumes.py
test_06_download_detached_volume | Success | 155.99 | test_volumes.py
test_05_detach_volume | Success | 155.62 | test_volumes.py
test_04_delete_attached_volume | Success | 150.93 | test_volumes.py
test_03_download_attached_volume | Success | 155.98 | test_volumes.py
test_02_attach_volume | Success | 94.81 | test_volumes.py
test_01_create_volume | Success | 710.91 | test_volumes.py
test_03_delete_vm_snapshots | Success | 275.18 | test_vm_snapshots.py
test_02_revert_vm_snapshots | Success | 95.72 | test_vm_snapshots.py
test_01_create_vm_snapshots | Success | 158.72 | test_vm_snapshots.py
test_deploy_vm_multiple | Success | 257.11 | test_vm_life_cycle.py
test_deploy_vm | Success | 0.02 | test_vm_life_cycle.py
test_advZoneVirtualRouter | Success | 0.02 | test_vm_life_cycle.py
test_10_attachAndDetach_iso | Success | 26.54 | test_vm_life_cycle.py
test_09_expunge_vm | Success | 125.17 | test_vm_life_cycle.py
test_08_migrate_vm | Success | 45.69 | test_vm_life_cycle.py
test_07_restore_vm | Success | 0.09 | test_vm_life_cycle.py
test_06_destroy_vm | Success | 125.63 | test_vm_life_cycle.py
test_03_reboot_vm | Success | 125.65 | test_vm_life_cycle.py
test_02_start_vm | Success | 10.13 | test_vm_life_cycle.py
test_01_stop_vm | Success | 40.25 | test_vm_life_cycle.py
test_CreateTemplateWithDuplicateName | Success | 45.36 | test_templates.py
test_08_list_system_templates | Success | 0.03 | test_templates.py
test_07_list_public_templates | Success | 0.03 | test_templates.py
test_05_template_permissions | Success | 0.04 | test_templates.py
test_04_extract_template | Success | 5.14 | test_templates.py
test_03_delete_template | Success | 5.08 | test_templates.py
test_02_edit_template | Success | 90.16 | test_templates.py
test_01_create_template | Success | 40.32 | test_templates.py
test_10_destroy_cpvm | Success | 161.56 | test_ssvm.py
test_09_destroy_ssvm | Success | 163.52 | test_ssvm.py
test_08_reboot_cpvm | Success | 131.56 | test_ssvm.py
test_07_reboot_ssvm | Success | 133.49 | test_ssvm.py
test_06_stop_cpvm | Success | 131.62 | test_ssvm.py
test_05_stop_ssvm | Success | 133.99 | test_ssvm.py
test_04_cpvm_internals | Success | 1.25 | test_ssvm.py
test_03_ssvm_internals | Success | 3.49 | test_ssvm.py
test_02_list_cpvm_vm | Success | 0.09 | test_ssvm.py
test_01_list_sec_storage_vm | Success | 0.09 | test_ssvm.py
test_02_list_snapshots_with_removed_data_store | Success | 86.56 | 
test_snapshots.py
test_01_snapshot_root_disk | Success | 11.02 | test_snapshots.py
test_04_change_offering_small | Success | 210.46 | test_service_offerings.py
test_03_delete_service_offering | Success | 0.03 | test_service_offerings.py
test_02_edit_service_offering | Success | 0.04 | test_service_offerings.py
test_01_create_service_offering | Success | 0.08 | test_service_offerings.py
test_02_sys_template_ready | Success | 0.09 | test_secondary_storage.py
test_01_sys_vm_start | Success | 0.12 | test_secondary_storage.py
test_09_reboot_router | Success | 35.23 | test_routers.py
test_08_start_router | Success | 30.21 | 

[GitHub] cloudstack issue #1944: CLOUDSTACK-9783: Improve metrics view performance

2017-03-31 Thread nvazquez
Github user nvazquez commented on the issue:

https://github.com/apache/cloudstack/pull/1944
  
Hi @rhtyd, thanks for this great improvement! Along with @serg38 we've been 
testing in our env and got some failures on `listHostsMetrics` and 
`listVolumeMetrics`:


test_list_clusters_metrics (test_metrics_api.TestMetrics) ... === TestName: 
test_list_clusters_metrics | Status : SUCCESS ===
ok
test_list_hosts_metrics (test_metrics_api.TestMetrics) ... === TestName: 
test_list_hosts_metrics | Status : EXCEPTION ===
ERROR
test_list_infrastructure_metrics (test_metrics_api.TestMetrics) ... === 
TestName: test_list_infrastructure_metrics | Status : SUCCESS ===
ok
test_list_pstorage_metrics (test_metrics_api.TestMetrics) ... === TestName: 
test_list_pstorage_metrics | Status : SUCCESS ===
ok
test_list_vms_metrics (test_metrics_api.TestMetrics) ... === TestName: 
test_list_vms_metrics | Status : SUCCESS ===
ok
test_list_volumes_metrics (test_metrics_api.TestMetrics) ... === TestName: 
test_list_volumes_metrics | Status : EXCEPTION ===
ERROR
test_list_zones_metrics (test_metrics_api.TestMetrics) ... === TestName: 
test_list_zones_metrics | Status : SUCCESS ===
ok


[root@ussarlabcsmgt41 cloudstack]# cat 
/tmp//MarvinLogs//1A23HU/failed_plus_exceptions.txt
2017-03-31 10:21:19,514 - CRITICAL - EXCEPTION: test_list_hosts_metrics: 
['Traceback (most recent call last):\n', '  File 
"/usr/local/lib/python2.7/unittest/case.py", line 331, in run\n
testMethod()\n', '  File 
"/home/t_vazqnadmin/cloudstack/test/integration/smoke/test_metrics_api.py", 
line 77, in test_list_hosts_metrics\nhost_metric = 
self.apiclient.listHostsMetrics(cmd)[0]\n', '  File 
"/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
 line 3094, in listHostsMetrics\nresponse = 
self.connection.marvinRequest(command, response_type=response, 
method=method)\n', '  File 
"/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 
379, in marvinRequest\nraise e\n', "CloudstackAPIException: Execute cmd: 
listhostsmetrics failed, due to: errorCode: 530, errorText:No value specified 
for 'Date'\n"]
2017-03-31 10:23:50,276 - CRITICAL - EXCEPTION: test_list_volumes_metrics: 
['Traceback (most recent call last):\n', '  File 
"/usr/local/lib/python2.7/unittest/case.py", line 331, in run\n
testMethod()\n', '  File 
"/home/t_vazqnadmin/cloudstack/test/integration/smoke/test_metrics_api.py", 
line 172, in test_list_volumes_metrics\nlvm = 
self.apiclient.listVolumesMetrics(cmd)[0]\n', '  File 
"/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
 line 954, in listVolumesMetrics\nresponse = 
self.connection.marvinRequest(command, response_type=response, 
method=method)\n', '  File 
"/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 
379, in marvinRequest\nraise e\n', "CloudstackAPIException: Execute cmd: 
listvolumesmetrics failed, due to: errorCode: 530, errorText:No value specified 
for 'Date'\n"]

Exception is thrown by `BeanUtils.copyProperties`, log on management server:

2017-03-31 10:28:33,257 ERROR [cloud.api.ApiServer] 
(catalina-exec-15:ctx-7fb0b31e ctx-6ded5acb) unhandled exception executing api 
command: [Ljava.lang.String;@63f1496d
org.apache.commons.beanutils.ConversionException: No value specified for 
'Date'
at 
org.apache.commons.beanutils.converters.AbstractConverter.handleMissing(AbstractConverter.java:310)
at 
org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:136)
at 
org.apache.commons.beanutils.converters.ConverterFacade.convert(ConverterFacade.java:60)
at 
org.apache.commons.beanutils.BeanUtilsBean.convert(BeanUtilsBean.java:1078)
at 
org.apache.commons.beanutils.BeanUtilsBean.copyProperty(BeanUtilsBean.java:437)
at 
org.apache.commons.beanutils.BeanUtilsBean.copyProperties(BeanUtilsBean.java:286)
at 
org.apache.commons.beanutils.BeanUtils.copyProperties(BeanUtils.java:137)
at 
org.apache.cloudstack.metrics.MetricsServiceImpl.listHostMetrics(MetricsServiceImpl.java:244)
at 
org.apache.cloudstack.api.ListHostsMetricsCmd.execute(ListHostsMetricsCmd.java:48)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:709)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:533)
at 
com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:299)
at com.cloud.api.ApiServlet$1.run(ApiServlet.java:129)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at 

Re: Need help in getting CentOS 7 templates to run on Cloudstack 4.9 and VMWare

2017-03-31 Thread Nux!
Syed,

I just checked and centos user is added to sudoers, if it was not added to your 
instance, then cloud-init did not complete properly.
I have seen this in the past when the data source is not reached properly.
I would double check the cloud-init logs if I were you, make sure eth0 was up 
properly and the VR accessible.

http://storage1.static.itmages.com/i/17/0331/h_1490978820_8688282_efdf2d86f5.png

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Nux!" 
> To: "dev" 
> Sent: Friday, 31 March, 2017 17:01:43
> Subject: Re: Need help in getting CentOS 7 templates to run on Cloudstack 4.9 
> and VMWare

> Thanks, I'll check.
> Cloud-init is supposed to add the user to sudo.
> 
> --
> Sent from the Delta quadrant using Borg technology!
> 
> Nux!
> www.nux.ro
> 
> - Original Message -
>> From: "Syed Ahmed" 
>> To: "dev" 
>> Sent: Friday, 31 March, 2017 16:54:21
>> Subject: Re: Need help in getting CentOS 7 templates to run on Cloudstack 4.9
>> and VMWare
> 
>> Hi Nux,
>> 
>> One of the things that I've seen is that the user centos is not added
>> to the sudoers.
>> 
>> On Fri, Mar 31, 2017 at 8:06 AM, Nux!  wrote:
>>> Excellent, let me know if you hit any more issues.
>>>
>>> --
>>> Sent from the Delta quadrant using Borg technology!
>>>
>>> Nux!
>>> www.nux.ro
>>>
>>> - Original Message -
 From: "Syed Ahmed" 
 To: "dev" 
 Sent: Friday, 31 March, 2017 12:58:21
 Subject: Re: Need help in getting CentOS 7 templates to run on Cloudstack 
 4.9
 and VMWare
>>>
 Hey Nux,

 It worked! Thanks for fixing this. I am able to ping the VM now.

 On Fri, Mar 31, 2017 at 4:17 AM, Nux!  wrote:
> Syed,
>
> I am aware of the renaming issue and avoid it, if you check my kickstart I
> specifically add biosdevname=0 and net.ifnames=0
> http://jenkins.openvm.eu/cloudstack/config/centos/centos7-vmware.cfg
>
> However yesterday Rohit brought to my attention the ova generation script
> inserts a e1000 eth0 which apparently breaks things in certain situations.
> https://github.com/apache/cloudstack/pull/2022#issuecomment-290339928
>
> I corrected the script and built a new image here, please give it a try.
> http://jenkins.openvm.eu/cloudstack/centos/x86_64/centos-7-vmware.ova
>
> If the problem persists, can you go in single user mode and check the
> /proc/cmdline and share it here?
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> - Original Message -
>> From: "Syed Ahmed" 
>> To: "Nux!" 
>> Cc: "dev" 
>> Sent: Thursday, 30 March, 2017 23:54:36
>> Subject: Re: Need help in getting CentOS 7 templates to run on 
>> Cloudstack 4.9
>> and VMWare
>
>> I tried the one you provided however, it still has the same problem
>> ... DHCP doesn't seem to pick up. I also see that the interface is not
>> named eth0 .. could this be the problem? I can try changing the
>> network driver and see if that helps. Will report back.
>>
>> On Thu, Mar 30, 2017 at 6:21 PM, Nux!  wrote:
>>> Hi, I am working on a new set of templates, you can try this one:
>>> http://jenkins.openvm.eu/cloudstack/centos/x86_64/centos-7-vmware.ova
>>>
>>> If still no luck, happy to debug if you can provide me an account. The 
>>> only
>>> templates I (can) test are the KVM ones.
>>>
>>> The official templates from various distros will not work properly as 
>>> they
>>> are openstack/aws focused.
>>>
>>>
>>>
>>>
>>> On 30 March 2017 22:41:05 BST, Syed Ahmed  wrote:

 osboxes also only has VMDK and not OVA. Cloudstack currently only
 supports OVA for VMWare

 On Thu, Mar 30, 2017 at 5:34 PM, Syed Ahmed  
 wrote:
>
>  The official CentOS site does not build OVA for VMWare unfortunately.
>  I found something on osboxes. I am trying that.
>
>  http://pasteboard.co/PNdpMkn1C.png is the screenshot of the error btw
>
>  On Thu, Mar 30, 2017 at 5:30 PM, Syed Ahmed  
> wrote:
>>
>>  I thought the centos images from the official site did not have the
>>  cloudstack datasource. I'll try and report!
>>
>>  On Thu, Mar 30, 2017 at 5:26 PM, Pierre-Luc Dion 
>> 
>> wrote:
>>>
>>>  Hi Syed, have you tried coud images from centos site, i think 
>>> centos
>>> build
>>>  cloudimage as 

[GitHub] cloudstack issue #1869: CLOUDSTACK-9701: When host is disabled/removed, capa...

2017-03-31 Thread mrunalinikankariya
Github user mrunalinikankariya commented on the issue:

https://github.com/apache/cloudstack/pull/1869
  
Test LGTM, tested using marvin test script



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack issue #2002: CLOUDSTACK-9831: Previous pod_id still remains in th...

2017-03-31 Thread blueorangutan
Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/2002
  
Trillian test result (tid-971)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 34464 seconds
Marvin logs: 
https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2002-t971-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_primary_storage.py
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Test completed. 47 look ok, 2 have error(s)


Test | Result | Time (s) | Test File
--- | --- | --- | ---
test_04_rvpc_privategw_static_routes | `Failure` | 345.59 | 
test_privategw_acl.py
test_03_migration_options_storage_tags | `Error` | 0.38 | 
test_primary_storage.py
test_01_vpc_site2site_vpn | Success | 159.91 | test_vpc_vpn.py
test_01_vpc_remote_access_vpn | Success | 66.11 | test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpn | Success | 245.85 | test_vpc_vpn.py
test_02_VPC_default_routes | Success | 274.06 | test_vpc_router_nics.py
test_01_VPC_nics_after_destroy | Success | 543.27 | test_vpc_router_nics.py
test_05_rvpc_multi_tiers | Success | 510.48 | test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics | Success | 1404.52 | 
test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers | 
Success | 548.38 | test_vpc_redundant.py
test_02_redundant_VPC_default_routes | Success | 752.06 | 
test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL | Success | 1299.77 | 
test_vpc_redundant.py
test_09_delete_detached_volume | Success | 152.07 | test_volumes.py
test_08_resize_volume | Success | 156.61 | test_volumes.py
test_07_resize_fail | Success | 161.54 | test_volumes.py
test_06_download_detached_volume | Success | 156.29 | test_volumes.py
test_05_detach_volume | Success | 155.77 | test_volumes.py
test_04_delete_attached_volume | Success | 151.18 | test_volumes.py
test_03_download_attached_volume | Success | 156.34 | test_volumes.py
test_02_attach_volume | Success | 94.85 | test_volumes.py
test_01_create_volume | Success | 711.23 | test_volumes.py
test_03_delete_vm_snapshots | Success | 275.21 | test_vm_snapshots.py
test_02_revert_vm_snapshots | Success | 95.75 | test_vm_snapshots.py
test_01_create_vm_snapshots | Success | 158.86 | test_vm_snapshots.py
test_deploy_vm_multiple | Success | 247.65 | test_vm_life_cycle.py
test_deploy_vm | Success | 0.05 | test_vm_life_cycle.py
test_advZoneVirtualRouter | Success | 0.02 | test_vm_life_cycle.py
test_10_attachAndDetach_iso | Success | 26.66 | test_vm_life_cycle.py
test_09_expunge_vm | Success | 125.19 | test_vm_life_cycle.py
test_08_migrate_vm | Success | 40.90 | test_vm_life_cycle.py
test_07_restore_vm | Success | 0.13 | test_vm_life_cycle.py
test_06_destroy_vm | Success | 125.83 | test_vm_life_cycle.py
test_03_reboot_vm | Success | 125.85 | test_vm_life_cycle.py
test_02_start_vm | Success | 10.17 | test_vm_life_cycle.py
test_01_stop_vm | Success | 40.33 | test_vm_life_cycle.py
test_CreateTemplateWithDuplicateName | Success | 36.02 | test_templates.py
test_08_list_system_templates | Success | 0.04 | test_templates.py
test_07_list_public_templates | Success | 0.04 | test_templates.py
test_05_template_permissions | Success | 0.06 | test_templates.py
test_04_extract_template | Success | 5.13 | test_templates.py
test_03_delete_template | Success | 5.11 | test_templates.py
test_02_edit_template | Success | 90.12 | test_templates.py
test_01_create_template | Success | 40.51 | test_templates.py
test_10_destroy_cpvm | Success | 166.65 | test_ssvm.py
test_09_destroy_ssvm | Success | 138.63 | test_ssvm.py
test_08_reboot_cpvm | Success | 131.61 | test_ssvm.py
test_07_reboot_ssvm | Success | 133.58 | test_ssvm.py
test_06_stop_cpvm | Success | 131.76 | test_ssvm.py
test_05_stop_ssvm | Success | 163.71 | test_ssvm.py
test_04_cpvm_internals | Success | 1.23 | test_ssvm.py
test_03_ssvm_internals | Success | 3.28 | test_ssvm.py
test_02_list_cpvm_vm | Success | 0.13 | test_ssvm.py
test_01_list_sec_storage_vm | Success | 0.14 | test_ssvm.py
test_02_list_snapshots_with_removed_data_store | Success | 81.92 | 
test_snapshots.py
test_01_snapshot_root_disk | Success | 11.25 | test_snapshots.py
test_04_change_offering_small | Success | 234.52 | test_service_offerings.py
test_03_delete_service_offering | Success | 0.04 | test_service_offerings.py
test_02_edit_service_offering | Success | 0.06 | test_service_offerings.py
test_01_create_service_offering | Success | 0.11 | test_service_offerings.py
test_02_sys_template_ready | Success | 0.13 | test_secondary_storage.py

Re: Need help in getting CentOS 7 templates to run on Cloudstack 4.9 and VMWare

2017-03-31 Thread Nux!
Thanks, I'll check.
Cloud-init is supposed to add the user to sudo.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Syed Ahmed" 
> To: "dev" 
> Sent: Friday, 31 March, 2017 16:54:21
> Subject: Re: Need help in getting CentOS 7 templates to run on Cloudstack 4.9 
> and VMWare

> Hi Nux,
> 
> One of the things that I've seen is that the user centos is not added
> to the sudoers.
> 
> On Fri, Mar 31, 2017 at 8:06 AM, Nux!  wrote:
>> Excellent, let me know if you hit any more issues.
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> - Original Message -
>>> From: "Syed Ahmed" 
>>> To: "dev" 
>>> Sent: Friday, 31 March, 2017 12:58:21
>>> Subject: Re: Need help in getting CentOS 7 templates to run on Cloudstack 
>>> 4.9
>>> and VMWare
>>
>>> Hey Nux,
>>>
>>> It worked! Thanks for fixing this. I am able to ping the VM now.
>>>
>>> On Fri, Mar 31, 2017 at 4:17 AM, Nux!  wrote:
 Syed,

 I am aware of the renaming issue and avoid it, if you check my kickstart I
 specifically add biosdevname=0 and net.ifnames=0
 http://jenkins.openvm.eu/cloudstack/config/centos/centos7-vmware.cfg

 However yesterday Rohit brought to my attention the ova generation script
 inserts a e1000 eth0 which apparently breaks things in certain situations.
 https://github.com/apache/cloudstack/pull/2022#issuecomment-290339928

 I corrected the script and built a new image here, please give it a try.
 http://jenkins.openvm.eu/cloudstack/centos/x86_64/centos-7-vmware.ova

 If the problem persists, can you go in single user mode and check the
 /proc/cmdline and share it here?

 --
 Sent from the Delta quadrant using Borg technology!

 Nux!
 www.nux.ro

 - Original Message -
> From: "Syed Ahmed" 
> To: "Nux!" 
> Cc: "dev" 
> Sent: Thursday, 30 March, 2017 23:54:36
> Subject: Re: Need help in getting CentOS 7 templates to run on Cloudstack 
> 4.9
> and VMWare

> I tried the one you provided however, it still has the same problem
> ... DHCP doesn't seem to pick up. I also see that the interface is not
> named eth0 .. could this be the problem? I can try changing the
> network driver and see if that helps. Will report back.
>
> On Thu, Mar 30, 2017 at 6:21 PM, Nux!  wrote:
>> Hi, I am working on a new set of templates, you can try this one:
>> http://jenkins.openvm.eu/cloudstack/centos/x86_64/centos-7-vmware.ova
>>
>> If still no luck, happy to debug if you can provide me an account. The 
>> only
>> templates I (can) test are the KVM ones.
>>
>> The official templates from various distros will not work properly as 
>> they
>> are openstack/aws focused.
>>
>>
>>
>>
>> On 30 March 2017 22:41:05 BST, Syed Ahmed  wrote:
>>>
>>> osboxes also only has VMDK and not OVA. Cloudstack currently only
>>> supports OVA for VMWare
>>>
>>> On Thu, Mar 30, 2017 at 5:34 PM, Syed Ahmed  wrote:

  The official CentOS site does not build OVA for VMWare unfortunately.
  I found something on osboxes. I am trying that.

  http://pasteboard.co/PNdpMkn1C.png is the screenshot of the error btw

  On Thu, Mar 30, 2017 at 5:30 PM, Syed Ahmed  
 wrote:
>
>  I thought the centos images from the official site did not have the
>  cloudstack datasource. I'll try and report!
>
>  On Thu, Mar 30, 2017 at 5:26 PM, Pierre-Luc Dion 
> wrote:
>>
>>  Hi Syed, have you tried coud images from centos site, i think centos
>> build
>>  cloudimage as canonical for ubuntu.
>>
>>
>>  On Mar 30, 2017 5:24 PM, "Rafael Weingärtner"
>> 
>>  wrote:
>>
>>>  Attachments are not forwarded with emails.
>>>
>>>  On Thu, Mar 30, 2017 at 5:16 PM, Syed Ahmed 
>>> wrote:
>>>
  FYI I'm attaching the screenshot of the cloud-init error



  On Thu, Mar 30, 2017 at 5:14 PM, Syed Ahmed 
 wrote:
>
>  Hi All,
>
>  I'm trying to run a CentOS 7 template on VMWare and ACS 4.9 but
>  somehow cloud-init doesn't seem to pick up the IP form the VR. 
> The
>  default template which is bundled with ACS (CentOS 5) works.
>

Re: Need help in getting CentOS 7 templates to run on Cloudstack 4.9 and VMWare

2017-03-31 Thread Syed Ahmed
Hi Nux,

One of the things that I've seen is that the user centos is not added
to the sudoers.

On Fri, Mar 31, 2017 at 8:06 AM, Nux!  wrote:
> Excellent, let me know if you hit any more issues.
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> - Original Message -
>> From: "Syed Ahmed" 
>> To: "dev" 
>> Sent: Friday, 31 March, 2017 12:58:21
>> Subject: Re: Need help in getting CentOS 7 templates to run on Cloudstack 
>> 4.9 and VMWare
>
>> Hey Nux,
>>
>> It worked! Thanks for fixing this. I am able to ping the VM now.
>>
>> On Fri, Mar 31, 2017 at 4:17 AM, Nux!  wrote:
>>> Syed,
>>>
>>> I am aware of the renaming issue and avoid it, if you check my kickstart I
>>> specifically add biosdevname=0 and net.ifnames=0
>>> http://jenkins.openvm.eu/cloudstack/config/centos/centos7-vmware.cfg
>>>
>>> However yesterday Rohit brought to my attention the ova generation script
>>> inserts a e1000 eth0 which apparently breaks things in certain situations.
>>> https://github.com/apache/cloudstack/pull/2022#issuecomment-290339928
>>>
>>> I corrected the script and built a new image here, please give it a try.
>>> http://jenkins.openvm.eu/cloudstack/centos/x86_64/centos-7-vmware.ova
>>>
>>> If the problem persists, can you go in single user mode and check the
>>> /proc/cmdline and share it here?
>>>
>>> --
>>> Sent from the Delta quadrant using Borg technology!
>>>
>>> Nux!
>>> www.nux.ro
>>>
>>> - Original Message -
 From: "Syed Ahmed" 
 To: "Nux!" 
 Cc: "dev" 
 Sent: Thursday, 30 March, 2017 23:54:36
 Subject: Re: Need help in getting CentOS 7 templates to run on Cloudstack 
 4.9
 and VMWare
>>>
 I tried the one you provided however, it still has the same problem
 ... DHCP doesn't seem to pick up. I also see that the interface is not
 named eth0 .. could this be the problem? I can try changing the
 network driver and see if that helps. Will report back.

 On Thu, Mar 30, 2017 at 6:21 PM, Nux!  wrote:
> Hi, I am working on a new set of templates, you can try this one:
> http://jenkins.openvm.eu/cloudstack/centos/x86_64/centos-7-vmware.ova
>
> If still no luck, happy to debug if you can provide me an account. The 
> only
> templates I (can) test are the KVM ones.
>
> The official templates from various distros will not work properly as they
> are openstack/aws focused.
>
>
>
>
> On 30 March 2017 22:41:05 BST, Syed Ahmed  wrote:
>>
>> osboxes also only has VMDK and not OVA. Cloudstack currently only
>> supports OVA for VMWare
>>
>> On Thu, Mar 30, 2017 at 5:34 PM, Syed Ahmed  wrote:
>>>
>>>  The official CentOS site does not build OVA for VMWare unfortunately.
>>>  I found something on osboxes. I am trying that.
>>>
>>>  http://pasteboard.co/PNdpMkn1C.png is the screenshot of the error btw
>>>
>>>  On Thu, Mar 30, 2017 at 5:30 PM, Syed Ahmed  
>>> wrote:

  I thought the centos images from the official site did not have the
  cloudstack datasource. I'll try and report!

  On Thu, Mar 30, 2017 at 5:26 PM, Pierre-Luc Dion 
 wrote:
>
>  Hi Syed, have you tried coud images from centos site, i think centos
> build
>  cloudimage as canonical for ubuntu.
>
>
>  On Mar 30, 2017 5:24 PM, "Rafael Weingärtner"
> 
>  wrote:
>
>>  Attachments are not forwarded with emails.
>>
>>  On Thu, Mar 30, 2017 at 5:16 PM, Syed Ahmed 
>> wrote:
>>
>>>  FYI I'm attaching the screenshot of the cloud-init error
>>>
>>>
>>>
>>>  On Thu, Mar 30, 2017 at 5:14 PM, Syed Ahmed 
>>> wrote:

  Hi All,

  I'm trying to run a CentOS 7 template on VMWare and ACS 4.9 but
  somehow cloud-init doesn't seem to pick up the IP form the VR. The
  default template which is bundled with ACS (CentOS 5) works.

  I got the CentOS7 template from
  http://dl.openvm.eu/cloudstack/centos/vanilla/7/
>>
>>  x86_64/CentOS-7-x86_64-
>>>
>>>  vanilla-vmware.ova


  Is there any setting that I need to do for this template? Are 
 there
  any other places I can get a working template for CentOS7 for
  Cloudstack?

  Thanks,
  -Syed
>>>
>>>
>>
>>
>>
>>  --

[GitHub] cloudstack pull request #1810: CLOUDSTACK-9647: NIC adapter type becomes e10...

2017-03-31 Thread rhtyd
Github user rhtyd commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1810#discussion_r109176624
  
--- Diff: 
server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManagerImpl.java 
---
@@ -280,6 +286,16 @@ public boolean finalizeVirtualMachineProfile(final 
VirtualMachineProfile profile
 public boolean finalizeCommandsOnStart(final Commands cmds, final 
VirtualMachineProfile profile) {
 final DomainRouterVO domainRouterVO = 
_routerDao.findById(profile.getId());
 
+Map details = new HashMap();
+
+if(profile.getHypervisorType() == 
Hypervisor.HypervisorType.VMware){
+HypervisorGuru hvGuru = 
_hvGuruMgr.getGuru(profile.getHypervisorType());
+VirtualMachineTO vmTO = hvGuru.implement(profile);
+if(vmTO.getDetails() != null){
+details = vmTO.getDetails();
--- End diff --

Should we pass the details irrespective of the hypervisor type?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: Need help in getting CentOS 7 templates to run on Cloudstack 4.9 and VMWare

2017-03-31 Thread Nux!
Excellent, let me know if you hit any more issues.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Syed Ahmed" 
> To: "dev" 
> Sent: Friday, 31 March, 2017 12:58:21
> Subject: Re: Need help in getting CentOS 7 templates to run on Cloudstack 4.9 
> and VMWare

> Hey Nux,
> 
> It worked! Thanks for fixing this. I am able to ping the VM now.
> 
> On Fri, Mar 31, 2017 at 4:17 AM, Nux!  wrote:
>> Syed,
>>
>> I am aware of the renaming issue and avoid it, if you check my kickstart I
>> specifically add biosdevname=0 and net.ifnames=0
>> http://jenkins.openvm.eu/cloudstack/config/centos/centos7-vmware.cfg
>>
>> However yesterday Rohit brought to my attention the ova generation script
>> inserts a e1000 eth0 which apparently breaks things in certain situations.
>> https://github.com/apache/cloudstack/pull/2022#issuecomment-290339928
>>
>> I corrected the script and built a new image here, please give it a try.
>> http://jenkins.openvm.eu/cloudstack/centos/x86_64/centos-7-vmware.ova
>>
>> If the problem persists, can you go in single user mode and check the
>> /proc/cmdline and share it here?
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> - Original Message -
>>> From: "Syed Ahmed" 
>>> To: "Nux!" 
>>> Cc: "dev" 
>>> Sent: Thursday, 30 March, 2017 23:54:36
>>> Subject: Re: Need help in getting CentOS 7 templates to run on Cloudstack 
>>> 4.9
>>> and VMWare
>>
>>> I tried the one you provided however, it still has the same problem
>>> ... DHCP doesn't seem to pick up. I also see that the interface is not
>>> named eth0 .. could this be the problem? I can try changing the
>>> network driver and see if that helps. Will report back.
>>>
>>> On Thu, Mar 30, 2017 at 6:21 PM, Nux!  wrote:
 Hi, I am working on a new set of templates, you can try this one:
 http://jenkins.openvm.eu/cloudstack/centos/x86_64/centos-7-vmware.ova

 If still no luck, happy to debug if you can provide me an account. The only
 templates I (can) test are the KVM ones.

 The official templates from various distros will not work properly as they
 are openstack/aws focused.




 On 30 March 2017 22:41:05 BST, Syed Ahmed  wrote:
>
> osboxes also only has VMDK and not OVA. Cloudstack currently only
> supports OVA for VMWare
>
> On Thu, Mar 30, 2017 at 5:34 PM, Syed Ahmed  wrote:
>>
>>  The official CentOS site does not build OVA for VMWare unfortunately.
>>  I found something on osboxes. I am trying that.
>>
>>  http://pasteboard.co/PNdpMkn1C.png is the screenshot of the error btw
>>
>>  On Thu, Mar 30, 2017 at 5:30 PM, Syed Ahmed  wrote:
>>>
>>>  I thought the centos images from the official site did not have the
>>>  cloudstack datasource. I'll try and report!
>>>
>>>  On Thu, Mar 30, 2017 at 5:26 PM, Pierre-Luc Dion 
>>> wrote:

  Hi Syed, have you tried coud images from centos site, i think centos
 build
  cloudimage as canonical for ubuntu.


  On Mar 30, 2017 5:24 PM, "Rafael Weingärtner"
 
  wrote:

>  Attachments are not forwarded with emails.
>
>  On Thu, Mar 30, 2017 at 5:16 PM, Syed Ahmed 
> wrote:
>
>>  FYI I'm attaching the screenshot of the cloud-init error
>>
>>
>>
>>  On Thu, Mar 30, 2017 at 5:14 PM, Syed Ahmed 
>> wrote:
>>>
>>>  Hi All,
>>>
>>>  I'm trying to run a CentOS 7 template on VMWare and ACS 4.9 but
>>>  somehow cloud-init doesn't seem to pick up the IP form the VR. The
>>>  default template which is bundled with ACS (CentOS 5) works.
>>>
>>>  I got the CentOS7 template from
>>>  http://dl.openvm.eu/cloudstack/centos/vanilla/7/
>
>  x86_64/CentOS-7-x86_64-
>>
>>  vanilla-vmware.ova
>>>
>>>
>>>  Is there any setting that I need to do for this template? Are there
>>>  any other places I can get a working template for CentOS7 for
>>>  Cloudstack?
>>>
>>>  Thanks,
>>>  -Syed
>>
>>
>
>
>
>  --
>  Rafael Weingärtner



 --
> >> > Sent from my Android device with K-9 Mail. Please excuse my brevity.


Re: Need help in getting CentOS 7 templates to run on Cloudstack 4.9 and VMWare

2017-03-31 Thread Syed Ahmed
Hey Nux,

It worked! Thanks for fixing this. I am able to ping the VM now.

On Fri, Mar 31, 2017 at 4:17 AM, Nux!  wrote:
> Syed,
>
> I am aware of the renaming issue and avoid it, if you check my kickstart I 
> specifically add biosdevname=0 and net.ifnames=0
> http://jenkins.openvm.eu/cloudstack/config/centos/centos7-vmware.cfg
>
> However yesterday Rohit brought to my attention the ova generation script 
> inserts a e1000 eth0 which apparently breaks things in certain situations.
> https://github.com/apache/cloudstack/pull/2022#issuecomment-290339928
>
> I corrected the script and built a new image here, please give it a try.
> http://jenkins.openvm.eu/cloudstack/centos/x86_64/centos-7-vmware.ova
>
> If the problem persists, can you go in single user mode and check the 
> /proc/cmdline and share it here?
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> - Original Message -
>> From: "Syed Ahmed" 
>> To: "Nux!" 
>> Cc: "dev" 
>> Sent: Thursday, 30 March, 2017 23:54:36
>> Subject: Re: Need help in getting CentOS 7 templates to run on Cloudstack 
>> 4.9 and VMWare
>
>> I tried the one you provided however, it still has the same problem
>> ... DHCP doesn't seem to pick up. I also see that the interface is not
>> named eth0 .. could this be the problem? I can try changing the
>> network driver and see if that helps. Will report back.
>>
>> On Thu, Mar 30, 2017 at 6:21 PM, Nux!  wrote:
>>> Hi, I am working on a new set of templates, you can try this one:
>>> http://jenkins.openvm.eu/cloudstack/centos/x86_64/centos-7-vmware.ova
>>>
>>> If still no luck, happy to debug if you can provide me an account. The only
>>> templates I (can) test are the KVM ones.
>>>
>>> The official templates from various distros will not work properly as they
>>> are openstack/aws focused.
>>>
>>>
>>>
>>>
>>> On 30 March 2017 22:41:05 BST, Syed Ahmed  wrote:

 osboxes also only has VMDK and not OVA. Cloudstack currently only
 supports OVA for VMWare

 On Thu, Mar 30, 2017 at 5:34 PM, Syed Ahmed  wrote:
>
>  The official CentOS site does not build OVA for VMWare unfortunately.
>  I found something on osboxes. I am trying that.
>
>  http://pasteboard.co/PNdpMkn1C.png is the screenshot of the error btw
>
>  On Thu, Mar 30, 2017 at 5:30 PM, Syed Ahmed  wrote:
>>
>>  I thought the centos images from the official site did not have the
>>  cloudstack datasource. I'll try and report!
>>
>>  On Thu, Mar 30, 2017 at 5:26 PM, Pierre-Luc Dion 
>> wrote:
>>>
>>>  Hi Syed, have you tried coud images from centos site, i think centos
>>> build
>>>  cloudimage as canonical for ubuntu.
>>>
>>>
>>>  On Mar 30, 2017 5:24 PM, "Rafael Weingärtner"
>>> 
>>>  wrote:
>>>
  Attachments are not forwarded with emails.

  On Thu, Mar 30, 2017 at 5:16 PM, Syed Ahmed 
 wrote:

>  FYI I'm attaching the screenshot of the cloud-init error
>
>
>
>  On Thu, Mar 30, 2017 at 5:14 PM, Syed Ahmed 
> wrote:
>>
>>  Hi All,
>>
>>  I'm trying to run a CentOS 7 template on VMWare and ACS 4.9 but
>>  somehow cloud-init doesn't seem to pick up the IP form the VR. The
>>  default template which is bundled with ACS (CentOS 5) works.
>>
>>  I got the CentOS7 template from
>>  http://dl.openvm.eu/cloudstack/centos/vanilla/7/

  x86_64/CentOS-7-x86_64-
>
>  vanilla-vmware.ova
>>
>>
>>  Is there any setting that I need to do for this template? Are there
>>  any other places I can get a working template for CentOS7 for
>>  Cloudstack?
>>
>>  Thanks,
>>  -Syed
>
>



  --
  Rafael Weingärtner
>>>
>>>
>>>
>>> --
>> > Sent from my Android device with K-9 Mail. Please excuse my brevity.


[GitHub] cloudstack issue #1810: CLOUDSTACK-9647: NIC adapter type becomes e1000 , ev...

2017-03-31 Thread niteshsarda
Github user niteshsarda commented on the issue:

https://github.com/apache/cloudstack/pull/1810
  
I have tested this and **LGTM** for test.

Following are the results : 

**Before applying fix :** 
/vmfs/volumes/5d7b9eae-08336124/r-99-VM # grep virtualDev r-97-VM.vmx
pciBridge4.virtualDev = "pcieRootPort"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge6.virtualDev = "pcieRootPort"
pciBridge7.virtualDev = "pcieRootPort"
scsi0.virtualDev = "lsilogic"
ethernet0.virtualDev = "vmxnet3"
ethernet1.virtualDev = "e1000"
ethernet2.virtualDev = "e1000"


**After applying fix :** 
/vmfs/volumes/5d7b9eae-08336124/r-99-VM # grep virtualDev r-99-VM.vmx
pciBridge4.virtualDev = "pcieRootPort"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge6.virtualDev = "pcieRootPort"
pciBridge7.virtualDev = "pcieRootPort"
scsi0.virtualDev = "lsilogic"
ethernet0.virtualDev = "vmxnet3"
ethernet1.virtualDev = "vmxnet3"
ethernet2.virtualDev = "vmxnet3"


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack issue #876: CLOUDSTACK-8865: Adding SR doesn't create Storage_poo...

2017-03-31 Thread PranaliM
Github user PranaliM commented on the issue:

https://github.com/apache/cloudstack/pull/876
  
Test LGTM based on manual testing:

Steps used for testing the fix:
1. Added 2 hosts to a cluster
2. Disabled 1 host
3. Added a primary Storage
4. Verified that the mapping for primary Storage was added in the 
storage_pool_host_ref table for both 
enabled and disabled host.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request #914: BUG-ID CLOUDSTACK-8939 VM Snapshot size with m...

2017-03-31 Thread yvsubhash
Github user yvsubhash commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/914#discussion_r109123538
  
--- Diff: 
plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/CitrixResourceBase.java
 ---
@@ -3206,25 +3206,33 @@ public long getVMSnapshotChainSize(final Connection 
conn, final VolumeObjectTO v
 }
 }
 if (volumeTo.getVolumeType() == Volume.Type.ROOT) {
-final Map allVMs = VM.getAllRecords(conn);
-// add size of memory snapshot vdi
-if (allVMs != null && allVMs.size() > 0) {
-for (final VM vmr : allVMs.keySet()) {
-try {
-final String vName = vmr.getNameLabel(conn);
-if (vName != null && vName.contains(vmName) && 
vmr.getIsASnapshot(conn)) {
-final VDI memoryVDI = vmr.getSuspendVDI(conn);
-if (!isRefNull(memoryVDI)) {
-size = size + 
memoryVDI.getPhysicalUtilisation(conn);
-final VDI pMemoryVDI = 
memoryVDI.getParent(conn);
-if (!isRefNull(pMemoryVDI)) {
-size = size + 
pMemoryVDI.getPhysicalUtilisation(conn);
+VM vm = getVM(conn, vmName);
--- End diff --

@sudhansu7 exception needs to be caught at the callers otherwise it would 
end up setting zero size


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack issue #2012: CLOUDSTACK-9842: Unable to map root volume usage to ...

2017-03-31 Thread blueorangutan
Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/2012
  
@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has 
been kicked to run smoke tests


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack issue #2012: CLOUDSTACK-9842: Unable to map root volume usage to ...

2017-03-31 Thread borisstoyanov
Github user borisstoyanov commented on the issue:

https://github.com/apache/cloudstack/pull/2012
  
@blueorangutan test


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: Need help in getting CentOS 7 templates to run on Cloudstack 4.9 and VMWare

2017-03-31 Thread Nux!
Syed,

I am aware of the renaming issue and avoid it, if you check my kickstart I 
specifically add biosdevname=0 and net.ifnames=0
http://jenkins.openvm.eu/cloudstack/config/centos/centos7-vmware.cfg

However yesterday Rohit brought to my attention the ova generation script 
inserts a e1000 eth0 which apparently breaks things in certain situations.
https://github.com/apache/cloudstack/pull/2022#issuecomment-290339928

I corrected the script and built a new image here, please give it a try.
http://jenkins.openvm.eu/cloudstack/centos/x86_64/centos-7-vmware.ova

If the problem persists, can you go in single user mode and check the 
/proc/cmdline and share it here?

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Syed Ahmed" 
> To: "Nux!" 
> Cc: "dev" 
> Sent: Thursday, 30 March, 2017 23:54:36
> Subject: Re: Need help in getting CentOS 7 templates to run on Cloudstack 4.9 
> and VMWare

> I tried the one you provided however, it still has the same problem
> ... DHCP doesn't seem to pick up. I also see that the interface is not
> named eth0 .. could this be the problem? I can try changing the
> network driver and see if that helps. Will report back.
> 
> On Thu, Mar 30, 2017 at 6:21 PM, Nux!  wrote:
>> Hi, I am working on a new set of templates, you can try this one:
>> http://jenkins.openvm.eu/cloudstack/centos/x86_64/centos-7-vmware.ova
>>
>> If still no luck, happy to debug if you can provide me an account. The only
>> templates I (can) test are the KVM ones.
>>
>> The official templates from various distros will not work properly as they
>> are openstack/aws focused.
>>
>>
>>
>>
>> On 30 March 2017 22:41:05 BST, Syed Ahmed  wrote:
>>>
>>> osboxes also only has VMDK and not OVA. Cloudstack currently only
>>> supports OVA for VMWare
>>>
>>> On Thu, Mar 30, 2017 at 5:34 PM, Syed Ahmed  wrote:

  The official CentOS site does not build OVA for VMWare unfortunately.
  I found something on osboxes. I am trying that.

  http://pasteboard.co/PNdpMkn1C.png is the screenshot of the error btw

  On Thu, Mar 30, 2017 at 5:30 PM, Syed Ahmed  wrote:
>
>  I thought the centos images from the official site did not have the
>  cloudstack datasource. I'll try and report!
>
>  On Thu, Mar 30, 2017 at 5:26 PM, Pierre-Luc Dion 
> wrote:
>>
>>  Hi Syed, have you tried coud images from centos site, i think centos
>> build
>>  cloudimage as canonical for ubuntu.
>>
>>
>>  On Mar 30, 2017 5:24 PM, "Rafael Weingärtner"
>> 
>>  wrote:
>>
>>>  Attachments are not forwarded with emails.
>>>
>>>  On Thu, Mar 30, 2017 at 5:16 PM, Syed Ahmed 
>>> wrote:
>>>
  FYI I'm attaching the screenshot of the cloud-init error



  On Thu, Mar 30, 2017 at 5:14 PM, Syed Ahmed 
 wrote:
>
>  Hi All,
>
>  I'm trying to run a CentOS 7 template on VMWare and ACS 4.9 but
>  somehow cloud-init doesn't seem to pick up the IP form the VR. The
>  default template which is bundled with ACS (CentOS 5) works.
>
>  I got the CentOS7 template from
>  http://dl.openvm.eu/cloudstack/centos/vanilla/7/
>>>
>>>  x86_64/CentOS-7-x86_64-

  vanilla-vmware.ova
>
>
>  Is there any setting that I need to do for this template? Are there
>  any other places I can get a working template for CentOS7 for
>  Cloudstack?
>
>  Thanks,
>  -Syed


>>>
>>>
>>>
>>>  --
>>>  Rafael Weingärtner
>>
>>
>>
>> --
> > Sent from my Android device with K-9 Mail. Please excuse my brevity.


[GitHub] cloudstack issue #2012: CLOUDSTACK-9842: Unable to map root volume usage to ...

2017-03-31 Thread blueorangutan
Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/2012
  
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-609


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack issue #2012: CLOUDSTACK-9842: Unable to map root volume usage to ...

2017-03-31 Thread borisstoyanov
Github user borisstoyanov commented on the issue:

https://github.com/apache/cloudstack/pull/2012
  
@blueorangutan package


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack issue #2012: CLOUDSTACK-9842: Unable to map root volume usage to ...

2017-03-31 Thread blueorangutan
Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/2012
  
@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep 
you posted as I make progress.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack issue #2014: WIP: Fix primary storage usage for vm snaphot

2017-03-31 Thread blueorangutan
Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/2014
  
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-608


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack issue #2002: CLOUDSTACK-9831: Previous pod_id still remains in th...

2017-03-31 Thread blueorangutan
Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/2002
  
@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has 
been kicked to run smoke tests


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack issue #2002: CLOUDSTACK-9831: Previous pod_id still remains in th...

2017-03-31 Thread borisstoyanov
Github user borisstoyanov commented on the issue:

https://github.com/apache/cloudstack/pull/2002
  
@blueorangutan test


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack issue #2014: WIP: Fix primary storage usage for vm snaphot

2017-03-31 Thread blueorangutan
Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/2014
  
@abhinandanprateek a Jenkins job has been kicked to build packages. I'll 
keep you posted as I make progress.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack issue #2014: WIP: Fix primary storage usage for vm snaphot

2017-03-31 Thread abhinandanprateek
Github user abhinandanprateek commented on the issue:

https://github.com/apache/cloudstack/pull/2014
  
@blueorangutan package



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack issue #899: BUG-ID:CLOUDSTACK-8921 snapshot_store_ref table shoul...

2017-03-31 Thread yvsubhash
Github user yvsubhash commented on the issue:

https://github.com/apache/cloudstack/pull/899
  
@SudharmaJain  its taken care


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack issue #921: CLOUDSTACK-8944 Template download possible from new n...

2017-03-31 Thread jayakarteek
Github user jayakarteek commented on the issue:

https://github.com/apache/cloudstack/pull/921
  
unable to reproduce in ACS environment


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack issue #883: CLOUDSTACK-8906: /var/log/cloud/ doesn't get logrotat...

2017-03-31 Thread jayakarteek
Github user jayakarteek commented on the issue:

https://github.com/apache/cloudstack/pull/883
  
Tested the PUll Request.
Logs are rotated as expected in /var/log/cloud folder


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---



[GitHub] cloudstack pull request #2021: CLOUDSTACK-9854: Fix test_primary_storage tes...

2017-03-31 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/cloudstack/pull/2021


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---