[GitHub] [cloudstack-primate] davidjumani opened a new pull request #573: Adding onboarding dashboard

2020-08-10 Thread GitBox


davidjumani opened a new pull request #573:
URL: https://github.com/apache/cloudstack-primate/pull/573


   Fixes #361 
   
   ![Screenshot from 2020-08-10 
12-34-48](https://user-images.githubusercontent.com/8244774/89767035-c4753300-db16-11ea-8f60-797bb0183a68.png)
   ![Screenshot from 2020-08-10 
14-35-52](https://user-images.githubusercontent.com/8244774/89767131-ecfd2d00-db16-11ea-9bcb-0fb8bc55d1d8.png)
   ![Screenshot from 2020-08-10 
14-36-21](https://user-images.githubusercontent.com/8244774/89767133-ee2e5a00-db16-11ea-9547-675bd788d823.png)
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] davidjumani commented on pull request #573: Adding onboarding dashboard

2020-08-10 Thread GitBox


davidjumani commented on pull request #573:
URL: 
https://github.com/apache/cloudstack-primate/pull/573#issuecomment-671260623


   @blueorangutan package



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] blueorangutan commented on pull request #573: Adding onboarding dashboard

2020-08-10 Thread GitBox


blueorangutan commented on pull request #573:
URL: 
https://github.com/apache/cloudstack-primate/pull/573#issuecomment-671264081


   @davidjumani a Jenkins job has been kicked to build primate packages. I'll 
keep you posted as I make progress.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] blueorangutan commented on pull request #573: Adding onboarding dashboard

2020-08-10 Thread GitBox


blueorangutan commented on pull request #573:
URL: 
https://github.com/apache/cloudstack-primate/pull/573#issuecomment-671269093


   Packaging result: :heavy_check_mark:centos :heavy_check_mark:debian 
:heavy_check_mark:archive.
   QA: http://primate-qa.cloudstack.cloud:8080/client/pr/573 (JID-3018)



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] rhtyd commented on pull request #572: Fixing Edit ACL

2020-08-10 Thread GitBox


rhtyd commented on pull request #572:
URL: 
https://github.com/apache/cloudstack-primate/pull/572#issuecomment-671295132


   @gaaray2k can you review/test it (you may use the QA env link ^^) thanks



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] rhtyd commented on pull request #326: Form to Migrate data between Image stores

2020-08-10 Thread GitBox


rhtyd commented on pull request #326:
URL: 
https://github.com/apache/cloudstack-primate/pull/326#issuecomment-671295700


   @davidjumani can you review and advise if we can merge this?



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] rhtyd commented on pull request #548: Add storage policies field for DiskOffering and Primary storage creation Forms

2020-08-10 Thread GitBox


rhtyd commented on pull request #548:
URL: 
https://github.com/apache/cloudstack-primate/pull/548#issuecomment-671295870


   @davidjumani can you review and advise if this is ready for merging?
   @blueorangutan package



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] rhtyd commented on pull request #569: Adding development docs

2020-08-10 Thread GitBox


rhtyd commented on pull request #569:
URL: 
https://github.com/apache/cloudstack-primate/pull/569#issuecomment-671296067


   Hi @spaceman1984 @shwstppr can you review this, thnx



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] blueorangutan commented on pull request #548: Add storage policies field for DiskOffering and Primary storage creation Forms

2020-08-10 Thread GitBox


blueorangutan commented on pull request #548:
URL: 
https://github.com/apache/cloudstack-primate/pull/548#issuecomment-671296739


   @rhtyd a Jenkins job has been kicked to build primate packages. I'll keep 
you posted as I make progress.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] blueorangutan commented on pull request #548: Add storage policies field for DiskOffering and Primary storage creation Forms

2020-08-10 Thread GitBox


blueorangutan commented on pull request #548:
URL: 
https://github.com/apache/cloudstack-primate/pull/548#issuecomment-671296834


   @rhtyd a Jenkins job has been kicked to build primate packages. I'll keep 
you posted as I make progress.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] harikrishna-patnala commented on a change in pull request #548: Add storage policies field for DiskOffering and Primary storage creation Forms

2020-08-10 Thread GitBox


harikrishna-patnala commented on a change in pull request #548:
URL: https://github.com/apache/cloudstack-primate/pull/548#discussion_r465492758



##
File path: src/views/infra/AddPrimaryStorage.vue
##
@@ -475,8 +485,22 @@ export default {
   Object.keys(smbParams).forEach((key, index) => {
 params['details[' + index.toString() + '].' + key] = smbParams[key]
   })
-} else if (values.protocol === 'PreSetup') {
+} else if (values.protocol === 'PreSetup' && values.hypervisor !== 
'VMware') {
   url = this.presetupURL(server, path)
+} else if (values.protocol === 'PreSetup' && values.hypervisor === 
'VMware') {
+  path = values.vCenterDataCenter
+  if (path.substring(0, 1) !== '/') {
+path = '/' + path
+  }
+  path += '/' + values.vCenterDataStore
+  url = this.presetupURL('dummy', path)
+} else if (values.protocol === 'datastorecluster' && values.hypervisor 
=== 'VMware') {
+  path = values.vCenterDataCenter
+  if (path.substring(0, 1) !== '/') {
+path = '/' + path
+  }
+  path += '/' + values.vCenterDataStore
+  url = this.datastoreclusterURL('dummy', path)

Review comment:
   Same here, Please use variable 'server' instead of dummy value.

##
File path: src/views/infra/AddPrimaryStorage.vue
##
@@ -475,8 +485,22 @@ export default {
   Object.keys(smbParams).forEach((key, index) => {
 params['details[' + index.toString() + '].' + key] = smbParams[key]
   })
-} else if (values.protocol === 'PreSetup') {
+} else if (values.protocol === 'PreSetup' && values.hypervisor !== 
'VMware') {
   url = this.presetupURL(server, path)
+} else if (values.protocol === 'PreSetup' && values.hypervisor === 
'VMware') {
+  path = values.vCenterDataCenter
+  if (path.substring(0, 1) !== '/') {
+path = '/' + path
+  }
+  path += '/' + values.vCenterDataStore
+  url = this.presetupURL('dummy', path)

Review comment:
   Please use variable 'server' instead of dummy value. I think this is an 
existing code but let's change it now.





This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] Pearl1594 commented on a change in pull request #548: Add storage policies field for DiskOffering and Primary storage creation Forms

2020-08-10 Thread GitBox


Pearl1594 commented on a change in pull request #548:
URL: https://github.com/apache/cloudstack-primate/pull/548#discussion_r467838257



##
File path: src/views/infra/AddPrimaryStorage.vue
##
@@ -475,8 +485,22 @@ export default {
   Object.keys(smbParams).forEach((key, index) => {
 params['details[' + index.toString() + '].' + key] = smbParams[key]
   })
-} else if (values.protocol === 'PreSetup') {
+} else if (values.protocol === 'PreSetup' && values.hypervisor !== 
'VMware') {
   url = this.presetupURL(server, path)
+} else if (values.protocol === 'PreSetup' && values.hypervisor === 
'VMware') {
+  path = values.vCenterDataCenter
+  if (path.substring(0, 1) !== '/') {
+path = '/' + path
+  }
+  path += '/' + values.vCenterDataStore
+  url = this.presetupURL('dummy', path)
+} else if (values.protocol === 'datastorecluster' && values.hypervisor 
=== 'VMware') {
+  path = values.vCenterDataCenter
+  if (path.substring(0, 1) !== '/') {
+path = '/' + path
+  }
+  path += '/' + values.vCenterDataStore
+  url = this.datastoreclusterURL('dummy', path)

Review comment:
   @harikrishna-patnala I think you looking at an older commit, it's 
already been addressed in: 
https://github.com/apache/cloudstack-primate/pull/548/commits/0e86b9a9595281fad39c81c2cdea055c33229e98





This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] Pearl1594 commented on a change in pull request #548: Add storage policies field for DiskOffering and Primary storage creation Forms

2020-08-10 Thread GitBox


Pearl1594 commented on a change in pull request #548:
URL: https://github.com/apache/cloudstack-primate/pull/548#discussion_r467838331



##
File path: src/views/infra/AddPrimaryStorage.vue
##
@@ -475,8 +485,22 @@ export default {
   Object.keys(smbParams).forEach((key, index) => {
 params['details[' + index.toString() + '].' + key] = smbParams[key]
   })
-} else if (values.protocol === 'PreSetup') {
+} else if (values.protocol === 'PreSetup' && values.hypervisor !== 
'VMware') {
   url = this.presetupURL(server, path)
+} else if (values.protocol === 'PreSetup' && values.hypervisor === 
'VMware') {
+  path = values.vCenterDataCenter
+  if (path.substring(0, 1) !== '/') {
+path = '/' + path
+  }
+  path += '/' + values.vCenterDataStore
+  url = this.presetupURL('dummy', path)

Review comment:
   
   
   @harikrishna-patnala I think you looking at an older commit, it's already 
been addressed in: 0e86b9a
   





This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] harikrishna-patnala commented on a change in pull request #548: Add storage policies field for DiskOffering and Primary storage creation Forms

2020-08-10 Thread GitBox


harikrishna-patnala commented on a change in pull request #548:
URL: https://github.com/apache/cloudstack-primate/pull/548#discussion_r467841338



##
File path: src/views/infra/AddPrimaryStorage.vue
##
@@ -475,8 +485,22 @@ export default {
   Object.keys(smbParams).forEach((key, index) => {
 params['details[' + index.toString() + '].' + key] = smbParams[key]
   })
-} else if (values.protocol === 'PreSetup') {
+} else if (values.protocol === 'PreSetup' && values.hypervisor !== 
'VMware') {
   url = this.presetupURL(server, path)
+} else if (values.protocol === 'PreSetup' && values.hypervisor === 
'VMware') {
+  path = values.vCenterDataCenter
+  if (path.substring(0, 1) !== '/') {
+path = '/' + path
+  }
+  path += '/' + values.vCenterDataStore
+  url = this.presetupURL('dummy', path)

Review comment:
   Yes @Pearl1594, I've checked the recent changes and LGTM





This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] Pearl1594 commented on pull request #548: Add storage policies field for DiskOffering and Primary storage creation Forms

2020-08-10 Thread GitBox


Pearl1594 commented on pull request #548:
URL: 
https://github.com/apache/cloudstack-primate/pull/548#issuecomment-671317577


   @blueorangutan package



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] blueorangutan commented on pull request #548: Add storage policies field for DiskOffering and Primary storage creation Forms

2020-08-10 Thread GitBox


blueorangutan commented on pull request #548:
URL: 
https://github.com/apache/cloudstack-primate/pull/548#issuecomment-671317824


   @Pearl1594 a Jenkins job has been kicked to build primate packages. I'll 
keep you posted as I make progress.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] blueorangutan commented on pull request #548: Add storage policies field for DiskOffering and Primary storage creation Forms

2020-08-10 Thread GitBox


blueorangutan commented on pull request #548:
URL: 
https://github.com/apache/cloudstack-primate/pull/548#issuecomment-671321945


   Packaging result: :heavy_check_mark:centos :heavy_check_mark:debian 
:heavy_check_mark:archive.
   QA: http://primate-qa.cloudstack.cloud:8080/client/pr/548 (JID-3023)



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] davidjumani opened a new pull request #574: Adding metrics cell coloring based on threshold

2020-08-10 Thread GitBox


davidjumani opened a new pull request #574:
URL: https://github.com/apache/cloudstack-primate/pull/574


   ![Screenshot from 2020-08-10 
19-23-42](https://user-images.githubusercontent.com/8244774/89790079-09ad5b00-db3f-11ea-96e2-0d3161b58e48.png)
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] davidjumani commented on pull request #574: Adding metrics cell coloring based on threshold

2020-08-10 Thread GitBox


davidjumani commented on pull request #574:
URL: 
https://github.com/apache/cloudstack-primate/pull/574#issuecomment-671369217


   @blueorangutan package



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] blueorangutan commented on pull request #574: Adding metrics cell coloring based on threshold

2020-08-10 Thread GitBox


blueorangutan commented on pull request #574:
URL: 
https://github.com/apache/cloudstack-primate/pull/574#issuecomment-671369714


   @davidjumani a Jenkins job has been kicked to build primate packages. I'll 
keep you posted as I make progress.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] blueorangutan commented on pull request #574: Adding metrics cell coloring based on threshold

2020-08-10 Thread GitBox


blueorangutan commented on pull request #574:
URL: 
https://github.com/apache/cloudstack-primate/pull/574#issuecomment-671376683


   Packaging result: :heavy_check_mark:centos :heavy_check_mark:debian 
:heavy_check_mark:archive.
   QA: http://primate-qa.cloudstack.cloud:8080/client/pr/574 (JID-3025)



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] davidjumani commented on issue #462: Missing Legacy UI feature and Usability issues

2020-08-10 Thread GitBox


davidjumani commented on issue #462:
URL: 
https://github.com/apache/cloudstack-primate/issues/462#issuecomment-671381084


   #574 : Metrics view cell colouring (red/orange) based on thresholds like 
legacy UI for zone, cluster, hosts etc.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




Unable to ping secondary NIC ip of a VM in VPC

2020-08-10 Thread Rakesh Venkatesh
Hello,

I have created a VPC with three tiers in it (tier1, tier2. tier3) using
cloudstack 4.14.0.0 version with Ubuntu16 as OS for mgt, agent
I created a VM in tier1 and I am able to ping its IP address

# ping 10.10.1.51
PING 10.10.1.51 (10.10.1.51): 56 data bytes
64 bytes from 10.10.1.51: icmp_seq=0 ttl=64 time=2.273 ms
64 bytes from 10.10.1.51: icmp_seq=1 ttl=64 time=1.690 ms
^C--- 10.10.1.51 ping statistics ---


After adding secondary NIC to vm from tier2 or tier3 then I am not able to
ping that IP address.

# ping 10.10.2.23
PING 10.10.2.23 (10.10.2.23): 56 data bytes
92 bytes from 10.10.2.254: Destination Host Unreachable
92 bytes from 10.10.2.254: Destination Host Unreachable
92 bytes from 10.10.2.254: Destination Host Unreachable
92 bytes from 10.10.2.254: Destination Host Unreachable
^C--- 10.10.2.23 ping statistics ---



Dchphost content

# cat /etc/dhcphosts.txt
02:00:72:36:00:01,10.10.2.83,tier12,infinite
02:00:2f:16:00:0c,set:10_10_2_23,10.10.2.23,tier11,infinite
02:00:78:24:00:01,10.10.1.51,tier11,infinite



Dhcpopts content


# cat /etc/dhcpopts.txt
10_10_2_23,3
10_10_2_23,6
10_10_2_23,15


I don't see any errors in /var/log/cloud.log on VR when secondary nic is
added.
Is there any other I can troubleshoot this or look for logs?

-- 
Thanks and regards
Rakesh


Re: Unable to ping secondary NIC ip of a VM in VPC

2020-08-10 Thread Rakesh Venkatesh
Hello Thomas


Thanks for the reply. It looks like the NIC is not configured properly in
VM. I dont see IP 10.10.2.23 being configured

# ip a
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN group
default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
   valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
   valid_lft forever preferred_lft forever
2: eth0:  mtu 1500 qdisc pfifo_fast state
UP group default qlen 1000
link/ether 02:00:78:24:00:01 brd ff:ff:ff:ff:ff:ff
inet 10.10.1.51/24 brd 10.10.1.255 scope global eth0
   valid_lft forever preferred_lft forever
inet6 fe80::78ff:fe24:1/64 scope link
   valid_lft forever preferred_lft forever
3: eth1:  mtu 1500 qdisc noop state DOWN group default
qlen 1000
link/ether 02:00:1f:ed:00:0e brd ff:ff:ff:ff:ff:ff



I removed the secondary NIC, stopped the vm, added secondary NIC and
started the VM. The extra NIC is still not configured in VM.
Is this a bug?

On Mon, Aug 10, 2020 at 4:46 PM Thomas Joseph 
wrote:

> Hello Venkatesh,
>
> I'm guessing from the output provided that you have tried to ping the ip
> from the VR.
> Have you checked if the NIC is up on the VM?
>  you can run tcpdump on the related VM to check if the icmp packets are
> reaching the VM.
>
> Regards
> Thomas
>
> On Mon, 10 Aug 2020, 8:06 pm Rakesh Venkatesh, 
> wrote:
>
> > Hello,
> >
> > I have created a VPC with three tiers in it (tier1, tier2. tier3) using
> > cloudstack 4.14.0.0 version with Ubuntu16 as OS for mgt, agent
> > I created a VM in tier1 and I am able to ping its IP address
> >
> > # ping 10.10.1.51
> > PING 10.10.1.51 (10.10.1.51): 56 data bytes
> > 64 bytes from 10.10.1.51: icmp_seq=0 ttl=64 time=2.273 ms
> > 64 bytes from 10.10.1.51: icmp_seq=1 ttl=64 time=1.690 ms
> > ^C--- 10.10.1.51 ping statistics ---
> >
> >
> > After adding secondary NIC to vm from tier2 or tier3 then I am not able
> to
> > ping that IP address.
> >
> > # ping 10.10.2.23
> > PING 10.10.2.23 (10.10.2.23): 56 data bytes
> > 92 bytes from 10.10.2.254: Destination Host Unreachable
> > 92 bytes from 10.10.2.254: Destination Host Unreachable
> > 92 bytes from 10.10.2.254: Destination Host Unreachable
> > 92 bytes from 10.10.2.254: Destination Host Unreachable
> > ^C--- 10.10.2.23 ping statistics ---
> >
> >
> >
> > Dchphost content
> >
> > # cat /etc/dhcphosts.txt
> > 02:00:72:36:00:01,10.10.2.83,tier12,infinite
> > 02:00:2f:16:00:0c,set:10_10_2_23,10.10.2.23,tier11,infinite
> > 02:00:78:24:00:01,10.10.1.51,tier11,infinite
> >
> >
> >
> > Dhcpopts content
> >
> >
> > # cat /etc/dhcpopts.txt
> > 10_10_2_23,3
> > 10_10_2_23,6
> > 10_10_2_23,15
> >
> >
> > I don't see any errors in /var/log/cloud.log on VR when secondary nic is
> > added.
> > Is there any other I can troubleshoot this or look for logs?
> >
> > --
> > Thanks and regards
> > Rakesh
> >
>


-- 
Thanks and regards
Rakesh venkatesh


Re: Unable to ping secondary NIC ip of a VM in VPC

2020-08-10 Thread Thomas Joseph
Hello Venkatesh,

I'm guessing from the output provided that you have tried to ping the ip
from the VR.
Have you checked if the NIC is up on the VM?
 you can run tcpdump on the related VM to check if the icmp packets are
reaching the VM.

Regards
Thomas

On Mon, 10 Aug 2020, 8:06 pm Rakesh Venkatesh, 
wrote:

> Hello,
>
> I have created a VPC with three tiers in it (tier1, tier2. tier3) using
> cloudstack 4.14.0.0 version with Ubuntu16 as OS for mgt, agent
> I created a VM in tier1 and I am able to ping its IP address
>
> # ping 10.10.1.51
> PING 10.10.1.51 (10.10.1.51): 56 data bytes
> 64 bytes from 10.10.1.51: icmp_seq=0 ttl=64 time=2.273 ms
> 64 bytes from 10.10.1.51: icmp_seq=1 ttl=64 time=1.690 ms
> ^C--- 10.10.1.51 ping statistics ---
>
>
> After adding secondary NIC to vm from tier2 or tier3 then I am not able to
> ping that IP address.
>
> # ping 10.10.2.23
> PING 10.10.2.23 (10.10.2.23): 56 data bytes
> 92 bytes from 10.10.2.254: Destination Host Unreachable
> 92 bytes from 10.10.2.254: Destination Host Unreachable
> 92 bytes from 10.10.2.254: Destination Host Unreachable
> 92 bytes from 10.10.2.254: Destination Host Unreachable
> ^C--- 10.10.2.23 ping statistics ---
>
>
>
> Dchphost content
>
> # cat /etc/dhcphosts.txt
> 02:00:72:36:00:01,10.10.2.83,tier12,infinite
> 02:00:2f:16:00:0c,set:10_10_2_23,10.10.2.23,tier11,infinite
> 02:00:78:24:00:01,10.10.1.51,tier11,infinite
>
>
>
> Dhcpopts content
>
>
> # cat /etc/dhcpopts.txt
> 10_10_2_23,3
> 10_10_2_23,6
> 10_10_2_23,15
>
>
> I don't see any errors in /var/log/cloud.log on VR when secondary nic is
> added.
> Is there any other I can troubleshoot this or look for logs?
>
> --
> Thanks and regards
> Rakesh
>


Re: Unable to ping secondary NIC ip of a VM in VPC

2020-08-10 Thread Wei ZHOU
Hi Rakesh,

It is not a bug. you need to configure the networks inside vm. for example
/etc/network/interfaces in old ubuntu versions or /etc/netplan in newer
ubuntu versions.

-Wei

On Monday, 10 August 2020, Rakesh Venkatesh 
wrote:

> Hello Thomas
>
>
> Thanks for the reply. It looks like the NIC is not configured properly in
> VM. I dont see IP 10.10.2.23 being configured
>
> # ip a
> 1: lo:  mtu 65536 qdisc noqueue state UNKNOWN group
> default qlen 1
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 scope host lo
>valid_lft forever preferred_lft forever
> inet6 ::1/128 scope host
>valid_lft forever preferred_lft forever
> 2: eth0:  mtu 1500 qdisc pfifo_fast state
> UP group default qlen 1000
> link/ether 02:00:78:24:00:01 brd ff:ff:ff:ff:ff:ff
> inet 10.10.1.51/24 brd 10.10.1.255 scope global eth0
>valid_lft forever preferred_lft forever
> inet6 fe80::78ff:fe24:1/64 scope link
>valid_lft forever preferred_lft forever
> 3: eth1:  mtu 1500 qdisc noop state DOWN group default
> qlen 1000
> link/ether 02:00:1f:ed:00:0e brd ff:ff:ff:ff:ff:ff
>
>
>
> I removed the secondary NIC, stopped the vm, added secondary NIC and
> started the VM. The extra NIC is still not configured in VM.
> Is this a bug?
>
> On Mon, Aug 10, 2020 at 4:46 PM Thomas Joseph 
> wrote:
>
> > Hello Venkatesh,
> >
> > I'm guessing from the output provided that you have tried to ping the ip
> > from the VR.
> > Have you checked if the NIC is up on the VM?
> >  you can run tcpdump on the related VM to check if the icmp packets are
> > reaching the VM.
> >
> > Regards
> > Thomas
> >
> > On Mon, 10 Aug 2020, 8:06 pm Rakesh Venkatesh, <
> www.rakeshv@gmail.com>
> > wrote:
> >
> > > Hello,
> > >
> > > I have created a VPC with three tiers in it (tier1, tier2. tier3) using
> > > cloudstack 4.14.0.0 version with Ubuntu16 as OS for mgt, agent
> > > I created a VM in tier1 and I am able to ping its IP address
> > >
> > > # ping 10.10.1.51
> > > PING 10.10.1.51 (10.10.1.51): 56 data bytes
> > > 64 bytes from 10.10.1.51: icmp_seq=0 ttl=64 time=2.273 ms
> > > 64 bytes from 10.10.1.51: icmp_seq=1 ttl=64 time=1.690 ms
> > > ^C--- 10.10.1.51 ping statistics ---
> > >
> > >
> > > After adding secondary NIC to vm from tier2 or tier3 then I am not able
> > to
> > > ping that IP address.
> > >
> > > # ping 10.10.2.23
> > > PING 10.10.2.23 (10.10.2.23): 56 data bytes
> > > 92 bytes from 10.10.2.254: Destination Host Unreachable
> > > 92 bytes from 10.10.2.254: Destination Host Unreachable
> > > 92 bytes from 10.10.2.254: Destination Host Unreachable
> > > 92 bytes from 10.10.2.254: Destination Host Unreachable
> > > ^C--- 10.10.2.23 ping statistics ---
> > >
> > >
> > >
> > > Dchphost content
> > >
> > > # cat /etc/dhcphosts.txt
> > > 02:00:72:36:00:01,10.10.2.83,tier12,infinite
> > > 02:00:2f:16:00:0c,set:10_10_2_23,10.10.2.23,tier11,infinite
> > > 02:00:78:24:00:01,10.10.1.51,tier11,infinite
> > >
> > >
> > >
> > > Dhcpopts content
> > >
> > >
> > > # cat /etc/dhcpopts.txt
> > > 10_10_2_23,3
> > > 10_10_2_23,6
> > > 10_10_2_23,15
> > >
> > >
> > > I don't see any errors in /var/log/cloud.log on VR when secondary nic
> is
> > > added.
> > > Is there any other I can troubleshoot this or look for logs?
> > >
> > > --
> > > Thanks and regards
> > > Rakesh
> > >
> >
>
>
> --
> Thanks and regards
> Rakesh venkatesh
>


Re: [PROPOSAL] boot from network template on XenServer

2020-08-10 Thread Pierre-Luc Dion
Hi Rohit,

It is actually not quite the same.  the boot from network we are working on
is for a use case where the boot volume is on a streaming server basically,
so we need instance to boot from network to load the OS from that streaming
server basically. The template that would be created in CloudStack would
just refer to which FILENAME on the TFTP server would be used to boot. the
TFTP server IP would be defined at the VPC level.


the feature you describe for KVM is basically a way to register a regular
full template but send it directly to the PrimaryStorage instead of having
it in the Secondary Storage first, correct ?

Cheers,

On Sun, Aug 9, 2020 at 11:33 AM Rohit Yadav 
wrote:

> Hi PL,
>
> Good to hear from you!
>
> If you've a use-case where templates are created/hosted separately and may
> change often, could your use-case work by extending the direct-download
> feature for XenServer?
> Here are some links for the KVM support:
>
>
> http://docs.cloudstack.apache.org/en/latest/adminguide/templates.html#bypassing-secondary-storage-for-kvm-templates
>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Bypass+Secondary+Storage+%28Direct+Download%29+on+KVM
>
> https://www.shapeblue.com/cloudstack-feature-first-look-direct-download-agnostic-of-the-storage-provider/
>
>
>
> Regards.
>
> 
> From: Pierre-Luc Dion 
> Sent: Saturday, August 8, 2020 20:06
> To: dev@cloudstack.apache.org ; Serge Nassar <
> snas...@cloud.ca>; Siddhartha Kattoju 
> Subject: [PROPOSAL] boot from network template on XenServer
>
> Hi guys, it's been a while!
>
> I'd like to know what would be the path to follow within the community to
> submit a feature into cloudstack, but also to review our proposal on
> offering a template that boots from the network.
>
> Basic idea, is that there is some workload, specially for XenDesktop where
> desktop images are hosted on a PVS server, to ease support of that workload
> in cloudstack, it kind of make sense that a Instance would boot from the
> network and load is root volume image from the PVS server. So what we
> recently tried in a VPC model, is to add a configuration at the VPC level
> to define the IP address of a TFTP server so the DHCP of the VR push the
> next_server ip defined in the VPC config, then we create a template where
> the URL is to boot file path on the tftp server that can reside outside of
> a vpc. At the VM creation using this template, the boot order of the
> instance on XenServer is to boot from the network and the root volume
> created is an empty volume that can be used as ephemeral or storage for
> caching.
>
> Cheers,
>
> rohit.ya...@shapeblue.com
> www.shapeblue.com
> 3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
> @shapeblue
>
>
>
>


[GitHub] [cloudstack-primate] davidjumani opened a new pull request #575: Adding Account Switcher for SAML Accounts

2020-08-10 Thread GitBox


davidjumani opened a new pull request #575:
URL: https://github.com/apache/cloudstack-primate/pull/575


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] davidjumani commented on pull request #575: Adding Account Switcher for SAML Accounts

2020-08-10 Thread GitBox


davidjumani commented on pull request #575:
URL: 
https://github.com/apache/cloudstack-primate/pull/575#issuecomment-671712021


   @blueorangutan package



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] blueorangutan commented on pull request #575: Adding Account Switcher for SAML Accounts

2020-08-10 Thread GitBox


blueorangutan commented on pull request #575:
URL: 
https://github.com/apache/cloudstack-primate/pull/575#issuecomment-671712115


   @davidjumani a Jenkins job has been kicked to build primate packages. I'll 
keep you posted as I make progress.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] blueorangutan commented on pull request #575: Adding Account Switcher for SAML Accounts

2020-08-10 Thread GitBox


blueorangutan commented on pull request #575:
URL: 
https://github.com/apache/cloudstack-primate/pull/575#issuecomment-671715022


   Packaging result: :heavy_check_mark:centos :heavy_check_mark:debian 
:heavy_check_mark:archive.
   QA: http://primate-qa.cloudstack.cloud:8080/client/pr/575 (JID-3041)



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] davidjumani commented on pull request #575: Adding Account Switcher for SAML Accounts

2020-08-10 Thread GitBox


davidjumani commented on pull request #575:
URL: 
https://github.com/apache/cloudstack-primate/pull/575#issuecomment-671716934


   @blueorangutan package



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] blueorangutan commented on pull request #575: Adding Account Switcher for SAML Accounts

2020-08-10 Thread GitBox


blueorangutan commented on pull request #575:
URL: 
https://github.com/apache/cloudstack-primate/pull/575#issuecomment-671717222


   @davidjumani a Jenkins job has been kicked to build primate packages. I'll 
keep you posted as I make progress.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-documentation] Pearl1594 opened a new pull request #145: Modified project details - role based users in projects

2020-08-10 Thread GitBox


Pearl1594 opened a new pull request #145:
URL: https://github.com/apache/cloudstack-documentation/pull/145


   Added details with respect to support for:
   - multiple project admins
   - project roles to restrict users from performing operations at project level



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-documentation] ACSGitBot commented on pull request #145: Modified project details - role based users in projects

2020-08-10 Thread GitBox


ACSGitBot commented on pull request #145:
URL: 
https://github.com/apache/cloudstack-documentation/pull/145#issuecomment-671719058


   Your request had been received, i'll go and build the documentation and 
check the output log for errors.
   
   This shouldn't take long.
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-documentation] Pearl1594 commented on pull request #145: Modified project details - role based users in projects

2020-08-10 Thread GitBox


Pearl1594 commented on pull request #145:
URL: 
https://github.com/apache/cloudstack-documentation/pull/145#issuecomment-671719034


   requesting docbuild



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-documentation] ACSGitBot commented on pull request #145: Modified project details - role based users in projects

2020-08-10 Thread GitBox


ACSGitBot commented on pull request #145:
URL: 
https://github.com/apache/cloudstack-documentation/pull/145#issuecomment-671719655


   Build finished.  You can review it at:   
https://acs-www.shapeblue.com/docs/WIP-PROOFING/pr145
   
   Build Log Output:
   
   
   No log errors found to report.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] blueorangutan commented on pull request #575: Adding Account Switcher for SAML Accounts

2020-08-10 Thread GitBox


blueorangutan commented on pull request #575:
URL: 
https://github.com/apache/cloudstack-primate/pull/575#issuecomment-671720808


   Packaging result: :heavy_check_mark:centos :heavy_check_mark:debian 
:heavy_check_mark:archive.
   QA: http://primate-qa.cloudstack.cloud:8080/client/pr/575 (JID-3043)



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-documentation] ACSGitBot commented on pull request #145: Modified project details - role based users in projects

2020-08-10 Thread GitBox


ACSGitBot commented on pull request #145:
URL: 
https://github.com/apache/cloudstack-documentation/pull/145#issuecomment-671723961


   Your request had been received, i'll go and build the documentation and 
check the output log for errors.
   
   This shouldn't take long.
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-documentation] Pearl1594 commented on pull request #145: Modified project details - role based users in projects

2020-08-10 Thread GitBox


Pearl1594 commented on pull request #145:
URL: 
https://github.com/apache/cloudstack-documentation/pull/145#issuecomment-671723950


   requesting docbuild



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-documentation] ACSGitBot commented on pull request #145: Modified project details - role based users in projects

2020-08-10 Thread GitBox


ACSGitBot commented on pull request #145:
URL: 
https://github.com/apache/cloudstack-documentation/pull/145#issuecomment-671724607


   Build finished.  You can review it at:   
https://acs-www.shapeblue.com/docs/WIP-PROOFING/pr145
   
   Build Log Output:
   
   
   No log errors found to report.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] blueorangutan commented on pull request #575: Adding Account Switcher for SAML Accounts

2020-08-10 Thread GitBox


blueorangutan commented on pull request #575:
URL: 
https://github.com/apache/cloudstack-primate/pull/575#issuecomment-671727630


   Packaging result: :heavy_check_mark:centos :heavy_check_mark:debian 
:heavy_check_mark:archive.
   QA: http://primate-qa.cloudstack.cloud:8080/client/pr/575 (JID-3044)



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-documentation] Pearl1594 commented on pull request #145: Modified project details - role based users in projects

2020-08-10 Thread GitBox


Pearl1594 commented on pull request #145:
URL: 
https://github.com/apache/cloudstack-documentation/pull/145#issuecomment-671731189


   requesting docbuild



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-documentation] ACSGitBot commented on pull request #145: Modified project details - role based users in projects

2020-08-10 Thread GitBox


ACSGitBot commented on pull request #145:
URL: 
https://github.com/apache/cloudstack-documentation/pull/145#issuecomment-671731221


   Your request had been received, i'll go and build the documentation and 
check the output log for errors.
   
   This shouldn't take long.
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-documentation] ACSGitBot commented on pull request #145: Modified project details - role based users in projects

2020-08-10 Thread GitBox


ACSGitBot commented on pull request #145:
URL: 
https://github.com/apache/cloudstack-documentation/pull/145#issuecomment-671731988


   Build finished.  You can review it at:   
https://acs-www.shapeblue.com/docs/WIP-PROOFING/pr145
   
   Build Log Output:
   
   
   No log errors found to report.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] blueorangutan commented on pull request #575: Adding Account Switcher for SAML Accounts

2020-08-10 Thread GitBox


blueorangutan commented on pull request #575:
URL: 
https://github.com/apache/cloudstack-primate/pull/575#issuecomment-671749493


   Packaging result: :heavy_check_mark:centos :heavy_check_mark:debian 
:heavy_check_mark:archive.
   QA: http://primate-qa.cloudstack.cloud:8080/client/pr/575 (JID-3047)



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] blueorangutan commented on pull request #575: Adding Account Switcher for SAML Accounts

2020-08-10 Thread GitBox


blueorangutan commented on pull request #575:
URL: 
https://github.com/apache/cloudstack-primate/pull/575#issuecomment-671759726


   Packaging result: :heavy_check_mark:centos :heavy_check_mark:debian 
:heavy_check_mark:archive.
   QA: http://primate-qa.cloudstack.cloud:8080/client/pr/575 (JID-3049)



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-primate] davidjumani edited a comment on issue #462: Missing Legacy UI feature and Usability issues

2020-08-10 Thread GitBox


davidjumani edited a comment on issue #462:
URL: 
https://github.com/apache/cloudstack-primate/issues/462#issuecomment-671381084


   #574 : Metrics view cell colouring (red/orange) based on thresholds like 
legacy UI for zone, cluster, hosts etc.
   #575: SAML: List and switch accounts for saml authorised accounts/domain for 
a logged in SAML user



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org