Re: error during install: subnet id does not exist

2016-11-18 Thread Alex Wauck
Upon re-reading that page, I see that it does, in fact, only ask for subnet
ID.  I could have sworn there were more VPC related environment variables.
Well, I'm afraid I can't help you; that error message makes no sense to
me.  The only thing I can think of is that maybe you have multiple AWS
accounts and are using the wrong one by mistake.

I wish I could be more helpful, but that's all I've got.

On Thu, Nov 17, 2016 at 6:40 PM, Ravi  wrote:

>
> It only asks for VPC Subnet id. I have set that and that is giving
> trouble. No place to put VPC id itself.
>
>
> On 11/17/2016 1:06 PM, Alex Wauck wrote:
>
>>
>> On Thu, Nov 17, 2016 at 2:52 PM, Ravi Kapoor > > wrote:
>>
>> The instructions do not ask for availability zone or VPC. They only
>> ask for a subnet and I have specified that.
>> Maybe it is picking some other VPC where the subnet is not available.
>>
>>
>> Have you read this?
>>  https://github.com/openshift/openshift-ansible/blob/master/README_AWS.md
>>
>> According to that document, you are supposed to specify a whole bunch of
>> stuff in environment variables, including the VPC.  I've never tried it
>> myself, so I'm not sure how well it works.
>>
>
>


-- 

Alex Wauck // DevOps Engineer

*E X O S I T E*
*www.exosite.com *

Making Machines More Human.
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: error during install: subnet id does not exist

2016-11-17 Thread Ravi


It only asks for VPC Subnet id. I have set that and that is giving 
trouble. No place to put VPC id itself.



On 11/17/2016 1:06 PM, Alex Wauck wrote:


On Thu, Nov 17, 2016 at 2:52 PM, Ravi Kapoor mailto:ravikapoor...@gmail.com>> wrote:

The instructions do not ask for availability zone or VPC. They only
ask for a subnet and I have specified that.
Maybe it is picking some other VPC where the subnet is not available.


Have you read this?
 https://github.com/openshift/openshift-ansible/blob/master/README_AWS.md

According to that document, you are supposed to specify a whole bunch of
stuff in environment variables, including the VPC.  I've never tried it
myself, so I'm not sure how well it works.


___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: error during install: subnet id does not exist

2016-11-17 Thread Alex Wauck
On Thu, Nov 17, 2016 at 2:52 PM, Ravi Kapoor 
wrote:

> The instructions do not ask for availability zone or VPC. They only ask
> for a subnet and I have specified that.
> Maybe it is picking some other VPC where the subnet is not available.
>

Have you read this?
https://github.com/openshift/openshift-ansible/blob/master/README_AWS.md

According to that document, you are supposed to specify a whole bunch of
stuff in environment variables, including the VPC.  I've never tried it
myself, so I'm not sure how well it works.
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: error during install: subnet id does not exist

2016-11-17 Thread Ravi Kapoor
> Are you using openshift-ansible's AWS support to create EC2 instances for
you? We create our instances by other means and then run openshift-ansible
on them using the BYO playbooks,
I am not opposed to it, just that I am a beginner, trying to get something
up and running. I can create instances manually and run ansible on it, but
not able to find instructions.
Openshift's "advanced install" instructions are way too advanced.

I have a single node openshift working, but to add a node, instructions
only point to ansible (oadm does not have a command). So I am thinking
fastest way to a working cluster (with add node possibilities) is to use
ansible, hence this path.

> Do you have the availability zone or VPC set in your inventory file?  If
so, does it match the subnet you specified?
The instructions do not ask for availability zone or VPC. They only ask for
a subnet and I have specified that.
Maybe it is picking some other VPC where the subnet is not available.





On Thu, Nov 17, 2016 at 11:19 AM, Alex Wauck  wrote:

>
>
> On Thu, Nov 17, 2016 at 12:09 PM, Ravi Kapoor 
> wrote:
>
> Question1: Is this best way to install? So far I have been using "oc
>> cluster up" while it works it crashes once in a while (at least UI crashes,
>> so I am forced to restart it which kills all pods)
>>
>
> We used openshift-ansible to install our OpenShift cluster, and we fairly
> regularly use it to create temporary clusters for testing purposes.  I
> would consider it the best way to install.
>
>
>> Question2:
>> After I did all the configurations, my install still fails with following
>> error:
>>
>> exception occurred during task execution. To see the full traceback, use
>> -vvv. The error was: > >InvalidSubnetID.NotFoundThe subnet ID 'subnet-c7372dfd'
>> does not exist2b4d4256-7204-
>> 4ced-9af3-318d86a759f0
>>
>
> Are you using openshift-ansible's AWS support to create EC2 instances for
> you?  We create our instances by other means and then run openshift-ansible
> on them using the BYO playbooks, so I'm not familiar with
> openshift-ansible's AWS support.  Do you have the availability zone or VPC
> set in your inventory file?  If so, does it match the subnet you specified?
>
>
>
> --
>
> Alex Wauck // DevOps Engineer
>
> *E X O S I T E*
> *www.exosite.com *
>
> Making Machines More Human.
>
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: error during install: subnet id does not exist

2016-11-17 Thread Alex Wauck
On Thu, Nov 17, 2016 at 12:09 PM, Ravi Kapoor 
wrote:

Question1: Is this best way to install? So far I have been using "oc
> cluster up" while it works it crashes once in a while (at least UI crashes,
> so I am forced to restart it which kills all pods)
>

We used openshift-ansible to install our OpenShift cluster, and we fairly
regularly use it to create temporary clusters for testing purposes.  I
would consider it the best way to install.


> Question2:
> After I did all the configurations, my install still fails with following
> error:
>
> exception occurred during task execution. To see the full traceback, use
> -vvv. The error was: <
> Code>InvalidSubnetID.NotFoundThe subnet ID
> 'subnet-c7372dfd' does not exist Errors>2b4d4256-7204-4ced-9af3-318d86a759f0 RequestID>
>

Are you using openshift-ansible's AWS support to create EC2 instances for
you?  We create our instances by other means and then run openshift-ansible
on them using the BYO playbooks, so I'm not familiar with
openshift-ansible's AWS support.  Do you have the availability zone or VPC
set in your inventory file?  If so, does it match the subnet you specified?



-- 

Alex Wauck // DevOps Engineer

*E X O S I T E*
*www.exosite.com *

Making Machines More Human.
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


error during install: subnet id does not exist

2016-11-17 Thread Ravi Kapoor
I am trying to install openshift using instructions at
https://github.com/openshift/openshift-ansible
Question1: Is this best way to install? So far I have been using "oc
cluster up" while it works it crashes once in a while (at least UI crashes,
so I am forced to restart it which kills all pods)


Question2:
After I did all the configurations, my install still fails with following
error:

exception occurred during task execution. To see the full traceback, use
-vvv. The error was:
InvalidSubnetID.NotFoundThe
subnet ID 'subnet-c7372dfd' does not
exist2b4d4256-7204-4ced-9af3-318d86a759f0


The subnet id is correct, here is a screenshot.
[image: Inline image 1]

Thanks for any help.
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users