Wednesday, 2019-03-27

NobodyCamanyone ever see a minion node change it internal ip when adding a port00:21
NobodyCamI added a Ip tp the minion and the internal ip changed00:22
flwangso you mean adding a port to an existing node which caused the minion ip changed?00:40
NobodyCamyes00:42
NobodyCamcan I give more then one external network on cluster template create?00:44
NobodyCamnever mind I don't think you can have more then one floating ip00:52
flwangno, you can't00:53
flwangk8s will always poll your network from openstack to reflect the latest network status00:53
flwangso i'm not surprise that your internal ip changed TBH00:53
NobodyCamcan I pin to the real internal ip?00:54
NobodyCamthe networks I added are listed as external the real internal is not00:58
*** ricolin has joined #openstack-containers01:00
flwangNobodyCam: i'm not sure, i never try that01:39
*** rcernin has quit IRC01:49
*** rcernin has joined #openstack-containers01:53
*** hongbin has joined #openstack-containers01:54
*** ianychoi has quit IRC02:03
*** ianychoi has joined #openstack-containers02:03
openstackgerritFeilong Wang proposed openstack/magnum master: [fedora_atomic] Support auto healing for k8s  https://review.openstack.org/63137802:23
*** ykarel|away has joined #openstack-containers02:52
jakeyipanybody using mesos? https://lists.apache.org/thread.html/b162dd624dc088cd634292f0402282a1d1d0ce853baeae8205bc033c@%3Cdev.mesos.apache.org%3E03:05
*** hongbin has quit IRC03:06
*** ramishra has joined #openstack-containers03:07
*** ykarel|away has quit IRC03:32
*** ykarel|away has joined #openstack-containers03:46
*** udesale has joined #openstack-containers03:46
*** ykarel|away is now known as ykarel03:57
*** udesale has quit IRC04:44
*** udesale has joined #openstack-containers04:46
*** janki has joined #openstack-containers04:50
*** ramishra_ has joined #openstack-containers06:41
*** ramishra has quit IRC06:41
*** ramishra_ has quit IRC06:53
*** ramishra has joined #openstack-containers06:55
*** alisanhaji has quit IRC07:27
*** ykarel is now known as ykarel|lunch07:29
*** ivve has joined #openstack-containers07:47
*** ykarel|lunch is now known as ykarel08:25
openstackgerritOpenStack Proposal Bot proposed openstack/magnum-ui master: Imported Translations from Zanata  https://review.openstack.org/64803408:30
openstackgerritOpenStack Proposal Bot proposed openstack/magnum-ui stable/rocky: Imported Translations from Zanata  https://review.openstack.org/64803508:31
*** ricolin has quit IRC08:40
*** alisanhaji has joined #openstack-containers08:48
*** pcaruana has joined #openstack-containers08:57
*** ttsiouts has joined #openstack-containers09:00
*** ramishra_ has joined #openstack-containers09:04
*** ramishra has quit IRC09:04
*** ramishra_ has quit IRC09:10
*** ttsiouts has quit IRC09:10
*** ttsiouts has joined #openstack-containers09:13
*** ramishra has joined #openstack-containers09:14
*** ricolin has joined #openstack-containers10:33
*** rcernin has quit IRC10:51
*** ricolin has quit IRC10:52
*** ramishra has quit IRC10:56
*** ramishra has joined #openstack-containers10:59
*** ricolin has joined #openstack-containers11:40
openstackgerritMerged openstack/magnum-ui stable/rocky: Imported Translations from Zanata  https://review.openstack.org/64803511:47
openstackgerritMerged openstack/magnum-ui master: Imported Translations from Zanata  https://review.openstack.org/64803411:47
*** goldyfruit has quit IRC12:23
*** pcaruana has quit IRC12:39
*** pcaruana has joined #openstack-containers12:42
*** pcaruana has quit IRC12:42
*** pcaruana has joined #openstack-containers12:43
*** udesale has quit IRC12:48
*** udesale has joined #openstack-containers12:49
*** itlinux has quit IRC12:57
*** ricolin_phone has joined #openstack-containers13:02
*** ricolin_phone has quit IRC13:04
*** ricolin_phone has joined #openstack-containers13:06
*** ricolin_phone_ has joined #openstack-containers13:07
brtknrttsiouts: ng list and show working perfectly :)13:09
ttsioutsbrtknr: Awesome news!!!13:09
*** jhesketh has quit IRC13:10
*** ricolin_phone_ has quit IRC13:10
*** goldyfruit has joined #openstack-containers13:10
ttsioutsbrtknr: do you have any suggestions on the show output?13:11
*** ricolin_phone has quit IRC13:12
ttsioutsbrtknr: i mean add/remove nodegroup fields to/from the output13:12
brtknrttsiouts: what is the significance of the default nodegroup?13:13
brtknrttsiouts: are those non deletable?13:13
ttsioutsbrtknr: default NGs are the ones created with the cluster13:14
brtknrttsiouts: Can those be deleted or not?13:15
ttsioutsbrtknr: this is the intention, to not allow their deletion13:15
brtknrttsiouts: ah okay...13:15
brtknrmaybe they should be marked clearly?13:15
ttsioutsbrtknr: thoughts on this?13:15
brtknror they have a reserved role names13:16
ttsioutsbrtknr: hmmm13:17
ttsioutsbrtknr: for now their names come from <cluster_name>+<role>13:17
ttsioutsbrtknr: I don't know if this is enough13:18
ttsioutsbrtknr: on the other hand, API will throw errors if the user tries to delete them13:18
brtknrttsiouts: perhaps the roles do not need to be visible then... thats reduntant information during list13:18
brtknrare roles unique?13:18
ttsioutsbrtknr: nope13:19
brtknror can multiple NG have the same role?13:19
brtknroh okay13:19
*** mrodriguez has joined #openstack-containers13:19
ttsioutsbrtknr: well for now master role will be reserved for master NGs13:19
brtknrit me, it makes sense to have unique role names13:19
brtknrit me, it makes sense to have unique role names *per cluster13:20
ttsioutsbrtknr: hmmm13:20
brtknrcan there be more role names than master and worker?13:20
*** ricolin_phone has joined #openstack-containers13:20
ttsioutsit's a string field13:20
brtknrokay...13:20
ttsioutscould be anything13:20
ttsioutsthis is because we did not want to limit what the user can choose13:21
brtknri am just trying to figure out what functional purpose it serves over than using the name13:21
*** ricolin_phone has quit IRC13:21
ttsioutsbrtknr: for now there is a constraint in the DB to have unique NG names per cluster13:22
brtknrttsiouts: so that will indirectly enforce unique role per NG13:23
brtknrttsiouts: the way things are...13:23
ttsioutsbrtknr: the <cluster_name>+<role> convention applies to the default NGs13:24
ttsioutsbrtknr: when adding new NGs the user should be able to specify the name he wants13:25
brtknrhmm13:25
brtknri am not sure if we need both role and name for nodegroup...13:25
ttsioutsbrtknr: I think we do13:26
ttsioutslet's say that the user has two NGs with the same role but in different availability zones for HA13:26
brtknrttsiouts: hmm13:27
brtknrttsiouts: i see your point13:28
ttsioutsbrtknr: this way we have the name so that the user can distinguish between the NGs with the same role13:28
brtknrttsiouts: i think the default names can just be the role name in that case13:29
brtknrfor master and worker13:29
ttsioutsbrtknr: yeah.. I see your point13:30
ttsioutsDo you want to drop a comment in gerrit? So the other reviewers can share their thoughts on this?13:31
brtknrI just tried to create a NG :D sadly it failed :( but still exciting! created a DB entry :)13:31
ttsioutsbrtknr: yeah the driver throws a NotImplemented still13:33
brtknrttsiouts: would be cool to list nodegroup by role too...13:34
brtknrdo you think thats easily doable?13:34
ttsioutsbrtknr: yes13:34
brtknras in `openstack coe nodegroup list k8s --role worker13:34
brtknr`13:34
ttsioutsthe DB api already supports role as filter13:34
brtknrttsiouts: nice13:34
ttsioutsbrtknr: I can add it13:35
ttsioutsbrtknr: again thanks for your effort and your great suggestions!!13:35
brtknrttsiouts: my pleasure!13:36
brtknralso, can we make CLI invocation `nodegroup` instead of `node-group`? its easier to write :) also easier to change it now than later13:37
brtknrafter everyone gets used to it13:37
ttsioutsbrtknr: sure13:44
brtknrttsiouts: btw, if i create a NG without specifying a role, the default value is `minion`13:47
brtknrwhereas for the default worker, the role is `worker`13:47
ttsioutsbrtknr: it's hardcoded in the API controller but it will change13:49
ttsioutsbrtknr: https://review.openstack.org/#/c/647792/1/magnum/api/controllers/v1/nodegroup.py L24013:49
*** ykarel is now known as ykarel|away13:52
*** hongbin has joined #openstack-containers13:56
*** ykarel|away has quit IRC13:59
goldyfruito/14:20
*** itlinux has joined #openstack-containers14:27
*** janki has quit IRC14:41
*** munimeha1 has joined #openstack-containers14:45
*** alisanhaji has quit IRC14:51
*** ykarel|away has joined #openstack-containers14:53
*** ykarel|away is now known as ykarel14:58
*** udesale has quit IRC15:35
*** alisanhaji has joined #openstack-containers15:39
dioguerrashould i also make a MR for stable/stein of https://review.openstack.org/#/c/645632/?15:50
dioguerrahttps://review.openstack.org/#/c/645632/15:50
*** ykarel is now known as ykarel|away16:16
openstackgerritTheodoros Tsioutsias proposed openstack/magnum master: APIs for listing and showing nodegroups  https://review.openstack.org/60482416:26
openstackgerritTheodoros Tsioutsias proposed openstack/magnum master: [WIP] APIs for nodegroup CRUD operations  https://review.openstack.org/64779216:26
openstackgerritTheodoros Tsioutsias proposed openstack/python-magnumclient master: Add nodegroup list/show commands  https://review.openstack.org/64207716:28
openstackgerritTheodoros Tsioutsias proposed openstack/python-magnumclient master: Add nodegroup CRUD commands  https://review.openstack.org/64779316:28
NobodyCamGood Morning Folks16:28
ttsioutsbrtknr: ^ changed node=group to nodegroup and added list by role16:28
ttsioutsbrtknr: s/node=group/node-group16:29
brtknrttsiouts: I just saw :) thank you for your hard work... also saw list by roles :)16:31
ttsioutsbrtknr: :)16:32
NobodyCamanyone happen to know where k8's would get the external network ID for things like creating a load balancer? looks like its selecting a incorrect network for me.16:32
NobodyCamnetwork from load balancer service: FloatingNetworkID:130c6451-5f71-44f5-86f9-68fb44f1f01e / network in template external_network_id   | b2b181e9-4cab-434f-84f7-54fef0b7048316:33
brtknrNobodyCam: thats strange...16:33
brtknrNobodyCam: is that the subnet ID?16:34
brtknrNobodyCam: for the floating network?16:34
*** ttsiouts has quit IRC16:34
*** ttsiouts has joined #openstack-containers16:35
NobodyCamwhich one? the template id is a external network ID the FloatingIPnetwork is another network16:35
NobodyCamit should be getting a ip from vlan 100 but its attempting to use an ip from vlan8 : http://paste.openstack.org/show/K8jF2BmXOZnLlfjVtX5H/16:38
*** ttsiouts has quit IRC16:40
goldyfruitNobodyCam: When you create your Magnum template you have to specify the external network16:40
goldyfruitOption --external-network UUID16:40
NobodyCamyep I did!16:40
NobodyCamopenstack coe cluster template create k8s-test-fedora-27_5 --coe kubernetes --network-driver calico --docker-volume-size 6 --volume-driver cinder --flavor 223e626b-bc0e-43e1-9a0b-9d167e06355d --external-network b2b181e9-4cab-434f-84f7-54fef0b70483 --fixed-network 1bfcdfcd-224a-4aee-898e-9f0a2f3ab4a3 --fixed-subnet 12a1beb0-553d-429d-b98d-8a527255fda3 --keypair AdminSshKey --image PsFedora27WithHelm --public16:41
NobodyCam--labels kube_tag=v1.11.8,tiller_enabled=True,availability_zone=nova,calico_tag=v2.6.11,calico_cni_tag=v1.11.7,calico_kube_controllers_tag=v1.0.416:41
NobodyCamoh sorry for the large paste16:41
goldyfruitI'm using using these labels "tiller_enabled=True,availability_zone=nova"16:42
goldyfruitBut I got almost the same thing than your template16:42
goldyfruithttps://paste.api-zulu.com/raw/cicusiwilu16:43
NobodyCamoh. I see you have --master-lb-enabled16:44
goldyfruitThis options will create 2 LB for your Kubernetes cluster, 1 for etcd and 1 for the API16:45
goldyfruitDon't use this label with your version: heat_container_agent_tag=stein-dev16:46
goldyfruitNot sure of the impact16:46
goldyfruitPreviously we had to use heat_container_agent_tag=rawhide to be able to spawn a cluster16:47
goldyfruitBut we never got your issue16:47
goldyfruitb2b181e9-4cab-434f-84f7-54fef0b70483 is your floating IP network right ?16:47
NobodyCamyeppers16:48
NobodyCamI'n not at all understanding where the 130c6451-5f71-44f5-86f9-68fb44f1f01e network came from its not called for anywhere16:49
*** ricolin has quit IRC16:50
goldyfruitIn your octavia confiuration you have to put a network16:51
goldyfruitNothing in there related to this network ?16:51
goldyfruitWhat is this network 130c6451-5f71-44f5-86f9-68fb44f1f01e ?16:51
goldyfruitWhat is you remove this options "--fixed-network 1bfcdfcd-224a-4aee-898e-9f0a2f3ab4a3 --fixed-subnet 12a1beb0-553d-429d-b98d-8a527255fda3" and let Magnum create the private network ?16:53
NobodyCamI have not attempted that..16:54
NobodyCamlooking at the octavia conf I only see one network: it is the br-lbaas network: `amp_boot_network_list = bcda6bb9-f1bf-4fbe-b444-6f76c9346906`16:55
NobodyCamam I missing a octavia config?16:56
goldyfruitDon't think16:56
NobodyCamthe 130 network is just a vlan network not at all in user for this.16:59
brtknrNobodyCam: if you do `openstack floating ip list` what UUIDs are next to the IP assigned to your node/loadbalancer17:03
NobodyCamall from the correct network: http://paste.openstack.org/show/a3fc9Q8G1KHUPybcm2kY/17:05
goldyfruitThis network is public ?17:05
goldyfruitor private ?17:05
NobodyCampublic17:07
* NobodyCam verifies that17:07
NobodyCamoh | shared                    | False17:08
goldyfruitThat is ok17:09
goldyfruitrouter:external is set ?17:09
goldyfruitDHCP is disabled on the subnet ?17:10
NobodyCamdhcp is true: http://paste.openstack.org/show/TIRKCvnenyX00RC1cxf9/17:13
goldyfruithttps://docs.openstack.org/neutron/latest/admin/config-service-subnets.html#example-2-dvr-configuration17:19
goldyfruitShould be disabled17:19
goldyfruitForget about the --service-type 'network:floatingip'  part17:19
*** ramishra has quit IRC17:37
NobodyCamI'm defiantly not a go lang person but if I read this correctly the cloud-provider-openstack picks any external network???? https://github.com/kubernetes/cloud-provider-openstack/blob/b100f24bb0e4b70c71587e24cac6ae84ddfa77d4/pkg/cloudprovider/providers/openstack/openstack_loadbalancer.go#L77417:43
goldyfruitIt seems when multiple external network are detected it picks the first one17:47
goldyfruitBut only when no external network have been defined17:47
goldyfruitglog.V(4).Infof("find multiple external networks, pick the first one when there are no explicit configuration.")17:47
NobodyCamyea, I have several external networks for other VM workloads17:47
goldyfruitMagnum is using the version 0.2.0 of cloud provider (choose the correct tag when you look into the code)17:48
NobodyCamoh :p17:48
goldyfruitif externalNet.External { floatingNetworkIds = append(floatingNetworkIds, externalNet.ID) }17:50
goldyfruitIt should pick the network you specified17:51
goldyfruithttps://github.com/openstack/magnum/blob/stable/rocky/magnum/drivers/k8s_fedora_atomic_v1/templates/kubecluster.yaml#L329-L33617:52
*** ykarel|away has quit IRC18:16
*** zul has quit IRC18:23
*** hongbin has quit IRC19:15
*** hongbin has joined #openstack-containers19:28
*** pcaruana has quit IRC19:53
openstackgerritFeilong Wang proposed openstack/magnum master: Add cluster upgrade to the API  https://review.openstack.org/51495920:03
*** hongbin has quit IRC20:07
NobodyCamhey hey goldyfruit question is your lbaas-mgmt network marked as external?20:31
*** itlinux has quit IRC20:46
openstackgerritFeilong Wang proposed openstack/magnum master: Kubernetes images release  https://review.openstack.org/64824321:03
*** henriqueof has quit IRC21:07
*** jmlowe has quit IRC21:20
*** gsimondon has joined #openstack-containers21:33
goldyfruitNobodyCam: My lbaas-mgnt is a provider network21:37
goldyfruitMarked as internal21:37
NobodyCamack. :)21:38
NobodyCamI still can find where my system is getting that network id :p21:38
*** gsimondon has quit IRC21:40
*** alisanhaji has quit IRC21:40
*** gsimondon has joined #openstack-containers21:46
goldyfruit:(21:46
*** ivve has quit IRC21:50
*** itlinux has joined #openstack-containers22:14
*** jmlowe has joined #openstack-containers22:19
*** goldyfruit has quit IRC22:26
*** rcernin has joined #openstack-containers22:31
*** mrodriguez has quit IRC22:32
*** munimeha1 has quit IRC22:51
openstackgerritMerged openstack/magnum master: Kubernetes images release  https://review.openstack.org/64824323:12
*** gsimondon has quit IRC23:44

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!