Comments (5)
I can provide more information:
[root@localhost heartbeat]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:50:56:a2:06:ee brd ff:ff:ff:ff:ff:ff
inet 10.20.12.119/23 brd 10.20.13.255 scope global eth0
inet6 fe80::250:56ff:fea2:6ee/64 scope link
valid_lft forever preferred_lft forever
3: sit0: mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
src_sin6.sin6_family = AF_INET6;
src_sin6.sin6_addr = *src_ip;
src_sin6.sin6_port = 0;
//If I add src.sin6_scope_id=2 ,then It works fine
// if not ,then error to bind log from /var/log/message: localhost IPv6addr: [2240]: ERROR: bind() failed: Invalid argument
crm configure primitive test ocf:heartbeat:IPv6addr params ipv6addr="fe80:0000:0000:0000:0250:56ff:fea2:ff3" cidr_netmask="64" nic="eth0" op monitor timeout="15s" interval="15s ,I have specified the nic ,but it does not know i want to bind on eth0.
from resource-agents.
I noticed 3.9.1 fixed the payload intialized issue ,but still Invalid argument error log in /var/log/messages.
crm configure primitive test ocf:heartbeat:IPv6addr params ipv6addr="fe80:0000:0000:0000:0250:56ff:fea2:ff3" cidr_netmask="64" nic="eth0" op monitor timeout="15s" interval="15s
it can bind ipv6 address to adaptor properly,just show error log :
Nov 9 03:59:51 localhost IPv6addr: [3905]: ERROR: bind() failed: Invalid argument
Nov 9 03:59:55 localhost last message repeated 4 tim
if i add src.sin6_scope_id=2 ,then It works fine(it does not make sense to hardcoded this),i passed nic=etho in crm command ,but it still need to calculate the adaptor,Is there a good solution to fix this error log?
from resource-agents.
Will you try the following patch?
kskmori@66ee15c
If it's OK with you I will submit a pull request for it.
from resource-agents.
my log:
Nov 23 22:06:53 localhost attrd: [13238]: info: attrd_trigger_update: Sending flush op to all hosts for: last-failure-testbni_1 (1320650849)
Nov 23 22:06:53 localhost attrd: [13238]: info: attrd_ha_callback: flush message from localhost.localdomain
Nov 23 22:06:53 localhost attrd: [13238]: info: attrd_ha_callback: flush message from localhost.localdomain
Nov 23 22:06:55 localhost avahi-daemon[4080]: Registering new address record for fe80::56ff:fea2:fe3 on eth0.
Nov 23 22:06:55 localhost kernel: ICMPv6 NA: someone advertises our address on eth0!
Nov 23 22:06:59 localhost last message repeated 4 times
So there's no error log now.
from resource-agents.
Thanks to Keisuke-san!
from resource-agents.
Related Issues (20)
- mysql: variable master_host empty on slave reboot
- Are awsvip and awseip still supported resources agents for RHEL HA? HOT 2
- awsvip versus AWS Policy HOT 3
- nothing provides /bin/ps needed by resource-agents-4.11.0 HOT 1
- WARNING: Can't get <node-name> xlog location. HOT 6
- ZFS promotion not working HOT 10
- Occasional false positive "down" reports from IPv6addr "monitor" action
- ZFS can't migrate to other node (cannot open pool: no such pool) HOT 2
- ERROR: LXC container name not set! HOT 23
- How to use the parameter of monitor_script?
- Unable to get metadata for resource agent 'stonith:fence_watchdog' (SyntaxError:JSON.parse:unexpected character at line 1) HOT 2
- master-pgsql attribute disappear HOT 1
- AWS Pacemaker awsvip failing with different errors HOT 4
- Resource agent - AWS Lambda support HOT 2
- Postfix RA continuously fails validate check HOT 1
- iSCSITarget - don't create default portal HOT 4
- resource-agents/heartbeat/ZFS - '-f' to option HOT 1
- "ocf : heartbeat : docker" does not exists in resource-agent v4.10 HOT 1
- How can I create a galera resource with two nodes?
- Filesystem in RHEL9.3 takes considerably longer to complete its stop operation compared to RHEL9.2. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from resource-agents.